Arma Reforger Script API
Loading...
Searching...
No Matches
SCR_ManagedDamageEffectsContainer Interface Reference

Public Member Functions

bool AddEffect (notnull SCR_PersistentDamageEffect dmgEffect)
 
int RemoveEffect (notnull SCR_PersistentDamageEffect dmgEffect)
 
SCR_BatchedDamageEffects GetBatchedDataOfType (TypeName t)
 
bool BatchData (notnull inout map< TypeName, ref SCR_BatchedDamageEffects > newBatchedData, const float avgTimeSlice, SCR_ExtendedDamageManagerComponent dmgMgr)
 
void UpdateBachedData (map< TypeName, ref SCR_BatchedDamageEffects > newBatchedData)
 Updates previously hald information with the new batch data.
 
void ProcessBatchedData (notnull SCR_ExtendedDamageManagerComponent dmgMgr, bool isAuthority)
 Iterates through the batched data and executes their respective processing methods.
 
void SCR_ManagedDamageEffectsContainer (set< SCR_PersistentDamageEffect > effectsSet=null, map< TypeName, ref SCR_BatchedDamageEffects > batchedEffects=null)
 

Protected Attributes

ref map< TypeName, ref SCR_BatchedDamageEffectsm_mBatchedEffects
 
ref set< SCR_PersistentDamageEffectm_EffectsSet
 

Constructor & Destructor Documentation

◆ SCR_ManagedDamageEffectsContainer()

void SCR_ManagedDamageEffectsContainer.SCR_ManagedDamageEffectsContainer ( set< SCR_PersistentDamageEffect > effectsSet = null,
map< TypeName, ref SCR_BatchedDamageEffects > batchedEffects = null )
Parameters
[in]effectsSet
[in]batchedEffects

Member Function Documentation

◆ AddEffect()

bool SCR_ManagedDamageEffectsContainer.AddEffect ( notnull SCR_PersistentDamageEffect dmgEffect)
Parameters
[in]dmgEffect
Returns

◆ BatchData()

bool SCR_ManagedDamageEffectsContainer.BatchData ( notnull inout map< TypeName, ref SCR_BatchedDamageEffects > newBatchedData,
const float avgTimeSlice,
SCR_ExtendedDamageManagerComponent dmgMgr )
Parameters
[in,out]newBatchedData
[in]avgTimeSlice
[in]dmgMgr

◆ GetBatchedDataOfType()

SCR_BatchedDamageEffects SCR_ManagedDamageEffectsContainer.GetBatchedDataOfType ( TypeName t)
Parameters
[in]tof the effect for which we are looking for the batch data
Returns
batched damage effects container or null

◆ ProcessBatchedData()

void SCR_ManagedDamageEffectsContainer.ProcessBatchedData ( notnull SCR_ExtendedDamageManagerComponent dmgMgr,
bool isAuthority )

Iterates through the batched data and executes their respective processing methods.

Parameters
[in]dmgMgr
[in]isAuthority

◆ RemoveEffect()

int SCR_ManagedDamageEffectsContainer.RemoveEffect ( notnull SCR_PersistentDamageEffect dmgEffect)
Parameters
[in]dmgEffect
Returns
number of effects in this set

◆ UpdateBachedData()

void SCR_ManagedDamageEffectsContainer.UpdateBachedData ( map< TypeName, ref SCR_BatchedDamageEffects > newBatchedData)

Updates previously hald information with the new batch data.

Parameters
[in]newBatchedDatafrom which information is going to be transferred to the old one

Member Data Documentation

◆ m_EffectsSet

ref set<SCR_PersistentDamageEffect> SCR_ManagedDamageEffectsContainer.m_EffectsSet
protected

◆ m_mBatchedEffects

ref map<TypeName, ref SCR_BatchedDamageEffects> SCR_ManagedDamageEffectsContainer.m_mBatchedEffects
protected

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