Dayz Explorer
1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
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
GetGame
().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
GetGame
proto native CGame GetGame()
Back
void Back()
Definition:
controlsxbox.c:36
OnApply
void OnApply(PlayerBase player)
Attribute
Definition:
enentity.c:823
Reset
void Reset()
Definition:
inventory.c:1106
Debug
Definition:
debug.c:13
OnChange
bool OnChange(Widget w, int x, int y, bool finished)
Definition:
huddebug.c:336
Debug
void Debug()
Definition:
universaltemperaturesource.c:297
DAYZ
scripts_v1.24.157551
scripts
gamelib
settings.c
Generated by
1.8.17