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

◆ SetProfileValueBool()

void SetProfileValueBool ( string name,
bool value )
protected

Writes bool variable to profile, after write don't forget to call CGame::SaveProfile() to save profile to storage!

См. определение в файле 3_Game/DayZ/tools/tools.c строка 1040

1041{
1042 if (value)
1043 {
1044 g_Game.SetProfileString(name, "1");
1045 }
1046 else
1047 {
1048 g_Game.SetProfileString(name, "0");
1049 }
1050}
PlayerSpawnPresetDiscreteItemSetSlotData name
one set for cargo
DayZGame g_Game
Определения DayZGame.c:3942

Перекрестные ссылки g_Game и name.