Arma Reforger Explorer
1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Go to the source code of this file.
Data Structures | |
class | SCR_EntitySpawnerSlotComponentClass |
Enumerations | |
enum | SCR_EEntitySpawnerSlotType { GROUP_SMALL = 1 << 0, GROUP_MEDIUM = 1 << 1, GROUP_BIG = 1 << 2, VEHICLE_SMALL = 1 << 3, VEHICLE_MEDIUM = 1 << 4, VEHICLE_LARGE = 1 << 5 } |
Functions | |
bool | IsEntityLabelInRange (notnull SCR_EntityLabelPointComponent labelComp) |
void | SetRallyPoint (notnull SCR_EntityLabelPointComponent labelComp) |
SCR_EntityLabelPointComponent | GetRallyPoint () |
SCR_EEntitySpawnerSlotType | GetSlotType () |
bool | IsOccupied () |
Returns true, if slot is occupied. More... | |
void | MoveCharactersFromSlot () |
Moves away all characters from slot, if there is suitable empty position in vicinity. More... | |
int | GetCharactersInSlot (out array< ChimeraCharacter > characterArray) |
protected void | FillExcludedEntities () |
protected bool | CharacterFoundCallback (IEntity ent) |
protected bool | FilterCharactersCallback (IEntity ent) |
protected bool | TraceCallback (IEntity ent) |
protected bool | IsEntityDestroyed (IEntity entity) |
protected void | OnRallyPointUpdated () |
Called when Rally Point gets moved. More... | |
protected bool | RallyPointSearchCallback (IEntity ent) |
Callback for Query in GetRallyPoint. Returns false, once SCR_EntityLabelPointComponent matching parameters was found (And thus ending query) More... | |
override void | EOnInit (IEntity owner) |
override void | OnPostInit (IEntity owner) |
Called on PostInit when all components are added. More... | |
void | ~SCR_EntitySpawnerSlotComponent () |
Variables | |
SCR_EntitySpawnerSlotComponentClass | m_RplComponent |
Specifies slot to be used with nearby Entity Spawner Components. More... | |
protected SCR_SpawnerSlotManager | m_SlotManager |
protected SCR_EntityLabelPointComponent | m_RallyPointLabelComponent |
protected ref array< ChimeraCharacter > | m_aCharacterArray |
protected ref array< IEntity > | m_aExcludedEntities |
Enumerator | |
---|---|
GROUP_SMALL | |
GROUP_MEDIUM | |
GROUP_BIG | |
VEHICLE_SMALL | |
VEHICLE_MEDIUM | |
VEHICLE_LARGE |
Definition at line 458 of file SCR_EntitySpawnerSlotComponent.c.
protected bool CharacterFoundCallback | ( | IEntity | ent | ) |
Callback used in GetCharacterInSlot for query. Adds living ChimeraCharacters into array.
[in] | ent |
Definition at line 277 of file SCR_EntitySpawnerSlotComponent.c.
protected void FillExcludedEntities | ( | ) |
Definition at line 247 of file SCR_EntitySpawnerSlotComponent.c.
protected bool FilterCharactersCallback | ( | IEntity | ent | ) |
Filtering used in GetCharacterInSlot for query
Definition at line 292 of file SCR_EntitySpawnerSlotComponent.c.
int GetCharactersInSlot | ( | out array< ChimeraCharacter > | characterArray | ) |
Get all ChimeraCharacters in slot. Returns count.
[in] | characterArray | outs array containing all ChimeraCharacters in slot |
Definition at line 229 of file SCR_EntitySpawnerSlotComponent.c.
SCR_EntityLabelPointComponent GetRallyPoint | ( | ) |
Get Assigned Rally point. If there is none, Slot will try to find new one.
Definition at line 114 of file SCR_EntitySpawnerSlotComponent.c.
SCR_EEntitySpawnerSlotType GetSlotType | ( | ) |
Definition at line 128 of file SCR_EntitySpawnerSlotComponent.c.
protected bool IsEntityDestroyed | ( | IEntity | entity | ) |
Definition at line 333 of file SCR_EntitySpawnerSlotComponent.c.
bool IsEntityLabelInRange | ( | notnull SCR_EntityLabelPointComponent | labelComp | ) |
Returns true, if SCR_EntityLabelPointComponent is in range defined by m_fMaxRallyPointDistance
[in] | labelComp |
Definition at line 88 of file SCR_EntitySpawnerSlotComponent.c.
bool IsOccupied | ( | ) |
Returns true, if slot is occupied.
Definition at line 139 of file SCR_EntitySpawnerSlotComponent.c.
void MoveCharactersFromSlot | ( | ) |
Moves away all characters from slot, if there is suitable empty position in vicinity.
Definition at line 165 of file SCR_EntitySpawnerSlotComponent.c.
protected void OnRallyPointUpdated | ( | ) |
Called when Rally Point gets moved.
Definition at line 344 of file SCR_EntitySpawnerSlotComponent.c.
protected bool RallyPointSearchCallback | ( | IEntity | ent | ) |
Callback for Query in GetRallyPoint. Returns false, once SCR_EntityLabelPointComponent matching parameters was found (And thus ending query)
Definition at line 356 of file SCR_EntitySpawnerSlotComponent.c.
void SetRallyPoint | ( | notnull SCR_EntityLabelPointComponent | labelComp | ) |
Assign labelComponent to be used as Rally Point. If component owner isn't in range, Rally point won't be assigned
[in] | labelComp |
Definition at line 102 of file SCR_EntitySpawnerSlotComponent.c.
protected bool TraceCallback | ( | IEntity | ent | ) |
Callback for TracePosition in IsOccupied. Can be overridden to implement custom conditions for checks in traces
[in] | ent |
Definition at line 303 of file SCR_EntitySpawnerSlotComponent.c.
void ~SCR_EntitySpawnerSlotComponent | ( | ) |
Definition at line 407 of file SCR_EntitySpawnerSlotComponent.c.
protected ref array<ChimeraCharacter> m_aCharacterArray |
Definition at line 81 of file SCR_EntitySpawnerSlotComponent.c.
protected ref array<IEntity> m_aExcludedEntities |
Definition at line 82 of file SCR_EntitySpawnerSlotComponent.c.
protected SCR_EntityLabelPointComponent m_RallyPointLabelComponent |
Definition at line 80 of file SCR_EntitySpawnerSlotComponent.c.
SCR_EntitySpawnerSlotComponentClass m_RplComponent |
Specifies slot to be used with nearby Entity Spawner Components.
protected SCR_SpawnerSlotManager m_SlotManager |
Definition at line 79 of file SCR_EntitySpawnerSlotComponent.c.