DayZ 1.30
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ GetBool()

bool PluginConfigHandler::GetBool ( string key)
inlineprotected

См. определение в файле PluginConfigDebugProfile.c строка 182

183 {
184 if ( ParamExist(key) )
185 {
186 CfgParamBool param = CfgParamBool.Cast( GetParamByName( key, CFG_TYPE_BOOL ) );
187 return param.GetValue();
188 }
189 else
190 {
191 if ( m_DefaultValues.Contains(key) )
192 {
193 CfgParamBool default_param = CfgParamBool.Cast( m_DefaultValues.Get( key ) );
194 return SetBool( key, default_param.GetValue() ).GetValue();
195 }
196 else
197 {
198 return SetBool( key, false ).GetValue();
199 }
200 }
201 }
const int CFG_TYPE_BOOL
Определения CfgParam.c:4
CfgParamBool SetBool(string key, bool value)
Определения PluginConfigDebugProfile.c:174
ref map< string, ref CfgParam > m_DefaultValues
Определения PluginConfigDebugProfile.c:70

Перекрестные ссылки CFG_TYPE_BOOL, m_DefaultValues и SetBool().

Используется в GetCharacterAgentsVisible(), GetCharacterDebugVisible(), GetCharacterLevelsVisible(), GetCharacterModifiersVisible(), GetCharacterStatsVisible(), GetCharacterStomachVisible(), GetFilterOrderReversed(), GetFreeCameraCrosshairVisible(), GetHealthVisible(), GetHorticultureVisible(), GetLogsEnabled(), GetMergeType(), GetSceneEditorDrawSelection(), GetSceneEditorLoadPlayerPos(), GetShowItemPreview(), GetTempVisible() и GetVersionVisible().