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

Go to the source code of this file.

Data Structures

class  SCR_DestructionSynchronizationComponentClass
 

Macros

#define ENABLE_BASE_DESTRUCTION
 

Functions

SCR_DestructionSynchronizationComponentClass ScriptComponentClass RplRpc (RplChannel.Reliable, RplRcver.Server)] void RPC_RequestDestructibleState(RplId rplId
 
 if (!destructionManager) return
 
destructible ReplicateDestructibleState ()
 
void RequestDestructibleState (RplId rplId, int index)
 
override void OnPostInit (IEntity owner)
 Called on PostInit when all components are added. More...
 
void SCR_DestructionSynchronizationComponent (IEntityComponentSource src, IEntity ent, IEntity parent)
 

Variables

SCR_DestructionSynchronizationComponentClass ScriptComponentClass int index
 
SCR_DestructionDamageManagerComponent destructible = destructionManager.FindDynamicallySpawnedDestructibleByIndex(rplId, index)
 

Macro Definition Documentation

◆ ENABLE_BASE_DESTRUCTION

#define ENABLE_BASE_DESTRUCTION

Definition at line 1 of file SCR_DestructionSynchronizationComponent.c.

Function Documentation

◆ if()

if ( destructionManager)

◆ ReplicateDestructibleState()

destructible ReplicateDestructibleState ( )

◆ RequestDestructibleState()

void RequestDestructibleState ( RplId  rplId,
int  index 
)
Parameters
[in]rplId
[in]index

Definition at line 33 of file SCR_DestructionSynchronizationComponent.c.

◆ RplRpc()

SCR_DestructionSynchronizationComponentClass ScriptComponentClass RplRpc ( RplChannel.  Reliable,
RplRcver.  Server 
)
Parameters
[in]rplId
[in]index

◆ SCR_DestructionSynchronizationComponent()

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

Definition at line 48 of file SCR_DestructionSynchronizationComponent.c.

Variable Documentation

◆ destructible

SCR_DestructionDamageManagerComponent destructible = destructionManager.FindDynamicallySpawnedDestructibleByIndex(rplId, index)

Definition at line 22 of file SCR_DestructionSynchronizationComponent.c.

◆ index

Initial value:
{
SCR_MPDestructionManager destructionManager = SCR_MPDestructionManager.GetInstance()

Definition at line 17 of file SCR_DestructionSynchronizationComponent.c.

SCR_MPDestructionManager
Definition: SCR_MPDestructionManager.c:103