Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
statdebugobject.c
Go to the documentation of this file.
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 
34  eRemoteDebugType GetType()
35  {
36  return m_Type;
37  }
38 
39 };
m_Type
eBleedingSourceType m_Type
Definition: bleedingsource.c:25
m_Name
string m_Name
Definition: bioslobbyservice.c:35
m_Value
string m_Value
Definition: enentity.c:5
eRemoteDebugType
eRemoteDebugType
Definition: pluginremoteplayerdebugclient.c:1
PrintString
void PrintString(string s)
Helper for printing out string expression. Example: PrintString("Hello " + var);.
Definition: enscript.c:345
StatDebugObject
Definition: statdebugobject.c:1
name
PlayerSpawnPresetDiscreteItemSetSlotData name
one set for cargo
Debug
Definition: debug.c:13