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

Go to the source code of this file.

Data Structures

class  SCR_NetworkedStatsComponentClass
 

Typedefs

typedef func SCR_OnStatChangedMethod
 
typedef ScriptInvokerBase< SCR_OnStatChangedMethodSCR_OnStatChangedInvoker
 

Functions

void SCR_OnStatChangedMethod (SCR_BaseNetworkedStat changedStat)
 
SCR_NetworkedStatsComponentClass ScriptComponentClass Attribute ()] protected ref array< ref SCR_BaseNetworkedStat > m_aStats
 Post-process effect of scripted camera. More...
 
SCR_OnStatChangedInvoker GetOnStatsChanged (bool createIfNull=true)
 
SCR_BaseNetworkedStat GetNetworkedStat (SCR_ENetworkedStatType statType)
 
SCR_NetworkedStatsComponentClass GetNetworkedStatPrefabData ()
 
RplComponent GetRplComponent ()
 Returns the replication component associated to this entity. More...
 
void SetAuthorityStatValue (SCR_ENetworkedStatType statType, int valueInt)
 
void SetStatValueOfAuthority (SCR_ENetworkedStatType statType, int value)
 
void UpdateStats ()
 
override void EOnInit (IEntity owner)
 Initialise this component with data from FactionsManager. More...
 
override void OnPostInit (IEntity owner)
 Editable Mine. More...
 
override void OnDelete (IEntity owner)
 

Variables

protected ref SCR_OnStatChangedInvoker m_OnStatsChanged
 
protected RplComponent m_RplComponent
 
protected int m_iUpdateTimer
 

Typedef Documentation

◆ SCR_OnStatChangedInvoker

Definition at line 3 of file SCR_NetworkedStatsComponent.c.

◆ SCR_OnStatChangedMethod

Definition at line 2 of file SCR_NetworkedStatsComponent.c.

Function Documentation

◆ GetNetworkedStat()

SCR_BaseNetworkedStat GetNetworkedStat ( SCR_ENetworkedStatType  statType)
Parameters
[in]statType
Returns

Definition at line 34 of file SCR_NetworkedStatsComponent.c.

◆ GetNetworkedStatPrefabData()

SCR_NetworkedStatsComponentClass GetNetworkedStatPrefabData ( )
Returns

Definition at line 47 of file SCR_NetworkedStatsComponent.c.

◆ GetOnStatsChanged()

SCR_OnStatChangedInvoker Attribute::GetOnStatsChanged ( bool  createIfNull = true)
Parameters
[in]createIfNull
Returns

Definition at line 9 of file SCR_NetworkedStatsComponent.c.

◆ SCR_OnStatChangedMethod()

◆ SetAuthorityStatValue()

void SetAuthorityStatValue ( SCR_ENetworkedStatType  statType,
int  valueInt 
)
Parameters
[in]statType
[in]valueInt

Definition at line 62 of file SCR_NetworkedStatsComponent.c.

◆ SetStatValueOfAuthority()

void SetStatValueOfAuthority ( SCR_ENetworkedStatType  statType,
int  value 
)
Parameters
[in]statType
[in]value

Definition at line 74 of file SCR_NetworkedStatsComponent.c.

◆ UpdateStats()

void UpdateStats ( )

Definition at line 85 of file SCR_NetworkedStatsComponent.c.

Variable Documentation

◆ m_iUpdateTimer

protected int m_iUpdateTimer

Definition at line 29 of file SCR_NetworkedStatsComponent.c.

◆ m_OnStatsChanged

protected ref SCR_OnStatChangedInvoker m_OnStatsChanged

Definition at line 4 of file SCR_NetworkedStatsComponent.c.

◆ m_RplComponent

protected RplComponent m_RplComponent

Definition at line 26 of file SCR_NetworkedStatsComponent.c.