Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
ServerHostingUI.c File Reference

Go to the source code of this file.

Enumerations

enum  SCR_EServerHostingDialogTabs { SETTINGS, MODS, ADVANCED_SETTINGS }
 

Functions

override void OnMenuOpen (SCR_ConfigurableDialogUiPreset preset)
 
protected bool VerifyAndStoreConfig ()
 Verify and store all info into config - return true if all config properties are valid. More...
 
protected void OnOverrideConfirm (SCR_ConfigurableDialogUi dialog)
 
protected void OnHostServerClick ()
 
protected void OnSaveTemplateClick ()
 
protected void DisplaySaveDialog ()
 Show dialog with file name settings and confirmation. More...
 
protected void OnSaveDialogConfirm (SCR_ConfigurableDialogUi dialog)
 
void SaveConfig ()
 
protected void OnWorkshopOpenActivate ()
 
protected void AllMenuClosed ()
 Callback for when all additional menu are closed and top menu is main menu. More...
 
protected void OnSubMenuChangePort (string port)
 Call when sub menu change port setting to propagete unified port on multiple places. More...
 
void SelectScenario (notnull MissionWorkshopItem scenario)
 Select scenario in scenario selection dropdown. More...
 

Variables

enum SCR_EServerHostingDialogTabs DIALOG_TAG_SAVE_CONFIRM = "save_confirm"
 
const protected string COLOR_TAG = "<color rgba='%1'>"
 
const protected string COLOR_TAG_END = "</color>"
 
const protected Color SERVER_CONFIG_NAME_COLOR = UIColors.CONTRAST_COLOR
 
protected ref SCR_DSConfig m_DSConfig = new SCR_DSConfig()
 
protected ref SCR_ServerConfigListComponent m_ConfigList
 
protected ref SCR_ServerHostingSettingsSubMenu m_ConfigListSubMenu
 
protected ref SCR_ServerHostingModSubMenu m_ConfigMods
 
protected ref SCR_ServerConfigAdvancedComponent m_AdvancedSettings
 
protected ref SCR_ServerHostingSettingsSubMenu m_AdvancedSubMenu
 
protected string m_iUnifiedPort
 
protected string m_sFileName
 

Enumeration Type Documentation

◆ SCR_EServerHostingDialogTabs

Enumerator
SETTINGS 
MODS 
ADVANCED_SETTINGS 

Definition at line 1 of file ServerHostingUI.c.

Function Documentation

◆ AllMenuClosed()

protected void AllMenuClosed ( )

Callback for when all additional menu are closed and top menu is main menu.

Definition at line 286 of file ServerHostingUI.c.

◆ DisplaySaveDialog()

protected void DisplaySaveDialog ( )

Show dialog with file name settings and confirmation.

Definition at line 192 of file ServerHostingUI.c.

◆ OnHostServerClick()

protected void OnHostServerClick ( )

Definition at line 146 of file ServerHostingUI.c.

◆ OnMenuOpen()

override void OnMenuOpen ( SCR_ConfigurableDialogUiPreset  preset)

Definition at line 42 of file ServerHostingUI.c.

◆ OnOverrideConfirm()

protected void OnOverrideConfirm ( SCR_ConfigurableDialogUi  dialog)

Definition at line 136 of file ServerHostingUI.c.

◆ OnSaveDialogConfirm()

protected void OnSaveDialogConfirm ( SCR_ConfigurableDialogUi  dialog)

Definition at line 205 of file ServerHostingUI.c.

◆ OnSaveTemplateClick()

protected void OnSaveTemplateClick ( )

Definition at line 180 of file ServerHostingUI.c.

◆ OnSubMenuChangePort()

protected void OnSubMenuChangePort ( string  port)

Call when sub menu change port setting to propagete unified port on multiple places.

Definition at line 312 of file ServerHostingUI.c.

◆ OnWorkshopOpenActivate()

protected void OnWorkshopOpenActivate ( )

Definition at line 278 of file ServerHostingUI.c.

◆ SaveConfig()

void SaveConfig ( )

Definition at line 237 of file ServerHostingUI.c.

◆ SelectScenario()

void SelectScenario ( notnull MissionWorkshopItem  scenario)

Select scenario in scenario selection dropdown.

Definition at line 325 of file ServerHostingUI.c.

◆ VerifyAndStoreConfig()

protected bool VerifyAndStoreConfig ( )

Verify and store all info into config - return true if all config properties are valid.

Definition at line 86 of file ServerHostingUI.c.

Variable Documentation

◆ COLOR_TAG

const protected string COLOR_TAG = "<color rgba='%1'>"

Definition at line 21 of file ServerHostingUI.c.

◆ COLOR_TAG_END

const protected string COLOR_TAG_END = "</color>"

Definition at line 22 of file ServerHostingUI.c.

◆ DIALOG_TAG_SAVE_CONFIRM

enum SCR_EServerHostingDialogTabs DIALOG_TAG_SAVE_CONFIRM = "save_confirm"

◆ m_AdvancedSettings

protected ref SCR_ServerConfigAdvancedComponent m_AdvancedSettings

Definition at line 34 of file ServerHostingUI.c.

◆ m_AdvancedSubMenu

protected ref SCR_ServerHostingSettingsSubMenu m_AdvancedSubMenu

Definition at line 35 of file ServerHostingUI.c.

◆ m_ConfigList

protected ref SCR_ServerConfigListComponent m_ConfigList

Definition at line 29 of file ServerHostingUI.c.

◆ m_ConfigListSubMenu

protected ref SCR_ServerHostingSettingsSubMenu m_ConfigListSubMenu

Definition at line 30 of file ServerHostingUI.c.

◆ m_ConfigMods

protected ref SCR_ServerHostingModSubMenu m_ConfigMods

Definition at line 32 of file ServerHostingUI.c.

◆ m_DSConfig

protected ref SCR_DSConfig m_DSConfig = new SCR_DSConfig()

Definition at line 25 of file ServerHostingUI.c.

◆ m_iUnifiedPort

protected string m_iUnifiedPort

Definition at line 38 of file ServerHostingUI.c.

◆ m_sFileName

protected string m_sFileName

Definition at line 188 of file ServerHostingUI.c.

◆ SERVER_CONFIG_NAME_COLOR

const protected Color SERVER_CONFIG_NAME_COLOR = UIColors.CONTRAST_COLOR

Definition at line 23 of file ServerHostingUI.c.