DayZ 1.29
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено
settings.c
См. документацию.
1#ifdef GAME_TEMPLATE
2
3class Settings
4{
5 static void OnChange(string variableName) {}
6 static void OnAnyChange() {}
7 static void OnLoad() {}
8 static void OnSave() {}
9 static void OnReset() {}
10 static void OnRevert() {}
11 static void OnApply() {}
12
13 private void Settings() {}
14 private void ~Settings() {}
15};
16
17class GameSettings: Settings
18{
19 [Attribute("false", "checkbox", "Is debug mode enabled")]
20 static bool Debug;
21
22 override static void OnAnyChange()
23 {
24 g_Game.SetDebug(Debug);
25 }
26}
27
28class SettingsMenu: MenuBase
29{
30 proto native external bool AddSettings(typename settingsClass);
31 proto native void Save();
32 proto native void Reset();
33 proto native void Revert();
34 proto native void Apply();
35 proto native void Back();
36};
37#endif
38
string Debug()
Определения CachedEquipmentStorageBase.c:29
void Back()
Определения ControlsXbox.c:36
DayZGame g_Game
Определения DayZGame.c:3942
void OnApply(PlayerBase player)
override bool OnChange(Widget w, int x, int y, bool finished)
Определения PluginDayZInfectedDebug.c:33
void OnLoad()
Определения Sound.c:216