DayZ
1.24
Loading...
Searching...
No Matches
CfgParamFloat.c
Go to the documentation of this file.
1
class
CfgParamFloat
extends
CfgParamType
2
{
3
private
float
m_Value
;
4
5
void
CfgParamFloat
(
string
param_name
)
6
{
7
m_Value
= 0;
8
}
9
10
void
SetValue
(
float
value
)
11
{
12
m_Value
=
value
;
13
}
14
15
float
GetValue
()
16
{
17
return
m_Value
;
18
}
19
20
override
int
GetType
()
21
{
22
return
CFG_TYPE_FLOAT
;
23
}
24
}
CFG_TYPE_FLOAT
const int CFG_TYPE_FLOAT
Definition
CfgParam.c:3
CfgParamType
Definition
CfgParamBool.c:2
CfgParamType::m_Value
bool m_Value
Definition
CfgParamBool.c:3
CfgParamType::SetValue
void SetValue(float value)
Definition
CfgParamFloat.c:10
CfgParamType::CfgParamFloat
void CfgParamFloat(string param_name)
Definition
CfgParamFloat.c:5
CfgParamType::GetValue
float GetValue()
Definition
CfgParamFloat.c:15
CfgParamType::GetType
override int GetType()
Definition
CfgParamFloat.c:20
CfgParamType::m_Value
float m_Value
Definition
CfgParamFloat.c:3
Param3
Definition
EntityAI.c:95
m_Value
string m_Value
Definition
EnEntity.c:805
scripts
4_World
Classes
ConfigHandler
CfgParamFloat.c
Generated by
1.10.0