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

Public Member Functions

override bool CanSetParent (EEditableEntityType parentType, EEditableEntityFlag parentFlags, EEditableEntityInteractionFlag interactionFlags=int.MAX)
 Check if the entity can be moved to a parent with given params.
 
- 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.
 

Additional Inherited Members

- Static Public Attributes inherited from SCR_EditableEntityInteraction
static const int ROOT = -1
 
- Protected Attributes inherited from SCR_EditableEntityInteraction
bool m_bCanRefParent
 

Member Function Documentation

◆ CanSetParent()

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

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

Implements SCR_EditableEntityInteraction.


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