DayZ 1.24
Loading...
Searching...
No Matches
EarlyAccessMenu.c
Go to the documentation of this file.
1class EarlyAccessMenu extends UIScriptedMenu
2{
4 {
5 }
6
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}
Icon x
Icon y
void Close()
void ~EarlyAccessMenu()
override Widget Init()
override bool OnClick(Widget w, int x, int y, int button)
proto native CGame GetGame()
const int IDC_OK
Definition constants.c:127