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

Go to the source code of this file.

Data Structures

class  SCR_ScenarioFrameworkSlotBaseClass
 
class  SCR_ScenarioFrameworkActivationConditionBase
 

Functions

SCR_ScenarioFrameworkSlotBaseClass SCR_ScenarioFrameworkLayerBaseClass Attribute (params:"et", desc:"Resource name of the object to be spawned", category:"Asset")
 Get objects of type defined in m_sObjectToSpawn in the range. More...
 
void OnObjectDamage (EDamageState state)
 
void OnInventoryParentChanged (InventoryStorageSlot oldSlot, InventoryStorageSlot newSlot)
 
void OnCompartmentEntered (IEntity vehicle, BaseCompartmentManagerComponent mgr, IEntity occupant, int managerId, int slotID)
 
string GetOverridenObjectDisplayName ()
 
void SetOverridenObjectDisplayName (string name)
 
string GetSpawnedEntityDisplayName ()
 
protected bool GetEntity (notnull IEntity entity)
 Get object of type defined in m_sObjectToSpawn. More...
 
SCR_ScenarioFrameworkArea GetAreaWB ()
 Get the Layer Task which is parent of this Slot. More...
 
string GetSpawnedObjectName ()
 
ResourceName GetObjectToSpawn ()
 
ResourceName GetRandomlySpawnedObject ()
 
void SetRandomlySpawnedObject (ResourceName name)
 
override void RestoreToDefault (bool includeChildren=false, bool reinitAfterRestoration=false)
 
override void DynamicDespawn (SCR_ScenarioFrameworkLayerBase layer)
 
override void Init (SCR_ScenarioFrameworkArea area=null, SCR_ScenarioFrameworkEActivationType activation=SCR_ScenarioFrameworkEActivationType.SAME_AS_PARENT)
 
override void AfterAllChildrenSpawned (SCR_ScenarioFrameworkLayerBase layer)
 
ScriptInvoker GetOnAllAreasInitiatedInvoker ()
 
override void SpawnChildren (bool previouslyRandomized=false)
 
ResourceName GetRandomAsset (out ResourceName prefab)
 
IEntity SpawnAsset ()
 
void SCR_ScenarioFrameworkSlotBase (IEntityComponentSource src, IEntity ent, IEntity parent)
 
void ~SCR_ScenarioFrameworkSlotBase ()
 

Function Documentation

◆ AfterAllChildrenSpawned()

override void AfterAllChildrenSpawned ( SCR_ScenarioFrameworkLayerBase  layer)

Definition at line 404 of file SCR_ScenarioFrameworkSlotBase.c.

◆ Attribute()

SCR_ScenarioFrameworkSlotBaseClass SCR_ScenarioFrameworkLayerBaseClass Attribute ( params:"et"  ,
desc:"Resource name of the object to be spawned"  ,
category:"Asset"   
)

Get objects of type defined in m_sObjectToSpawn in the range.

Definition at line 8 of file SCR_ScenarioFrameworkSlotBase.c.

◆ DynamicDespawn()

override void DynamicDespawn ( SCR_ScenarioFrameworkLayerBase  layer)

Definition at line 259 of file SCR_ScenarioFrameworkSlotBase.c.

◆ GetAreaWB()

Get the Layer Task which is parent of this Slot.

Definition at line 204 of file SCR_ScenarioFrameworkSlotBase.c.

◆ GetEntity()

protected bool GetEntity ( notnull IEntity  entity)

Get object of type defined in m_sObjectToSpawn.

Definition at line 145 of file SCR_ScenarioFrameworkSlotBase.c.

◆ GetObjectToSpawn()

ResourceName GetObjectToSpawn ( )
Returns

Definition at line 229 of file SCR_ScenarioFrameworkSlotBase.c.

◆ GetOnAllAreasInitiatedInvoker()

ScriptInvoker GetOnAllAreasInitiatedInvoker ( )
Returns

Definition at line 426 of file SCR_ScenarioFrameworkSlotBase.c.

◆ GetOverridenObjectDisplayName()

string GetOverridenObjectDisplayName ( )
Returns

Definition at line 113 of file SCR_ScenarioFrameworkSlotBase.c.

◆ GetRandomAsset()

ResourceName GetRandomAsset ( out ResourceName  prefab)
Parameters
[out]prefab
Returns

Definition at line 448 of file SCR_ScenarioFrameworkSlotBase.c.

◆ GetRandomlySpawnedObject()

ResourceName GetRandomlySpawnedObject ( )
Returns

Definition at line 236 of file SCR_ScenarioFrameworkSlotBase.c.

◆ GetSpawnedEntityDisplayName()

string GetSpawnedEntityDisplayName ( )
Returns

Definition at line 128 of file SCR_ScenarioFrameworkSlotBase.c.

◆ GetSpawnedObjectName()

string GetSpawnedObjectName ( )
Returns

Definition at line 222 of file SCR_ScenarioFrameworkSlotBase.c.

◆ Init()

override void Init ( SCR_ScenarioFrameworkArea  area = null,
SCR_ScenarioFrameworkEActivationType  activation = SCR_ScenarioFrameworkEActivationType.SAME_AS_PARENT 
)

Definition at line 294 of file SCR_ScenarioFrameworkSlotBase.c.

◆ OnCompartmentEntered()

void OnCompartmentEntered ( IEntity  vehicle,
BaseCompartmentManagerComponent  mgr,
IEntity  occupant,
int  managerId,
int  slotID 
)
Parameters
[in]vehicle
[in]mgr
[in]occupant
[in]managerId
[in]slotID

Definition at line 105 of file SCR_ScenarioFrameworkSlotBase.c.

◆ OnInventoryParentChanged()

void OnInventoryParentChanged ( InventoryStorageSlot  oldSlot,
InventoryStorageSlot  newSlot 
)
Parameters
[in]oldSlot
[in]newSlot

Definition at line 90 of file SCR_ScenarioFrameworkSlotBase.c.

◆ OnObjectDamage()

void OnObjectDamage ( EDamageState  state)
Parameters
[in]state

Definition at line 67 of file SCR_ScenarioFrameworkSlotBase.c.

◆ RestoreToDefault()

override void RestoreToDefault ( bool  includeChildren = false,
bool  reinitAfterRestoration = false 
)

Definition at line 250 of file SCR_ScenarioFrameworkSlotBase.c.

◆ SCR_ScenarioFrameworkSlotBase()

void SCR_ScenarioFrameworkSlotBase ( IEntityComponentSource  src,
IEntity  ent,
IEntity  parent 
)
Parameters
[in]src
[in]ent
[in]parent

Definition at line 661 of file SCR_ScenarioFrameworkSlotBase.c.

◆ SetOverridenObjectDisplayName()

void SetOverridenObjectDisplayName ( string  name)
Parameters
[in]name

Definition at line 121 of file SCR_ScenarioFrameworkSlotBase.c.

◆ SetRandomlySpawnedObject()

void SetRandomlySpawnedObject ( ResourceName  name)
Parameters
[in]name

Definition at line 243 of file SCR_ScenarioFrameworkSlotBase.c.

◆ SpawnAsset()

IEntity SpawnAsset ( )
Returns

Definition at line 525 of file SCR_ScenarioFrameworkSlotBase.c.

◆ SpawnChildren()

override void SpawnChildren ( bool  previouslyRandomized = false)

Definition at line 441 of file SCR_ScenarioFrameworkSlotBase.c.

◆ ~SCR_ScenarioFrameworkSlotBase()

Definition at line 668 of file SCR_ScenarioFrameworkSlotBase.c.