Dayz Explorer
1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
syncedvalue.c
Go to the documentation of this file.
1
class
SyncedValue
2
{
3
string
m_Name;
4
float
m_Value;
5
float
m_ValueNorm;
6
bool
m_State;
7
8
void
SyncedValue
(
string
name
,
float
value,
bool
state,
float
val_norm )
9
{
10
m_Name
=
name
;
11
m_Value
= value;
12
m_State
= state;
13
m_ValueNorm = val_norm;
14
}
15
16
string
GetName()
17
{
18
return
m_Name
;
19
}
20
21
float
GetValue()
22
{
23
return
m_Value
;
24
}
25
26
float
GetValueNorm()
27
{
28
return
m_ValueNorm;
29
}
30
31
bool
GetState()
32
{
33
return
m_State
;
34
}
35
}
36
37
class
SyncedValueLevel
38
{
39
string
m_Name
;
40
float
m_Value
;
41
float
m_Value2
;
42
43
void
SyncedValueLevel
(
string
name
,
float
value,
float
value2 )
44
{
45
m_Name
=
name
;
46
m_Value
= value;
47
m_Value2
= value2;
48
}
49
50
string
GetName
()
51
{
52
return
m_Name
;
53
}
54
55
float
GetValue
()
56
{
57
return
m_Value
;
58
}
59
60
float
GetValue2
()
61
{
62
return
m_Value2
;
63
}
64
}
65
66
67
class
SyncedValueModifier
68
{
69
string
m_Name;
70
int
m_ID;
71
bool
m_Locked;
72
bool
m_Active;
73
74
void
SyncedValueModifier
(
int
id
,
string
name
,
bool
active,
bool
locked )
75
{
76
m_Name
=
name
;
77
m_ID
= id;
78
m_Locked = locked;
79
m_Active = active;
80
}
81
82
string
GetName()
83
{
84
return
m_Name
;
85
}
86
87
int
GetID()
88
{
89
return
m_ID
;
90
}
91
92
bool
GetLocked()
93
{
94
return
m_Locked;
95
}
96
97
bool
GetActive()
98
{
99
return
m_Active;
100
}
101
}
102
103
104
class
SyncedValueAgent
105
{
106
string
m_Name
;
107
string
m_Value
;
108
int
m_ID
;
109
110
void
SyncedValueAgent
(
string
name
,
string
value,
int
id
)
111
{
112
m_Name
=
name
;
113
m_Value
= value;
114
m_ID
= id;
115
}
116
117
string
GetName
()
118
{
119
return
m_Name
;
120
}
121
122
string
GetValue
()
123
{
124
return
m_Value
;
125
}
126
127
int
GetID
()
128
{
129
return
m_ID
;
130
}
131
}
GetValue
float GetValue()
Definition:
syncedvalue.c:55
GetName
string GetName()
Gets the name which is set for the ParticleManager, default is "ParticleSourceManager".
Definition:
syncedvalue.c:50
m_Name
string m_Name
Definition:
bioslobbyservice.c:35
m_Value
string m_Value
Definition:
enentity.c:5
SyncedValue
Definition:
syncedvalue.c:1
GetID
int GetID()
Definition:
syncedvalue.c:127
name
PlayerSpawnPresetDiscreteItemSetSlotData name
one set for cargo
m_ID
int m_ID
Definition:
syncedvalue.c:108
m_Value
float m_Value
Definition:
syncedvalue.c:40
SyncedValueAgent
void SyncedValueAgent(string name, string value, int id)
Definition:
syncedvalue.c:110
GetValue2
float GetValue2()
Definition:
syncedvalue.c:60
m_Name
class SyncedValue m_Name
SyncedValueModifier
Definition:
syncedvalue.c:67
m_Value2
float m_Value2
Definition:
syncedvalue.c:41
m_ID
protected int m_ID
ID of effect, given by SEffectManager when registered (automatically done when playing through it)
Definition:
effect.c:49
SyncedValueLevel
void SyncedValueLevel(string name, float value, float value2)
Definition:
syncedvalue.c:43
m_State
protected float m_DrainThreshold protected bool m_State
Definition:
staminahandler.c:20
DAYZ
scripts_v1.24.157551
scripts
world
classes
modules
syncedvalue.c
Generated by
1.8.17