Arma Reforger Script API
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
SCR_EditableAttachableEntityInteraction Interface Reference
Inheritance diagram for SCR_EditableAttachableEntityInteraction:
[legend]

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
sealed 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 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.
 
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< EEditableEntityTypem_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
 

Constructor & Destructor Documentation

◆ SCR_EditableAttachableEntityInteraction()

void SCR_EditableAttachableEntityInteraction.SCR_EditableAttachableEntityInteraction ( )

Member Function Documentation

◆ CanSetParent()

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

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

Implements SCR_EditableEntityInteraction.

Member Data Documentation

◆ m_aAttachableTypes

ref array<EEditableEntityType> SCR_EditableAttachableEntityInteraction.m_aAttachableTypes
protected

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