|
Arma Reforger Script API
|
Public Member Functions | |
| override bool | CanSetParent (SCR_EditableEntityComponent parentEntity, EEditableEntityType parentType, EEditableEntityFlag parentFlags, EEditableEntityInteractionFlag interactionFlags=int.MAX) |
| Check if the entity can be moved to a parent with given params. | |
| void | SCR_EditableAttachableEntityInteraction () |
Public Member Functions inherited from SCR_EditableEntityInteraction | |
| bool | CanSetParent (SCR_EditableEntityComponent parentEntity, EEditableEntityInteractionFlag interactionFlags=int.MAX) |
| Check if the entity can be moved to intended parent. | |
| bool | CanSetParent (EEditableEntityType parentType, EEditableEntityFlag parentFlags, EEditableEntityInteractionFlag interactionFlags=int.MAX) |
| Check if the entity can be moved to a parent with given params. | |
| bool | CanCreateParentFor (EEditableEntityType newLayerType, EEditableEntityFlag newLayerFlags, SCR_EditableEntityComponent parentEntity, bool CheckParentEntity=true) |
| Check if new layer can be created for entity. | |
Protected Attributes | |
| ref array< EEditableEntityType > | m_aAttachableTypes |
Protected Attributes inherited from SCR_EditableEntityInteraction | |
| bool | m_bCanRefParent |
Additional Inherited Members | |
Static Public Attributes inherited from SCR_EditableEntityInteraction | |
| static const int | ROOT = -1 |
| void SCR_EditableAttachableEntityInteraction.SCR_EditableAttachableEntityInteraction | ( | ) |
| override bool SCR_EditableAttachableEntityInteraction.CanSetParent | ( | SCR_EditableEntityComponent | parentEntity, |
| EEditableEntityType | parentType, | ||
| EEditableEntityFlag | parentFlags, | ||
| EEditableEntityInteractionFlag | interactionFlags = int::MAX ) |
Check if the entity can be moved to a parent with given params.
Only called if m_bCanRefParent is set to true
| parentEntity | New parent. Null when evaluating root. |
| parentType | Type of the new parent, use SCR_EditableEntityInteraction.ROOT if it§s root of editable entities. |
| parentFlags | Flags of the new parent \params interactionFlags Flags defining details about the interaction (all are enabled if undefined) |
Implements SCR_EditableEntityInteraction.
|
protected |