DayZ
1.24
Loading...
Searching...
No Matches
StatDebugObject.c
Go to the documentation of this file.
1
class
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
34
eRemoteDebugType
GetType
()
35
{
36
return
m_Type
;
37
}
38
39
};
name
PlayerSpawnPresetDiscreteItemSetSlotData name
one set for cargo
eRemoteDebugType
eRemoteDebugType
Definition
PluginRemotePlayerDebugClient.c:2
Param3
Definition
EntityAI.c:95
StatDebugObject
Definition
StatDebugObject.c:2
StatDebugObject::m_Name
string m_Name
Definition
StatDebugObject.c:3
StatDebugObject::m_Type
eRemoteDebugType m_Type
Definition
StatDebugObject.c:5
StatDebugObject::SetType
void SetType(eRemoteDebugType type)
Definition
StatDebugObject.c:29
StatDebugObject::m_Value
float m_Value
Definition
StatDebugObject.c:4
StatDebugObject::GetName
string GetName()
Definition
StatDebugObject.c:19
StatDebugObject::StatDebugObject
void StatDebugObject(string name, float value, eRemoteDebugType type)
Definition
StatDebugObject.c:7
StatDebugObject::GetValue
string GetValue()
Definition
StatDebugObject.c:24
StatDebugObject::Debug
void Debug()
Definition
StatDebugObject.c:14
StatDebugObject::GetType
eRemoteDebugType GetType()
Definition
StatDebugObject.c:34
float::ToString
proto string ToString()
PrintString
void PrintString(string s)
Helper for printing out string expression. Example: PrintString("Hello " + var);.
Definition
EnScript.c:344
scripts
4_World
Classes
PlayerStats
StatDebugObject.c
Generated by
1.10.0