Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_CompositionSlotManagerComponent.c File Reference

Go to the source code of this file.

Classes

class  SCR_CompositionSlotManagerComponentClass

Typedefs

typedef func OnCompositionSlotManagerEntityChangedMethod
typedef ScriptInvokerBase< OnCompositionSlotManagerEntityChangedMethodOnCompsitionSlotManagerEntityChanged

Functions

void OnCompositionSlotManagerEntityChangedMethod (SCR_CompositionSlotManagerComponent slotManager, IEntity slot)
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)
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)
override bool RplSave (ScriptBitWriter writer)
override bool RplLoad (ScriptBitReader reader)
override void OnPostInit (IEntity owner)
 Editable Mine.
override void OnDelete (IEntity owner)

Variables

SCR_CompositionSlotManagerComponentClass EntityID
SCR_CompositionSlotManagerComponentClass m_aOccupiedStatic = new map<EntityID, IEntity>()
ref map< RplId, IEntitym_aOccupiedDynamic = new map<RplId, IEntity>()
ref array< IEntitym_aQueriedEntities
ref OnCompsitionSlotManagerEntityChanged m_OnEntityChanged

Typedef Documentation

◆ OnCompositionSlotManagerEntityChangedMethod

◆ OnCompsitionSlotManagerEntityChanged

Function Documentation

◆ GetOccupant()

IEntity GetOccupant ( IEntity slot)
protected
Parameters
[in]slot
Returns

Definition at line 72 of file SCR_CompositionSlotManagerComponent.c.

◆ GetOnEntityChanged()

OnCompsitionSlotManagerEntityChanged GetOnEntityChanged ( )
protected
Returns

Definition at line 20 of file SCR_CompositionSlotManagerComponent.c.

◆ GetSlot()

IEntity GetSlot ( IEntity occupant)
protected
Parameters
[in]occupant
Returns

Definition at line 100 of file SCR_CompositionSlotManagerComponent.c.

◆ IsInSlot()

bool IsInSlot ( IEntity occupant)
protected
Parameters
[in]occupant
Returns

Definition at line 120 of file SCR_CompositionSlotManagerComponent.c.

◆ IsOccupied()

bool IsOccupied ( IEntity slot)
protected
Parameters
[in]slot
Returns

Definition at line 88 of file SCR_CompositionSlotManagerComponent.c.

◆ ModifyArray() [1/2]

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

Definition at line 172 of file SCR_CompositionSlotManagerComponent.c.

◆ ModifyArray() [2/2]

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

Definition at line 196 of file SCR_CompositionSlotManagerComponent.c.

◆ OnCompositionSlotManagerEntityChangedMethod()

void OnCompositionSlotManagerEntityChangedMethod ( SCR_CompositionSlotManagerComponent slotManager,
IEntity slot )

◆ OnDelete()

override void OnDelete ( IEntity owner)
protected

Definition at line 340 of file SCR_CompositionSlotManagerComponent.c.

◆ OnEntityChanged()

void OnEntityChanged ( SCR_EditableEntityComponent entity)
protected

Definition at line 241 of file SCR_CompositionSlotManagerComponent.c.

◆ QueryEntity()

bool QueryEntity ( IEntity entity)
protected

Definition at line 267 of file SCR_CompositionSlotManagerComponent.c.

◆ RplLoad()

override bool RplLoad ( ScriptBitReader reader)
protected

Definition at line 301 of file SCR_CompositionSlotManagerComponent.c.

◆ RplSave()

override bool RplSave ( ScriptBitWriter writer)
protected

Definition at line 281 of file SCR_CompositionSlotManagerComponent.c.

◆ SetOccupant() [1/2]

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

Definition at line 41 of file SCR_CompositionSlotManagerComponent.c.

◆ SetOccupant() [2/2]

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

Definition at line 56 of file SCR_CompositionSlotManagerComponent.c.

◆ SetOccupiedDynamic()

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

Definition at line 156 of file SCR_CompositionSlotManagerComponent.c.

◆ SetOccupiedDynamicBroadcast()

void SetOccupiedDynamicBroadcast ( RplId slotID,
bool isOccupied )
protected

Definition at line 164 of file SCR_CompositionSlotManagerComponent.c.

◆ SetOccupiedStatic()

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

Definition at line 140 of file SCR_CompositionSlotManagerComponent.c.

◆ SetOccupiedStaticBroadcast()

void SetOccupiedStaticBroadcast ( EntityID slotID,
bool isOccupied )
protected

Definition at line 148 of file SCR_CompositionSlotManagerComponent.c.

◆ UpdateSlot()

void UpdateSlot ( IEntity slot,
bool isOccupied )
protected

Definition at line 220 of file SCR_CompositionSlotManagerComponent.c.

Variable Documentation

◆ EntityID

◆ m_aOccupiedDynamic

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

Definition at line 13 of file SCR_CompositionSlotManagerComponent.c.

◆ m_aOccupiedStatic

◆ m_aQueriedEntities

ref array<IEntity> m_aQueriedEntities
protected

Definition at line 14 of file SCR_CompositionSlotManagerComponent.c.

◆ m_OnEntityChanged

ref OnCompsitionSlotManagerEntityChanged m_OnEntityChanged
protected

Definition at line 16 of file SCR_CompositionSlotManagerComponent.c.