Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_ServerHostingDialogs.c
Go to the documentation of this file.
2{
3 static const ResourceName DIALOGS_CONFIG = "{7E4D962E3084CD77}Configs/ServerBrowser/ServerHosting/Dialogs/ServerConfigDialogs.conf";
4
5 //---------------------------------------------------------------------------------------------
6 static SCR_ServerConfigSaveDialog CreateSaveConfirmDialog()
7 {
9
10 SCR_ConfigurableDialogUi.CreateFromPreset(DIALOGS_CONFIG, "save_confirm", dialog);
11
12 return dialog;
13 }
14
15 //---------------------------------------------------------------------------------------------
16 static SCR_ConfigurableDialogUi CreateSaveSuccessDialog()
17 {
18 return SCR_ConfigurableDialogUi.CreateFromPreset(DIALOGS_CONFIG, "save_successful");
19 }
20
21 //---------------------------------------------------------------------------------------------
22 static SCR_ConfigurableDialogUi CreateSaveFailedDialog()
23 {
24 return SCR_ConfigurableDialogUi.CreateFromPreset(DIALOGS_CONFIG, "save_failed");
25 }
26
27 //---------------------------------------------------------------------------------------------
28 static SCR_ConfigurableDialogUi CreateSaveOverrideDialog()
29 {
30 return SCR_ConfigurableDialogUi.CreateFromPreset(DIALOGS_CONFIG, "save_override");
31 }
32
33 //---------------------------------------------------------------------------------------------
34 static SCR_ConfigurableDialogUi CreateNoConnectionDialog()
35 {
36 return SCR_ConfigurableDialogUi.CreateFromPreset(DIALOGS_CONFIG, "no_connection");
37 }
38
39 //---------------------------------------------------------------------------------------------
40 static SCR_ConfigurableDialogUi CreateRequiredDisableDialog()
41 {
42 return SCR_ConfigurableDialogUi.CreateFromPreset(DIALOGS_CONFIG, "required_disable");
43 }
44}
static SCR_ConfigurableDialogUi CreateFromPreset(ResourceName presetsResourceName, string tag, SCR_ConfigurableDialogUi customDialogObj=null)
Creates a dialog from preset.