Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_EntityHelper.c File Reference

Go to the source code of this file.

Data Structures

class  SCR_EntityHelper
 

Enumerations

enum  SCR_EComponentFinderQueryFlags {
  ENTITY = 1 << 0, SLOTS = 1 << 1, CHILDREN = 1 << 2, PARENT = 1 << 3,
  PARENT_SLOTS = 1 << 4, ROOT_PARENT = 1 << 5, ROOT_PARENT_SLOTS = 1 << 6, SIBLINGS = 1 << 7
}
 Used for component finding to know where it can search to get the given component. More...
 

Functions

class SCR_EntityHelper GetEntityInHierarchy (notnull IEntity parent)
 

Variables

enum SCR_EComponentFinderQueryFlags GetEntityInHierarchy
 

Enumeration Type Documentation

◆ SCR_EComponentFinderQueryFlags

Used for component finding to know where it can search to get the given component.

Enumerator
ENTITY 

Find on entity itself.

SLOTS 

Find in SlotManagerComponent.

CHILDREN 

Find on children of entity.

PARENT 

Find on parent of entity.

PARENT_SLOTS 

Find in SlotManagerComponent of parent.

ROOT_PARENT 

Find on Root parent of entity.

ROOT_PARENT_SLOTS 

Find in SlotManagerComponent of root parent.

SIBLINGS 

Find on Siblings in hierarchy.

Definition at line 424 of file SCR_EntityHelper.c.

Function Documentation

◆ GetEntityInHierarchy()

class SCR_EntityHelper GetEntityInHierarchy ( notnull IEntity  parent)

Search for an entity of given type in hierarchy of provided parent

Parameters
parent
Returns
the found entity or null if not found

Definition at line 407 of file SCR_EntityHelper.c.

Variable Documentation

◆ GetEntityInHierarchy

enum SCR_EComponentFinderQueryFlags GetEntityInHierarchy