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

Public Member Functions

OnCompsitionSlotManagerEntityChanged GetOnEntityChanged ()
 
void SetOccupant (IEntity slot, IEntity occupant)
 
void SetOccupant (vector pos, IEntity occupant)
 
IEntity GetOccupant (IEntity slot)
 
bool IsOccupied (IEntity slot)
 
IEntity GetSlot (IEntity occupant)
 
bool IsInSlot (IEntity occupant)
 
override bool RplSave (ScriptBitWriter writer)
 
override bool RplLoad (ScriptBitReader reader)
 
override void OnPostInit (IEntity owner)
 
override void OnDelete (IEntity owner)
 

Static Public Member Functions

static SCR_CompositionSlotManagerComponent GetInstance ()
 

Protected Member Functions

void SetOccupiedStatic (EntityID slotID, bool isOccupied, IEntity occupant)
 
void SetOccupiedStaticBroadcast (EntityID slotID, bool isOccupied)
 
void SetOccupiedDynamic (RplId slotID, bool isOccupied, IEntity occupant)
 
void SetOccupiedDynamicBroadcast (RplId slotID, bool isOccupied)
 
bool ModifyArray (EntityID slotID, bool isOccupied, IEntity occupant)
 
bool ModifyArray (RplId slotID, bool isOccupied, IEntity occupant)
 
void UpdateSlot (IEntity slot, bool isOccupied)
 
void OnEntityChanged (SCR_EditableEntityComponent entity)
 
bool QueryEntity (IEntity entity)
 

Protected Attributes

ref map< EntityID, IEntity > m_aOccupiedStatic = new map<EntityID, IEntity>()
 
ref map< RplId, IEntity > m_aOccupiedDynamic = new map<RplId, IEntity>()
 
ref array< IEntity > m_aQueriedEntities
 
ref OnCompsitionSlotManagerEntityChanged m_OnEntityChanged
 

Member Function Documentation

◆ GetInstance()

static SCR_CompositionSlotManagerComponent SCR_CompositionSlotManagerComponent.GetInstance ( )
static
Returns

◆ GetOccupant()

IEntity SCR_CompositionSlotManagerComponent.GetOccupant ( IEntity  slot)
Parameters
[in]slot
Returns

◆ GetOnEntityChanged()

OnCompsitionSlotManagerEntityChanged SCR_CompositionSlotManagerComponent.GetOnEntityChanged ( )
Returns

◆ GetSlot()

IEntity SCR_CompositionSlotManagerComponent.GetSlot ( IEntity  occupant)
Parameters
[in]occupant
Returns

◆ IsInSlot()

bool SCR_CompositionSlotManagerComponent.IsInSlot ( IEntity  occupant)
Parameters
[in]occupant
Returns

◆ IsOccupied()

bool SCR_CompositionSlotManagerComponent.IsOccupied ( IEntity  slot)
Parameters
[in]slot
Returns

◆ ModifyArray() [1/2]

bool SCR_CompositionSlotManagerComponent.ModifyArray ( EntityID  slotID,
bool  isOccupied,
IEntity  occupant 
)
protected

◆ ModifyArray() [2/2]

bool SCR_CompositionSlotManagerComponent.ModifyArray ( RplId  slotID,
bool  isOccupied,
IEntity  occupant 
)
protected

◆ OnDelete()

override void SCR_CompositionSlotManagerComponent.OnDelete ( IEntity  owner)

◆ OnEntityChanged()

void SCR_CompositionSlotManagerComponent.OnEntityChanged ( SCR_EditableEntityComponent  entity)
protected

◆ OnPostInit()

override void SCR_CompositionSlotManagerComponent.OnPostInit ( IEntity  owner)

◆ QueryEntity()

bool SCR_CompositionSlotManagerComponent.QueryEntity ( IEntity  entity)
protected

◆ RplLoad()

override bool SCR_CompositionSlotManagerComponent.RplLoad ( ScriptBitReader  reader)

◆ RplSave()

override bool SCR_CompositionSlotManagerComponent.RplSave ( ScriptBitWriter  writer)

◆ SetOccupant() [1/2]

void SCR_CompositionSlotManagerComponent.SetOccupant ( IEntity  slot,
IEntity  occupant 
)
Parameters
[in]slot
[in]occupant

◆ SetOccupant() [2/2]

void SCR_CompositionSlotManagerComponent.SetOccupant ( vector  pos,
IEntity  occupant 
)
Parameters
[in]pos
[in]occupant

◆ SetOccupiedDynamic()

void SCR_CompositionSlotManagerComponent.SetOccupiedDynamic ( RplId  slotID,
bool  isOccupied,
IEntity  occupant 
)
protected

◆ SetOccupiedDynamicBroadcast()

void SCR_CompositionSlotManagerComponent.SetOccupiedDynamicBroadcast ( RplId  slotID,
bool  isOccupied 
)
protected

◆ SetOccupiedStatic()

void SCR_CompositionSlotManagerComponent.SetOccupiedStatic ( EntityID  slotID,
bool  isOccupied,
IEntity  occupant 
)
protected

◆ SetOccupiedStaticBroadcast()

void SCR_CompositionSlotManagerComponent.SetOccupiedStaticBroadcast ( EntityID  slotID,
bool  isOccupied 
)
protected

◆ UpdateSlot()

void SCR_CompositionSlotManagerComponent.UpdateSlot ( IEntity  slot,
bool  isOccupied 
)
protected

Member Data Documentation

◆ m_aOccupiedDynamic

ref map<RplId, IEntity> SCR_CompositionSlotManagerComponent.m_aOccupiedDynamic = new map<RplId, IEntity>()
protected

◆ m_aOccupiedStatic

ref map<EntityID, IEntity> SCR_CompositionSlotManagerComponent.m_aOccupiedStatic = new map<EntityID, IEntity>()
protected

◆ m_aQueriedEntities

ref array<IEntity> SCR_CompositionSlotManagerComponent.m_aQueriedEntities
protected

◆ m_OnEntityChanged

ref OnCompsitionSlotManagerEntityChanged SCR_CompositionSlotManagerComponent.m_OnEntityChanged
protected

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