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