DayZ 1.24
Loading...
Searching...
No Matches
RemotePlayerDamageDebug.c
Go to the documentation of this file.
2{
3 const int MAX_DAMAGE_RECORDS = 5;
6
8
13
22
27
28
30 {
31 return m_Player;
32 }
33
34
36 {
37 for (int i = 0; i < m_DamageList.Count(); i++)
38 damage_list.Insert(m_DamageList.Get(i));
39 }
40
42 {
43 int index = m_DamageList.Count() - 1;
44 for (; index >= 0; index--)
45 damage_list.Insert(m_DamageList.Get(index));
46 }
47
54
55 void Debug()
56 {
57 string output;
58 for (int i = 0; i < m_DamageList.Count(); i++)
59 output = output + m_DamageList.Get(i).ToString() + ", ";
60 PrintString("damage values for player " + m_Player.ToString() + ":" + output);
61
62 }
63
64}
void AddDamage(float value_global, float value_blood, float value_shock)
void InsertDamageObject(DamageData damage_object)
void Get(array< ref DamageData > damage_list)
ref array< ref DamageData > m_DamageList
void GetReversed(array< ref DamageData > damage_list)
void RemotePlayerDamageDebug(PlayerBase player)
void Serialize(array< ref RemotePlayerDamageDebug > list)
void PrintString(string s)
Helper for printing out string expression. Example: PrintString("Hello " + var);.
Definition EnScript.c:344