Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_BatchedPoisonDamageEffects.c
Go to the documentation of this file.
1class SCR_BatchedPoisonDamageEffects : SCR_BatchedDamageEffects
2{
3 float m_fDamageValue;
4 int m_iNumberOfEffects;
5 WorldTimestamp m_NextSoundEventTime;
6
7 //------------------------------------------------------------------------------------------------
8 override void CopyBatchedData(notnull SCR_BatchedDamageEffects newBatchedDataContainer)
9 {
10 SCR_BatchedPoisonDamageEffects newPoisonData = SCR_BatchedPoisonDamageEffects.Cast(newBatchedDataContainer);
11 if (!newPoisonData)
12 return;
13
14 m_fDamageValue = newPoisonData.m_fDamageValue;
15 m_iNumberOfEffects = newPoisonData.m_iNumberOfEffects;
16 }
17
18 //------------------------------------------------------------------------------------------------
19 // constructor
22 void SCR_BatchedPoisonDamageEffects(float dmgVal, int count = 1)
23 {
24 m_fDamageValue = dmgVal;
25 m_iNumberOfEffects = count;
26 }
27}