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

◆ GetBool()

bool PluginConfigHandler::GetBool ( string key)
inlineprotected

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

200 {
201 if ( ParamExist(key) )
202 {
203 CfgParamBool param = CfgParamBool.Cast( GetParamByName( key, CFG_TYPE_BOOL ) );
204 return param.GetValue();
205 }
206 else
207 {
208 if ( m_DefaultValues.Contains(key) )
209 {
210 CfgParamBool default_param = CfgParamBool.Cast( m_DefaultValues.Get( key ) );
211 return SetBool( key, default_param.GetValue() ).GetValue();
212 }
213 else
214 {
215 return SetBool( key, false ).GetValue();
216 }
217 }
218 }
const int CFG_TYPE_BOOL
Определения CfgParam.c:4
CfgParamBool SetBool(string key, bool value)
Определения PluginConfigDebugProfile.c:191
ref map< string, ref CfgParam > m_DefaultValues
Определения PluginConfigDebugProfile.c:91

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

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