Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_SlotCompositionComponent Class Reference

Entity composition which is supposed to fit into a slot. More...

Inheritance diagram for SCR_SlotCompositionComponent:
ScriptComponent

Protected Member Functions

ResourceName GetSlotPrefab ()
bool CanOrientChildrenToTerrain ()
void OrientToTerrain ()
void SetChildTransform (IEntity owner, BaseWorld world)
override void EOnInit (IEntity owner)
override void OnPostInit (IEntity owner)

Static Protected Member Functions

static void IgnoreOrientChildrenToTerrain ()
 Bool to disable the terrain snapping for next spawned composition.

Protected Attributes

GenericEntity m_Owner

Static Protected Attributes

static bool m_bIgnoreOrientChildrenToTerrain

Detailed Description

Entity composition which is supposed to fit into a slot.

Definition at line 44 of file SCR_SlotCompositionComponent.c.

Member Function Documentation

◆ CanOrientChildrenToTerrain()

bool SCR_SlotCompositionComponent::CanOrientChildrenToTerrain ( )
inlineprotected

Check if composition children should be snapped and oriented to terrain.

Returns
True if children are affected

Definition at line 64 of file SCR_SlotCompositionComponent.c.

◆ EOnInit()

override void SCR_SlotCompositionComponent::EOnInit ( IEntity owner)
inlineprotected

Definition at line 171 of file SCR_SlotCompositionComponent.c.

◆ GetSlotPrefab()

ResourceName SCR_SlotCompositionComponent::GetSlotPrefab ( )
inlineprotected

Get prefab of the slot to which the composition fits.

Returns
Slot prefab

Definition at line 52 of file SCR_SlotCompositionComponent.c.

◆ IgnoreOrientChildrenToTerrain()

void SCR_SlotCompositionComponent::IgnoreOrientChildrenToTerrain ( )
inlinestaticprotected

Bool to disable the terrain snapping for next spawned composition.

Definition at line 75 of file SCR_SlotCompositionComponent.c.

◆ OnPostInit()

override void SCR_SlotCompositionComponent::OnPostInit ( IEntity owner)
inlineprotected

Definition at line 188 of file SCR_SlotCompositionComponent.c.

◆ OrientToTerrain()

void SCR_SlotCompositionComponent::OrientToTerrain ( )
inlineprotected

Orient composition and its children to terrain. Applied only if "Can Orient Children To Terrain" attribute is enabled.

Definition at line 83 of file SCR_SlotCompositionComponent.c.

◆ SetChildTransform()

void SCR_SlotCompositionComponent::SetChildTransform ( IEntity owner,
BaseWorld world )
inlineprotected

Definition at line 95 of file SCR_SlotCompositionComponent.c.

Member Data Documentation

◆ m_bIgnoreOrientChildrenToTerrain

bool SCR_SlotCompositionComponent::m_bIgnoreOrientChildrenToTerrain
staticprotected

Definition at line 47 of file SCR_SlotCompositionComponent.c.

◆ m_Owner

GenericEntity SCR_SlotCompositionComponent::m_Owner
protected

Definition at line 46 of file SCR_SlotCompositionComponent.c.


The documentation for this class was generated from the following file: