Dayz Explorer 1.29.162510
Loading...
Searching...
No Matches
statdebugobject.c
Go to the documentation of this file.
1class StatDebugObject
2{
3 string m_Name;
4 float m_Value;
5 eRemoteDebugType m_Type;
6
7 void StatDebugObject(string name, float value, eRemoteDebugType type)
8 {
9 m_Name = name;
10 m_Value = value;
11 m_Type = type;
12 }
13
14 void Debug()
15 {
16 PrintString("stat_type:"+ m_Name + "|stat_value:"+ m_Value.ToString());
17 }
18
19 string GetName()
20 {
21 return m_Name;
22 }
23
24 string GetValue()
25 {
26 return m_Value.ToString();
27 }
28
29 void SetType(eRemoteDebugType type)
30 {
31 m_Type = type;
32 }
33
35 {
36 return m_Type;
37 }
38
39};
eBleedingSourceType GetType()
string Debug()
PlayerSpawnPresetDiscreteItemSetSlotData name
one set for cargo
class array< Class T > PrintString
proto string GetName()
Suite class name getter. Strictly for UI porposes!
Definition syncedvalue.c:50
float GetValue()
Definition syncedvalue.c:55