Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
BetaWarningDialog.c
Go to the documentation of this file.
1 //------------------------------------------------------------------------------------------------
3 {
4  [MenuBindAttribute()]
5  ButtonWidget ConfirmButton;
6 
7  //------------------------------------------------------------------------------------------------
8  [MenuBindAttribute()]
9  void ConfirmButton()
10  {
11  CloseDialog();
12  }
13 
14  //------------------------------------------------------------------------------------------------
15  void CloseDialog()
16  {
17  GetGame().GetMenuManager().OpenMenu(ChimeraMenuPreset.MainMenu);
18  Close();
19  }
20 
21  //------------------------------------------------------------------------------------------------
22  override void OnMenuOpen()
23  {
24  GetGame().GetMenuManager().CloseMenuByPreset(ChimeraMenuPreset.MainMenu);
25  GetGame().GetInputManager().AddActionListener("MenuSelect", EActionTrigger.PRESSED, CloseDialog);
26  }
27 };
28 
29 
ChimeraMenuBase
Constant variables used in various menus.
Definition: ChimeraMenuBase.c:70
BetaWarningDialogUI
Definition: BetaWarningDialog.c:2
GetGame
ArmaReforgerScripted GetGame()
Definition: game.c:1424
ChimeraMenuPreset
ChimeraMenuPreset
Menu presets.
Definition: ChimeraMenuBase.c:3