7 static const ResourceName DIALOGS_CONFIG =
"{814FCA3CB7851F6B}Configs/Dialogs/CommonDialogs.conf";
47 static ServerHostingUI CreateServerHostingDialog()
49 ServerHostingUI dialog =
new ServerHostingUI();
54 static AddonsToolsUI CreateModPresetsDialog()
56 AddonsToolsUI dialog =
new AddonsToolsUI();
94 override void OnConfirm()
99 mgr.EndAllDownloads();
114 static void CreateDialog(MissionWorkshopItem scenario)
116 SCR_StartScenarioWhileDownloadingDialog dialog =
new SCR_StartScenarioWhileDownloadingDialog();
117 dialog.SetScenario(scenario);
127 mgr.EndAllDownloads();
149 static void CreateDialog(MissionWorkshopItem scenario,
SCR_DSConfig config)
152 dialog.SetScenario(scenario);
153 dialog.SetConfig(config);
159 override void OnConfirm()
163 mgr.EndAllDownloads();
172 void SetScenario(MissionWorkshopItem scenario)
198 "error_not_enough_storage",