DayZ
1.24
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
}
x
Icon x
y
Icon y
Close
void Close()
Param3
Definition
EntityAI.c:95
UIScriptedMenu
Definition
DayZGame.c:64
UIScriptedMenu::EarlyAccessMenu
void EarlyAccessMenu()
Definition
EarlyAccessMenu.c:3
UIScriptedMenu::~EarlyAccessMenu
void ~EarlyAccessMenu()
Definition
EarlyAccessMenu.c:7
UIScriptedMenu::Init
override Widget Init()
Definition
EarlyAccessMenu.c:11
UIScriptedMenu::OnClick
override bool OnClick(Widget w, int x, int y, int button)
Definition
EarlyAccessMenu.c:18
Widget
Definition
EnWidgets.c:190
GetGame
proto native CGame GetGame()
IDC_OK
const int IDC_OK
Definition
constants.c:127
scripts
5_Mission
GUI
EarlyAccessMenu.c
Generated by
1.10.0