Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_MPDestructionManager Class Reference
Inheritance diagram for SCR_MPDestructionManager:
GenericEntity

Protected Member Functions

bool IsProxy ()
 Checks if this entity is locally owned.
void DestroyDelayed ()
void DestroyInFrame (SCR_DestructionBaseHandler handler)
override bool RplLoad (ScriptBitReader reader)
 Called when Item is initialized from replication stream. Carries the data from Master.
override bool RplSave (ScriptBitWriter writer)
 Called when Item is getting replicated from Master to Slave connection. The data will be delivered to Slave using RplLoad method.
SCR_AudioSourceConfiguration GetAudioSourceConfiguration ()
override void EOnFrame (IEntity owner, float timeSlice)
override void EOnInit (IEntity owner)
int RegisterDynamicallySpawnedDestructible (notnull SCR_DestructionDamageManagerComponent destructible, RplId rplId)
SCR_DestructionDamageManagerComponent FindDynamicallySpawnedDestructibleByIndex (RplId rplId, int index)
int FindDynamicallySpawnedDestructibleIndex (RplId rplId, SCR_DestructionDamageManagerComponent destructible)
void RegisterDeletedDynamicallySpawnedDestructible (notnull SCR_DestructionDamageManagerComponent destructible, RplId rplId)
void RegisterChangedDynamicallySpawnedDestructible (notnull SCR_DestructionDamageManagerComponent destructible, RplId rplId)
void SCR_MPDestructionManager (IEntitySource src, IEntity parent)
void ~SCR_MPDestructionManager ()

Static Protected Member Functions

static bool IsInitialized ()
static notnull SCR_MPDestructionManager InitializeDestructionManager ()
static SCR_MPDestructionManager GetInstance ()
 Returns the instance of the destruction manager.

Protected Attributes

ref array< EntityIDm_ChangedDestructibles = new array<EntityID>()
ref array< EntityIDm_DeletedDestructibles = new array<EntityID>()
ref map< RplId, ref array< SCR_DestructionDamageManagerComponent > > m_mDynamicallySpawnedDestructibles = new map<RplId, ref array<SCR_DestructionDamageManagerComponent>>()
ref map< RplId, ref array< int > > m_mChangedDynamicallySpawnedDestructibles = new map<RplId, ref array<int>>()
ref map< RplId, ref array< int > > m_mDeletedDynamicallySpawnedDestructibles = new map<RplId, ref array<int>>()
ref array< SCR_DestructionBaseHandlerm_aDestroyInFrame = {}
RplComponent m_RplComponent

Detailed Description

Definition at line 103 of file SCR_MPDestructionManager.c.

Constructor & Destructor Documentation

◆ SCR_MPDestructionManager()

void SCR_MPDestructionManager::SCR_MPDestructionManager ( IEntitySource src,
IEntity parent )
inlineprotected

Definition at line 368 of file SCR_MPDestructionManager.c.

◆ ~SCR_MPDestructionManager()

void SCR_MPDestructionManager::~SCR_MPDestructionManager ( )
inlineprotected

Definition at line 380 of file SCR_MPDestructionManager.c.

Member Function Documentation

◆ DestroyDelayed()

void SCR_MPDestructionManager::DestroyDelayed ( )
inlineprotected

Definition at line 164 of file SCR_MPDestructionManager.c.

◆ DestroyInFrame()

void SCR_MPDestructionManager::DestroyInFrame ( SCR_DestructionBaseHandler handler)
inlineprotected

Definition at line 177 of file SCR_MPDestructionManager.c.

◆ EOnFrame()

override void SCR_MPDestructionManager::EOnFrame ( IEntity owner,
float timeSlice )
inlineprotected

Definition at line 285 of file SCR_MPDestructionManager.c.

◆ EOnInit()

override void SCR_MPDestructionManager::EOnInit ( IEntity owner)
inlineprotected

Definition at line 292 of file SCR_MPDestructionManager.c.

◆ FindDynamicallySpawnedDestructibleByIndex()

SCR_DestructionDamageManagerComponent SCR_MPDestructionManager::FindDynamicallySpawnedDestructibleByIndex ( RplId rplId,
int index )
inlineprotected

Definition at line 311 of file SCR_MPDestructionManager.c.

◆ FindDynamicallySpawnedDestructibleIndex()

int SCR_MPDestructionManager::FindDynamicallySpawnedDestructibleIndex ( RplId rplId,
SCR_DestructionDamageManagerComponent destructible )
inlineprotected

Definition at line 324 of file SCR_MPDestructionManager.c.

◆ GetAudioSourceConfiguration()

SCR_AudioSourceConfiguration SCR_MPDestructionManager::GetAudioSourceConfiguration ( )
inlineprotected

Definition at line 279 of file SCR_MPDestructionManager.c.

◆ GetInstance()

SCR_MPDestructionManager SCR_MPDestructionManager::GetInstance ( )
inlinestaticprotected

Returns the instance of the destruction manager.

Definition at line 151 of file SCR_MPDestructionManager.c.

◆ InitializeDestructionManager()

notnull SCR_MPDestructionManager SCR_MPDestructionManager::InitializeDestructionManager ( )
inlinestaticprotected

Definition at line 131 of file SCR_MPDestructionManager.c.

◆ IsInitialized()

bool SCR_MPDestructionManager::IsInitialized ( )
inlinestaticprotected

Definition at line 125 of file SCR_MPDestructionManager.c.

◆ IsProxy()

bool SCR_MPDestructionManager::IsProxy ( )
inlineprotected

Checks if this entity is locally owned.

Definition at line 158 of file SCR_MPDestructionManager.c.

◆ RegisterChangedDynamicallySpawnedDestructible()

void SCR_MPDestructionManager::RegisterChangedDynamicallySpawnedDestructible ( notnull SCR_DestructionDamageManagerComponent destructible,
RplId rplId )
inlineprotected

Definition at line 351 of file SCR_MPDestructionManager.c.

◆ RegisterDeletedDynamicallySpawnedDestructible()

void SCR_MPDestructionManager::RegisterDeletedDynamicallySpawnedDestructible ( notnull SCR_DestructionDamageManagerComponent destructible,
RplId rplId )
inlineprotected

Definition at line 334 of file SCR_MPDestructionManager.c.

◆ RegisterDynamicallySpawnedDestructible()

int SCR_MPDestructionManager::RegisterDynamicallySpawnedDestructible ( notnull SCR_DestructionDamageManagerComponent destructible,
RplId rplId )
inlineprotected

Definition at line 298 of file SCR_MPDestructionManager.c.

◆ RplLoad()

override bool SCR_MPDestructionManager::RplLoad ( ScriptBitReader reader)
inlineprotected

Called when Item is initialized from replication stream. Carries the data from Master.

Definition at line 185 of file SCR_MPDestructionManager.c.

◆ RplSave()

override bool SCR_MPDestructionManager::RplSave ( ScriptBitWriter writer)
inlineprotected

Called when Item is getting replicated from Master to Slave connection. The data will be delivered to Slave using RplLoad method.

Definition at line 239 of file SCR_MPDestructionManager.c.

Member Data Documentation

◆ m_aDestroyInFrame

ref array<SCR_DestructionBaseHandler> SCR_MPDestructionManager::m_aDestroyInFrame = {}
protected

Definition at line 121 of file SCR_MPDestructionManager.c.

◆ m_ChangedDestructibles

ref array<EntityID> SCR_MPDestructionManager::m_ChangedDestructibles = new array<EntityID>()
protected

Definition at line 116 of file SCR_MPDestructionManager.c.

◆ m_DeletedDestructibles

ref array<EntityID> SCR_MPDestructionManager::m_DeletedDestructibles = new array<EntityID>()
protected

Definition at line 117 of file SCR_MPDestructionManager.c.

◆ m_mChangedDynamicallySpawnedDestructibles

ref map<RplId, ref array<int> > SCR_MPDestructionManager::m_mChangedDynamicallySpawnedDestructibles = new map<RplId, ref array<int>>()
protected

Definition at line 119 of file SCR_MPDestructionManager.c.

◆ m_mDeletedDynamicallySpawnedDestructibles

ref map<RplId, ref array<int> > SCR_MPDestructionManager::m_mDeletedDynamicallySpawnedDestructibles = new map<RplId, ref array<int>>()
protected

Definition at line 120 of file SCR_MPDestructionManager.c.

◆ m_mDynamicallySpawnedDestructibles

ref map<RplId, ref array<SCR_DestructionDamageManagerComponent> > SCR_MPDestructionManager::m_mDynamicallySpawnedDestructibles = new map<RplId, ref array<SCR_DestructionDamageManagerComponent>>()
protected

Definition at line 118 of file SCR_MPDestructionManager.c.

◆ m_RplComponent

RplComponent SCR_MPDestructionManager::m_RplComponent
protected

Definition at line 122 of file SCR_MPDestructionManager.c.


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