Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_EditableEntityInteraction Class Reference
Inheritance diagram for SCR_EditableEntityInteraction:
SCR_EditableAttachableEntityInteraction SCR_EditableCharacterInteraction SCR_EditableGroupInteraction SCR_EditableWaypointInteraction

Protected Member Functions

sealed bool CanSetParent (SCR_EditableEntityComponent parentEntity, EEditableEntityInteractionFlag interactionFlags=int.MAX)
bool CanSetParent (EEditableEntityType parentType, EEditableEntityFlag parentFlags, EEditableEntityInteractionFlag interactionFlags=int.MAX)
bool CanSetParent (SCR_EditableEntityComponent parentEntity, EEditableEntityType parentType, EEditableEntityFlag parentFlags, EEditableEntityInteractionFlag interactionFlags=int.MAX)
bool CanCreateParentFor (EEditableEntityType newLayerType, EEditableEntityFlag newLayerFlags, SCR_EditableEntityComponent parentEntity, bool CheckParentEntity=true)

Protected Attributes

bool m_bCanRefParent

Static Protected Attributes

static const int ROOT = -1

Detailed Description

Definition at line 2 of file SCR_EditableEntityInteraction.c.

Member Function Documentation

◆ CanCreateParentFor()

bool SCR_EditableEntityInteraction::CanCreateParentFor ( EEditableEntityType newLayerType,
EEditableEntityFlag newLayerFlags,
SCR_EditableEntityComponent parentEntity,
bool CheckParentEntity = true )
inlineprotected

Check if new layer can be created for entity

Parameters
EEditableEntityTypenew layer type
newLayerFlagsnew layer m_Flags
parentEntityparent entity
CheckParentEntityif should check if new layer can be added to parent
Returns
bool if the given layer can be created for the entity

Definition at line 76 of file SCR_EditableEntityInteraction.c.

◆ CanSetParent() [1/3]

bool SCR_EditableEntityInteraction::CanSetParent ( EEditableEntityType parentType,
EEditableEntityFlag parentFlags,
EEditableEntityInteractionFlag interactionFlags = int.MAX )
inlineprotected

Check if the entity can be moved to a parent with given params.

Parameters
parentTypeType of the new parent, use SCR_EditableEntityInteraction.ROOT if it§s root of editable entities.
parentFlagsFlags of the new parent \params interactionFlags Flags defining details about the interaction (all are enabled if undefined)
Returns
True if interaction is possible

Definition at line 38 of file SCR_EditableEntityInteraction.c.

◆ CanSetParent() [2/3]

sealed bool SCR_EditableEntityInteraction::CanSetParent ( SCR_EditableEntityComponent parentEntity,
EEditableEntityInteractionFlag interactionFlags = int.MAX )
inlineprotected

Check if the entity can be moved to intended parent.

Parameters
parentEntityNew parent. Null when evaluating root. \params interactionFlags Flags defining details about the interaction (all are enabled if undefined)
Returns
True if interaction is possible

Definition at line 14 of file SCR_EditableEntityInteraction.c.

◆ CanSetParent() [3/3]

bool SCR_EditableEntityInteraction::CanSetParent ( SCR_EditableEntityComponent parentEntity,
EEditableEntityType parentType,
EEditableEntityFlag parentFlags,
EEditableEntityInteractionFlag interactionFlags = int.MAX )
inlineprotected

Check if the entity can be moved to a parent with given params. Only called if m_bCanRefParent is set to true

Parameters
parentEntityNew parent. Null when evaluating root.
parentTypeType of the new parent, use SCR_EditableEntityInteraction.ROOT if it§s root of editable entities.
parentFlagsFlags of the new parent \params interactionFlags Flags defining details about the interaction (all are enabled if undefined)
Returns
True if interaction is possible

Definition at line 62 of file SCR_EditableEntityInteraction.c.

Member Data Documentation

◆ m_bCanRefParent

bool SCR_EditableEntityInteraction::m_bCanRefParent
protected

Definition at line 4 of file SCR_EditableEntityInteraction.c.

◆ ROOT

const int SCR_EditableEntityInteraction::ROOT = -1
staticprotected

Definition at line 6 of file SCR_EditableEntityInteraction.c.


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