Dayz Explorer
1.28.160049
Loading...
Searching...
No Matches
earlyaccessmenu.c
Go to the documentation of this file.
1
class
EarlyAccessMenu
extends
UIScriptedMenu
2
{
3
void
EarlyAccessMenu()
4
{
5
}
6
7
void
~EarlyAccessMenu()
8
{
9
}
10
11
override
Widget
Init
()
12
{
13
layoutRoot =
GetGame
().GetWorkspace().CreateWidgets(
"gui/layouts/day_z_early_access.layout"
);
14
15
return
layoutRoot;
16
}
17
18
override
bool
OnClick
(Widget w,
int
x
,
int
y
,
int
button)
19
{
20
super.OnClick(w,
x
,
y
, button);
21
22
if
(w.GetUserID() ==
IDC_OK
)
23
{
24
Close
();
25
return
true
;
26
}
27
28
return
false
;
29
}
30
}
UIScriptedMenu
Definition
dayzgame.c:64
UIScriptedMenu::Init
override Widget Init()
Definition
bookmenu.c:11
UIScriptedMenu::OnClick
override bool OnClick(Widget w, int x, int y, int button)
Definition
bookmenu.c:34
GetGame
proto native CGame GetGame()
IDC_OK
const int IDC_OK
Definition
constants.c:135
x
Icon x
y
Icon y
Close
void Close()
Daten
5_mission
gui
earlyaccessmenu.c
Generated by
1.12.0