Arma Reforger Script API
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | Protected Attributes | List of all members
SCR_MPDestructionManager Interface Reference
Inheritance diagram for SCR_MPDestructionManager:
[legend]

Public Member Functions

bool IsProxy ()
 Checks if this entity is locally owned.
 
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 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 Public Member Functions

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

Public Attributes

ref SCR_AudioSourceConfiguration m_AudioSourceConfiguration
 

Static Public Attributes

static const string ENTITY_SIZE_SIGNAL_NAME = "EntitySize"
 
static const string PHASES_TO_DESTROYED_PHASE_SIGNAL_NAME = "PhasesToDestroyed"
 
static const string COLLISIONDV_SIGNAL_NAME = "CollisionDV"
 
static const ResourceName DESTRUCTION_MANAGER_PREFAB = "{9BB369F2803C6F71}Prefabs/MP/MPDestructionManager.et"
 
static bool s_bInitialized = false
 

Protected Member Functions

void DestroyDelayed ()
 
override void EOnFrame (IEntity owner, float timeSlice)
 

Protected Attributes

ref array< EntityID > m_ChangedDestructibles = new array<EntityID>()
 
ref array< EntityID > m_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
 

Constructor & Destructor Documentation

◆ SCR_MPDestructionManager()

void SCR_MPDestructionManager.SCR_MPDestructionManager ( IEntitySource  src,
IEntity  parent 
)

◆ ~SCR_MPDestructionManager()

void SCR_MPDestructionManager.~SCR_MPDestructionManager ( )

Member Function Documentation

◆ DestroyDelayed()

void SCR_MPDestructionManager.DestroyDelayed ( )
protected

◆ DestroyInFrame()

void SCR_MPDestructionManager.DestroyInFrame ( SCR_DestructionBaseHandler  handler)

◆ EOnFrame()

override void SCR_MPDestructionManager.EOnFrame ( IEntity  owner,
float  timeSlice 
)
protected

◆ EOnInit()

override void SCR_MPDestructionManager.EOnInit ( IEntity  owner)

◆ FindDynamicallySpawnedDestructibleByIndex()

SCR_DestructionDamageManagerComponent SCR_MPDestructionManager.FindDynamicallySpawnedDestructibleByIndex ( RplId  rplId,
int  index 
)

◆ FindDynamicallySpawnedDestructibleIndex()

int SCR_MPDestructionManager.FindDynamicallySpawnedDestructibleIndex ( RplId  rplId,
SCR_DestructionDamageManagerComponent  destructible 
)

◆ GetAudioSourceConfiguration()

SCR_AudioSourceConfiguration SCR_MPDestructionManager.GetAudioSourceConfiguration ( )

◆ GetInstance()

static SCR_MPDestructionManager SCR_MPDestructionManager.GetInstance ( )
static

Returns the instance of the destruction manager.

◆ InitializeDestructionManager()

static notnull SCR_MPDestructionManager SCR_MPDestructionManager.InitializeDestructionManager ( )
static

◆ IsInitialized()

static bool SCR_MPDestructionManager.IsInitialized ( )
static

◆ IsProxy()

bool SCR_MPDestructionManager.IsProxy ( )

Checks if this entity is locally owned.

◆ RegisterChangedDynamicallySpawnedDestructible()

void SCR_MPDestructionManager.RegisterChangedDynamicallySpawnedDestructible ( notnull SCR_DestructionDamageManagerComponent  destructible,
RplId  rplId 
)

◆ RegisterDeletedDynamicallySpawnedDestructible()

void SCR_MPDestructionManager.RegisterDeletedDynamicallySpawnedDestructible ( notnull SCR_DestructionDamageManagerComponent  destructible,
RplId  rplId 
)

◆ RegisterDynamicallySpawnedDestructible()

int SCR_MPDestructionManager.RegisterDynamicallySpawnedDestructible ( notnull SCR_DestructionDamageManagerComponent  destructible,
RplId  rplId 
)

◆ RplLoad()

override bool SCR_MPDestructionManager.RplLoad ( ScriptBitReader  reader)

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

◆ RplSave()

override bool SCR_MPDestructionManager.RplSave ( ScriptBitWriter  writer)

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

Member Data Documentation

◆ COLLISIONDV_SIGNAL_NAME

const string SCR_MPDestructionManager.COLLISIONDV_SIGNAL_NAME = "CollisionDV"
static

◆ DESTRUCTION_MANAGER_PREFAB

const ResourceName SCR_MPDestructionManager.DESTRUCTION_MANAGER_PREFAB = "{9BB369F2803C6F71}Prefabs/MP/MPDestructionManager.et"
static

◆ ENTITY_SIZE_SIGNAL_NAME

const string SCR_MPDestructionManager.ENTITY_SIZE_SIGNAL_NAME = "EntitySize"
static

◆ m_aDestroyInFrame

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

◆ m_AudioSourceConfiguration

ref SCR_AudioSourceConfiguration SCR_MPDestructionManager.m_AudioSourceConfiguration

◆ m_ChangedDestructibles

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

◆ m_DeletedDestructibles

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

◆ m_mChangedDynamicallySpawnedDestructibles

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

◆ m_mDeletedDynamicallySpawnedDestructibles

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

◆ m_mDynamicallySpawnedDestructibles

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

◆ m_RplComponent

RplComponent SCR_MPDestructionManager.m_RplComponent
protected

◆ PHASES_TO_DESTROYED_PHASE_SIGNAL_NAME

const string SCR_MPDestructionManager.PHASES_TO_DESTROYED_PHASE_SIGNAL_NAME = "PhasesToDestroyed"
static

◆ s_bInitialized

bool SCR_MPDestructionManager.s_bInitialized = false
static

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