DayZ 1.24
Loading...
Searching...
No Matches
StatDebugObject.c
Go to the documentation of this file.
2{
3 string m_Name;
4 float m_Value;
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
30 {
31 m_Type = type;
32 }
33
35 {
36 return m_Type;
37 }
38
39};
PlayerSpawnPresetDiscreteItemSetSlotData name
one set for cargo
eRemoteDebugType m_Type
void SetType(eRemoteDebugType type)
void StatDebugObject(string name, float value, eRemoteDebugType type)
eRemoteDebugType GetType()
proto string ToString()
void PrintString(string s)
Helper for printing out string expression. Example: PrintString("Hello " + var);.
Definition EnScript.c:344