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

◆ SetProfileOptionFloat()

void DayZProfilesOptions::SetProfileOptionFloat ( EDayZProfilesOptions option,
float value )
inlineprivate

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

549 {
551 {
553
554 po.param2 = value;
555 GetGame().SetProfileString(po.param1, value.ToString());
557
558 m_OnFloatOptionChanged.Invoke(po.param1, value);
559 }
560 }
Param3< string, float, float > DayZProfilesOptionFloat
Определения DayZGame.c:400
proto native void SetProfileString(string name, string value)
Sets string to profile variable.
proto native void SaveProfile()
Saves profile on disk.
static ref ScriptInvoker m_OnFloatOptionChanged
Определения DayZGame.c:410
ref map< EDayZProfilesOptions, ref DayZProfilesOptionFloat > m_DayZProfilesOptionsFloat
Определения DayZGame.c:406
proto string ToString(bool simple=true)
proto native CGame GetGame()

Перекрестные ссылки GetGame(), m_DayZProfilesOptionsFloat, m_OnFloatOptionChanged, CGame::SaveProfile(), CGame::SetProfileString() и float::ToString().

Используется в RegisterProfileOptionFloat() и ResetOptionsFloat().