Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
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 }
m_Value
string m_Value
Definition: enentity.c:5
CfgParamType
Definition: cfgparambool.c:1
GetValue
string GetValue(int pIndex)
Definition: universaltemperaturesource.c:256
CFG_TYPE_BOOL
const int CFG_TYPE_BOOL
Definition: cfgparam.c:4
SetValue
override void SetValue(int value, bool fire_event=true)
Definition: optionselectormultistate.c:226
GetType
override int GetType()
Definition: huddebugwincharagents.c:49