Dayz
Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Toggle main menu visibility
Loading...
Searching...
No Matches
settings.c
Go to the documentation of this file.
1
#ifdef GAME_TEMPLATE
2
3
class
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
17
class
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
28
class
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
Reset
void Reset()
Definition
inventory.c:1209
Debug
string Debug()
Definition
cachedequipmentstoragebase.c:29
Back
void Back()
Definition
controlsxbox.c:36
g_Game
DayZGame g_Game
Definition
dayzgame.c:3942
OnLoad
void OnLoad()
Definition
sound.c:216
OnApply
void OnApply(PlayerBase player)
OnChange
override bool OnChange(Widget w, int x, int y, bool finished)
Definition
plugindayzinfecteddebug.c:33
Games
Dayz
scripts
2_gamelib
settings.c
Generated by
1.17.0