Arma Reforger Script API
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
SCR_SpawnerSlotManager Interface Reference

Class used for managing changes and removals of slots present in world. More...

Inheritance diagram for SCR_SpawnerSlotManager:
[legend]

Public Member Functions

ScriptInvoker GetOnSlotCreated ()
 
ScriptInvoker GetOnSlotRemoved ()
 
ScriptInvoker GetOnSlotUpdated ()
 
void RegisterSlot (SCR_EntitySpawnerSlotComponent slot)
 
void UnregisterSlot (notnull SCR_EntitySpawnerSlotComponent slot)
 
void OnSlotUpdated (notnull SCR_EditableEntityComponent editableComponent)
 
void ~SCR_SpawnerSlotManager ()
 

Static Public Member Functions

static SCR_SpawnerSlotManager GetInstance ()
 

Protected Member Functions

void SetupSlotUpdatedInvoker ()
 
override void EOnInit (IEntity owner)
 

Protected Attributes

ref array< SCR_EntitySpawnerSlotComponentm_aSlots = {}
 
SCR_EditableEntityCore m_EditableEntityCore
 
ref ScriptInvoker m_OnSlotCreated
 
ref ScriptInvoker m_OnSlotRemoved
 
ref ScriptInvoker m_OnSlotUpdated
 

Static Protected Attributes

static SCR_SpawnerSlotManager s_Instance
 

Detailed Description

Class used for managing changes and removals of slots present in world.

Constructor & Destructor Documentation

◆ ~SCR_SpawnerSlotManager()

void SCR_SpawnerSlotManager.~SCR_SpawnerSlotManager ( )

Member Function Documentation

◆ EOnInit()

override void SCR_SpawnerSlotManager.EOnInit ( IEntity  owner)
protected

◆ GetInstance()

static SCR_SpawnerSlotManager SCR_SpawnerSlotManager.GetInstance ( )
static
Returns
the SCR_SpawnerSlotManager instance - cannot be null

◆ GetOnSlotCreated()

ScriptInvoker SCR_SpawnerSlotManager.GetOnSlotCreated ( )
Returns

◆ GetOnSlotRemoved()

ScriptInvoker SCR_SpawnerSlotManager.GetOnSlotRemoved ( )
Returns

◆ GetOnSlotUpdated()

ScriptInvoker SCR_SpawnerSlotManager.GetOnSlotUpdated ( )
Returns

◆ OnSlotUpdated()

void SCR_SpawnerSlotManager.OnSlotUpdated ( notnull SCR_EditableEntityComponent  editableComponent)
Parameters
[in]editableComponent

◆ RegisterSlot()

void SCR_SpawnerSlotManager.RegisterSlot ( SCR_EntitySpawnerSlotComponent  slot)
Parameters
[in]slot

◆ SetupSlotUpdatedInvoker()

void SCR_SpawnerSlotManager.SetupSlotUpdatedInvoker ( )
protected

◆ UnregisterSlot()

void SCR_SpawnerSlotManager.UnregisterSlot ( notnull SCR_EntitySpawnerSlotComponent  slot)
Parameters
[in]slot

Member Data Documentation

◆ m_aSlots

ref array<SCR_EntitySpawnerSlotComponent> SCR_SpawnerSlotManager.m_aSlots = {}
protected

◆ m_EditableEntityCore

SCR_EditableEntityCore SCR_SpawnerSlotManager.m_EditableEntityCore
protected

◆ m_OnSlotCreated

ref ScriptInvoker SCR_SpawnerSlotManager.m_OnSlotCreated
protected

◆ m_OnSlotRemoved

ref ScriptInvoker SCR_SpawnerSlotManager.m_OnSlotRemoved
protected

◆ m_OnSlotUpdated

ref ScriptInvoker SCR_SpawnerSlotManager.m_OnSlotUpdated
protected

◆ s_Instance

SCR_SpawnerSlotManager SCR_SpawnerSlotManager.s_Instance
staticprotected

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