|
Arma Reforger Script API
|
Script component for handling server config editing UI. More...
Public Member Functions | |
| ScriptInvokerMissionWorkshopItem | GetOnScenarioSelected () |
| ScriptInvokerString | GetOnPortChanged () |
| override void | HandlerAttached (Widget w) |
| void | SelectDefaultScenario () |
| void | SelectScenario (notnull MissionWorkshopItem scenario) |
| MissionWorkshopItem | GetSelectedScenario () |
| WorkshopItem | GetScenarioOwnerMod () |
| Return currently selected scenario owner mod as workshop item. | |
| array< MissionWorkshopItem > | GetDefaultScenarios () |
| array< MissionWorkshopItem > | GetModdedScenarios () |
| void | FillFromDSConfig (notnull SCR_DSConfig config) |
| Fill all entries with values from given DS config. | |
| void | ScrollToTheEntry (notnull Widget w) |
| Scroll to the selected entry. | |
| void | SetPort (string port) |
| string | GenerateFileName (notnull MissionWorkshopItem scenario) |
| Generate server name to the name editbox in case name wasn't edited. | |
Public Member Functions inherited from SCR_ConfigListComponent | |
| override void | HandlerDeattached (Widget w) |
| array< ref SCR_WidgetListEntry > | GetInitialEntryList () |
| SCR_WidgetListEntry | FindEntry (string propertyName, string groupTag="") |
| Find variable of given property name and group tag - no group tag find any variable of given property name. | |
| Widget | GetInvalidEntry () |
| Go through list and check if values are correct Return first invalid entry widget Return null if all values are valid. | |
Protected Member Functions | |
| void | FillScenarios () |
| Fill scenario selection with list of available scenarios. | |
| void | FillScenarioSources () |
| void | InsertScenarioToMap (MissionWorkshopItem scenario, WorkshopItem modOwner) |
| Insert scenario and sorces to scenario sources mod map If scenario name is reapeate, insert source mod in to existing scenario. | |
| int | GetScenarioIndexById (string scenarioId) |
| void | ConsoleSetup () |
| Apply console specific properties. | |
| void | OnNameChanged (SCR_EditBoxComponent edit, string text) |
| void | OnSimplePortChanged (string text) |
| void | OnFileNameChanged (SCR_EditBoxComponent edit, string text) |
| void | OnSelectScenario (SCR_ComboBoxComponent comboBox, int selected) |
| void | GenerateName (notnull MissionWorkshopItem scenario) |
| Generate server name to the name editbox in case name wasn't edited. | |
| void | SetupPlayerLimit (int limit) |
Protected Attributes | |
| SCR_WidgetListEntryEditBox | m_NameEdit |
| SCR_WidgetListEntryEditBox | m_SimplePortEdit |
| SCR_WidgetListEntrySelection | m_ScenarioSelect |
| SCR_WidgetListEntrySelection | m_ScenarioModSelect |
| SCR_WidgetListEntrySelection | m_BattleyeSelect |
| SCR_WidgetListEntrySelection | m_CrossplaySelect |
| SCR_WidgetListEntrySlider | m_PlayerListSlider |
| SCR_WidgetListEntrySlider | m_JoinQueueSizeSlider |
| bool | m_bNameEdited |
| bool | m_bFileNameEdited |
| ref array< ref SCR_ScenarioSources > | m_aScenarioSources = {} |
| ref ScriptInvokerMissionWorkshopItem | m_OnScenarioSelected |
| ref ScriptInvokerString | m_OnPortChanged |
Protected Attributes inherited from SCR_ConfigListComponent | |
| string | m_sListParent |
| ref array< ref SCR_WidgetListEntry > | m_aInitialEntryList |
| Widget | m_Root |
| ScrollLayoutWidget | m_wScrollWidget |
| VerticalLayoutWidget | m_wList |
Static Protected Attributes | |
| const string | NAME_ENTRY = "name" |
| const string | FILE_NAME_ENTRY = "fileName" |
| const string | SCENARIO_SELECTION_ENTRY = "scenarioId" |
| const string | SCENARIO_MOD_SELECTION_ENTRY = "scenarioModId" |
| const string | PLAYER_LIMIT_ENTRY = "maxPlayers" |
| const string | JOIN_QUEUE_MAX_SIZE = "joinQueueMaxSize" |
| const string | BATTLEYE = "battlEye" |
| const string | CROSSPLAY = "crossPlatform" |
| const string | SIMPLE_PORT = "publicPortSimple" |
| const string | SERVER_NAME_BASE = "%1 %2" |
| const string | FILE_NAME_BASE = "Config_%1" |
| const string | CHAR_BLACK_LIST = "<>:\/\|?*." |
Script component for handling server config editing UI.
|
protected |
Apply console specific properties.
| void SCR_ServerConfigListComponent.FillFromDSConfig | ( | notnull SCR_DSConfig | config | ) |
Fill all entries with values from given DS config.
|
protected |
Fill scenario selection with list of available scenarios.
|
protected |
| string SCR_ServerConfigListComponent.GenerateFileName | ( | notnull MissionWorkshopItem | scenario | ) |
Generate server name to the name editbox in case name wasn't edited.
|
protected |
Generate server name to the name editbox in case name wasn't edited.
| array< MissionWorkshopItem > SCR_ServerConfigListComponent.GetDefaultScenarios | ( | ) |
| array< MissionWorkshopItem > SCR_ServerConfigListComponent.GetModdedScenarios | ( | ) |
| ScriptInvokerString SCR_ServerConfigListComponent.GetOnPortChanged | ( | ) |
| ScriptInvokerMissionWorkshopItem SCR_ServerConfigListComponent.GetOnScenarioSelected | ( | ) |
|
protected |
| WorkshopItem SCR_ServerConfigListComponent.GetScenarioOwnerMod | ( | ) |
Return currently selected scenario owner mod as workshop item.
| MissionWorkshopItem SCR_ServerConfigListComponent.GetSelectedScenario | ( | ) |
| override void SCR_ServerConfigListComponent.HandlerAttached | ( | Widget | w | ) |
Implements SCR_ConfigListComponent.
|
protected |
Insert scenario and sorces to scenario sources mod map If scenario name is reapeate, insert source mod in to existing scenario.
|
protected |
|
protected |
|
protected |
|
protected |
| void SCR_ServerConfigListComponent.ScrollToTheEntry | ( | notnull Widget | w | ) |
Scroll to the selected entry.
| void SCR_ServerConfigListComponent.SelectDefaultScenario | ( | ) |
| void SCR_ServerConfigListComponent.SelectScenario | ( | notnull MissionWorkshopItem | scenario | ) |
| void SCR_ServerConfigListComponent.SetPort | ( | string | port | ) |
|
protected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |