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

◆ GetBool()

bool PluginConfigHandler::GetBool ( string key)
inlineprotected

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

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

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

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