Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_ServerHostingModSubMenu Class Reference
Inheritance diagram for SCR_ServerHostingModSubMenu:
SCR_SubMenuBase

Protected Member Functions

override void HandlerAttached (Widget w)
override void HandlerDeattached (Widget w)
override void OnTabCreate (Widget menuRoot, ResourceName buttonsLayout, int index)
override void OnTabShow ()
override void OnTabHide ()
void UpdateWorkshopButton ()
void OnCommStatusCheckFinished (SCR_ECommStatus status, float responseTime, float lastSuccessTime, float lastFailTime)
override void ShowNavigationButtons (bool show)
void FocusFirstEntry ()
void CreateAddonList ()
 Add all offline mods to selection.
void AddLineEntry (SCR_WorkshopItem item, int id)
int LastFocusedId (Widget line, bool enabled)
Widget ClosestAddonLine (int lineId, bool enabled)
 Return closest workshop item, first check down, then up if at the end of the list.
SCR_AddonLineDSConfigComponent FindLineByModId (string id)
void SetupDownloadingCallbacks ()
 Setup callbacks for all running downloads.
void ClearDownloadingCallbacks ()
void UpdateNavigationButtons (SCR_AddonLineDSConfigComponent line, bool forceDisabled=false)
void OnAddonEnabled (SCR_ScriptedWidgetComponent component)
void OnAddonDisabled (SCR_ScriptedWidgetComponent component)
void OnLineFocus (SCR_ScriptedWidgetComponent component)
void OnLineFocusLost (SCR_ScriptedWidgetComponent component)
void OnDownloadComplete (SCR_WorkshopItemAction action)
void OnRequiredAddonDisabled (SCR_ScriptedWidgetComponent component)
void EnableItems (bool enable, array< ref SCR_WorkshopItem > items, int indexToFocus=-1)
 Enable/disable multiple addons recursively. This does NOT actually enable/disable the addon, just changes it's state in relation to creating the server config.
void UpdateRequiredItems ()
void OnLineButtonUp (SCR_ScriptedWidgetComponent component)
void OnLineButtonDown (SCR_ScriptedWidgetComponent component)
void OnSortConfirm (SCR_ScriptedWidgetComponent component)
void OnEnableAllClicked ()
void OnDisableAllClicked ()
void OnOpenWorkshopButton ()
void OnNavEnableActivated (SCR_InputButtonComponent button, string action)
void SetLineEnabled (bool enabled)
void OnNavEnableAllActivated ()
void OnNavSelectSortActivate (SCR_InputButtonComponent button, string action)
void Sort (SCR_AddonLineDSConfigComponent line)
void StartSort (SCR_AddonLineDSConfigComponent line)
void ReleaseSort ()
void OnDownSort ()
void OnUpSort ()
void FocusLine (SCR_AddonLineDSConfigComponent line)
void EnableModsFromDSConfig (notnull SCR_DSConfig config)
 Fill all entries with values from given DS config.
void SetScenario (MissionWorkshopItem scenario)
array< ref DSModSelectedModsList ()
 Get all selected mods from addon entries.
ScriptInvokerVoid GetEventOnWorkshopButtonActivate ()
ScriptInvokerVoid GetOnRequestDefaultScenario ()

Protected Attributes

const string NAV_ENABLE_ALL = "#AR-ServerHosting_EnableAll"
const string NAV_DISABLE_ALL = "#AR-Workshop_DisableAll"
const string SORT_BTN_SORT_LABEL = "#AR-Editor_TooltipDetail_WaypointIndex_Name"
const string SORT_BTN_SORT_ACTION = "MenuFilter"
const string SORT_BTN_PLACE_LABEL = "#AR-Button_Confirm-UC"
ResourceName m_EntryLayout
ref SCR_ServerHostingModsWidgets m_Widgets = new SCR_ServerHostingModsWidgets()
ScrollLayoutWidget m_wDisableScroll
ScrollLayoutWidget m_wEnableScroll
ref array< ref Widgetm_aEnabled = {}
ref array< ref Widgetm_aDisabled = {}
SCR_InputButtonComponent m_NavWorkshop
SCR_InputButtonComponent m_NavEnable
SCR_InputButtonComponent m_NavEnableAll
SCR_InputButtonComponent m_NavSelectSort
SCR_InputButtonComponent m_NavChangeSortOrder
SCR_AddonLineDSConfigComponent m_FocusedLine
SCR_AddonLineDSConfigComponent m_OrderedLine
ref map< ref SCR_WorkshopItem, ref SCR_AddonLineDSConfigComponentm_ActiveAddons = new map<ref SCR_WorkshopItem, ref SCR_AddonLineDSConfigComponent>()
bool m_bIsSorting
MissionWorkshopItem m_SelectedScenario
ref ScriptInvokerVoid m_OnWorkshopButtonActivate
ref ScriptInvokerVoid m_OnRequestDefaultScenario

Detailed Description

Definition at line 5 of file SCR_ServerHostingModSubMenu.c.

Member Function Documentation

◆ AddLineEntry()

void SCR_ServerHostingModSubMenu::AddLineEntry ( SCR_WorkshopItem item,
int id )
inlineprotected

Definition at line 185 of file SCR_ServerHostingModSubMenu.c.

◆ ClearDownloadingCallbacks()

void SCR_ServerHostingModSubMenu::ClearDownloadingCallbacks ( )
inlineprotected

Definition at line 292 of file SCR_ServerHostingModSubMenu.c.

◆ ClosestAddonLine()

Widget SCR_ServerHostingModSubMenu::ClosestAddonLine ( int lineId,
bool enabled )
inlineprotected

Return closest workshop item, first check down, then up if at the end of the list.

Definition at line 239 of file SCR_ServerHostingModSubMenu.c.

◆ CreateAddonList()

void SCR_ServerHostingModSubMenu::CreateAddonList ( )
inlineprotected

Add all offline mods to selection.

Definition at line 168 of file SCR_ServerHostingModSubMenu.c.

◆ EnableItems()

void SCR_ServerHostingModSubMenu::EnableItems ( bool enable,
array< ref SCR_WorkshopItem > items,
int indexToFocus = -1 )
inlineprotected

Enable/disable multiple addons recursively. This does NOT actually enable/disable the addon, just changes it's state in relation to creating the server config.

Definition at line 433 of file SCR_ServerHostingModSubMenu.c.

◆ EnableModsFromDSConfig()

void SCR_ServerHostingModSubMenu::EnableModsFromDSConfig ( notnull SCR_DSConfig config)
inlineprotected

Fill all entries with values from given DS config.

Definition at line 835 of file SCR_ServerHostingModSubMenu.c.

◆ FindLineByModId()

SCR_AddonLineDSConfigComponent SCR_ServerHostingModSubMenu::FindLineByModId ( string id)
inlineprotected

Definition at line 257 of file SCR_ServerHostingModSubMenu.c.

◆ FocusFirstEntry()

void SCR_ServerHostingModSubMenu::FocusFirstEntry ( )
inlineprotected

Definition at line 158 of file SCR_ServerHostingModSubMenu.c.

◆ FocusLine()

void SCR_ServerHostingModSubMenu::FocusLine ( SCR_AddonLineDSConfigComponent line)
inlineprotected

Definition at line 825 of file SCR_ServerHostingModSubMenu.c.

◆ GetEventOnWorkshopButtonActivate()

ScriptInvokerVoid SCR_ServerHostingModSubMenu::GetEventOnWorkshopButtonActivate ( )
inlineprotected

Definition at line 898 of file SCR_ServerHostingModSubMenu.c.

◆ GetOnRequestDefaultScenario()

ScriptInvokerVoid SCR_ServerHostingModSubMenu::GetOnRequestDefaultScenario ( )
inlineprotected

Definition at line 907 of file SCR_ServerHostingModSubMenu.c.

◆ HandlerAttached()

override void SCR_ServerHostingModSubMenu::HandlerAttached ( Widget w)
inlineprotected

Definition at line 49 of file SCR_ServerHostingModSubMenu.c.

◆ HandlerDeattached()

override void SCR_ServerHostingModSubMenu::HandlerDeattached ( Widget w)
inlineprotected

Definition at line 73 of file SCR_ServerHostingModSubMenu.c.

◆ LastFocusedId()

int SCR_ServerHostingModSubMenu::LastFocusedId ( Widget line,
bool enabled )
inlineprotected

Definition at line 221 of file SCR_ServerHostingModSubMenu.c.

◆ OnAddonDisabled()

void SCR_ServerHostingModSubMenu::OnAddonDisabled ( SCR_ScriptedWidgetComponent component)
inlineprotected

Definition at line 368 of file SCR_ServerHostingModSubMenu.c.

◆ OnAddonEnabled()

void SCR_ServerHostingModSubMenu::OnAddonEnabled ( SCR_ScriptedWidgetComponent component)
inlineprotected

Definition at line 348 of file SCR_ServerHostingModSubMenu.c.

◆ OnCommStatusCheckFinished()

void SCR_ServerHostingModSubMenu::OnCommStatusCheckFinished ( SCR_ECommStatus status,
float responseTime,
float lastSuccessTime,
float lastFailTime )
inlineprotected

Definition at line 143 of file SCR_ServerHostingModSubMenu.c.

◆ OnDisableAllClicked()

void SCR_ServerHostingModSubMenu::OnDisableAllClicked ( )
inlineprotected

Definition at line 655 of file SCR_ServerHostingModSubMenu.c.

◆ OnDownloadComplete()

void SCR_ServerHostingModSubMenu::OnDownloadComplete ( SCR_WorkshopItemAction action)
inlineprotected

Definition at line 415 of file SCR_ServerHostingModSubMenu.c.

◆ OnDownSort()

void SCR_ServerHostingModSubMenu::OnDownSort ( )
inlineprotected

Definition at line 805 of file SCR_ServerHostingModSubMenu.c.

◆ OnEnableAllClicked()

void SCR_ServerHostingModSubMenu::OnEnableAllClicked ( )
inlineprotected

Definition at line 635 of file SCR_ServerHostingModSubMenu.c.

◆ OnLineButtonDown()

void SCR_ServerHostingModSubMenu::OnLineButtonDown ( SCR_ScriptedWidgetComponent component)
inlineprotected

Definition at line 594 of file SCR_ServerHostingModSubMenu.c.

◆ OnLineButtonUp()

void SCR_ServerHostingModSubMenu::OnLineButtonUp ( SCR_ScriptedWidgetComponent component)
inlineprotected

Definition at line 559 of file SCR_ServerHostingModSubMenu.c.

◆ OnLineFocus()

void SCR_ServerHostingModSubMenu::OnLineFocus ( SCR_ScriptedWidgetComponent component)
inlineprotected

Definition at line 390 of file SCR_ServerHostingModSubMenu.c.

◆ OnLineFocusLost()

void SCR_ServerHostingModSubMenu::OnLineFocusLost ( SCR_ScriptedWidgetComponent component)
inlineprotected

Definition at line 402 of file SCR_ServerHostingModSubMenu.c.

◆ OnNavEnableActivated()

void SCR_ServerHostingModSubMenu::OnNavEnableActivated ( SCR_InputButtonComponent button,
string action )
inlineprotected

Definition at line 678 of file SCR_ServerHostingModSubMenu.c.

◆ OnNavEnableAllActivated()

void SCR_ServerHostingModSubMenu::OnNavEnableAllActivated ( )
inlineprotected

Definition at line 701 of file SCR_ServerHostingModSubMenu.c.

◆ OnNavSelectSortActivate()

void SCR_ServerHostingModSubMenu::OnNavSelectSortActivate ( SCR_InputButtonComponent button,
string action )
inlineprotected

Definition at line 713 of file SCR_ServerHostingModSubMenu.c.

◆ OnOpenWorkshopButton()

void SCR_ServerHostingModSubMenu::OnOpenWorkshopButton ( )
inlineprotected

Definition at line 671 of file SCR_ServerHostingModSubMenu.c.

◆ OnRequiredAddonDisabled()

void SCR_ServerHostingModSubMenu::OnRequiredAddonDisabled ( SCR_ScriptedWidgetComponent component)
inlineprotected

Definition at line 423 of file SCR_ServerHostingModSubMenu.c.

◆ OnSortConfirm()

void SCR_ServerHostingModSubMenu::OnSortConfirm ( SCR_ScriptedWidgetComponent component)
inlineprotected

Definition at line 627 of file SCR_ServerHostingModSubMenu.c.

◆ OnTabCreate()

override void SCR_ServerHostingModSubMenu::OnTabCreate ( Widget menuRoot,
ResourceName buttonsLayout,
int index )
inlineprotected

Definition at line 82 of file SCR_ServerHostingModSubMenu.c.

◆ OnTabHide()

override void SCR_ServerHostingModSubMenu::OnTabHide ( )
inlineprotected

Definition at line 124 of file SCR_ServerHostingModSubMenu.c.

◆ OnTabShow()

override void SCR_ServerHostingModSubMenu::OnTabShow ( )
inlineprotected

Definition at line 110 of file SCR_ServerHostingModSubMenu.c.

◆ OnUpSort()

void SCR_ServerHostingModSubMenu::OnUpSort ( )
inlineprotected

Definition at line 815 of file SCR_ServerHostingModSubMenu.c.

◆ ReleaseSort()

void SCR_ServerHostingModSubMenu::ReleaseSort ( )
inlineprotected

Definition at line 767 of file SCR_ServerHostingModSubMenu.c.

◆ SelectedModsList()

array< ref DSMod > SCR_ServerHostingModSubMenu::SelectedModsList ( )
inlineprotected

Get all selected mods from addon entries.

Definition at line 867 of file SCR_ServerHostingModSubMenu.c.

◆ SetLineEnabled()

void SCR_ServerHostingModSubMenu::SetLineEnabled ( bool enabled)
inlineprotected

Definition at line 690 of file SCR_ServerHostingModSubMenu.c.

◆ SetScenario()

void SCR_ServerHostingModSubMenu::SetScenario ( MissionWorkshopItem scenario)
inlineprotected

Definition at line 859 of file SCR_ServerHostingModSubMenu.c.

◆ SetupDownloadingCallbacks()

void SCR_ServerHostingModSubMenu::SetupDownloadingCallbacks ( )
inlineprotected

Setup callbacks for all running downloads.

Definition at line 278 of file SCR_ServerHostingModSubMenu.c.

◆ ShowNavigationButtons()

override void SCR_ServerHostingModSubMenu::ShowNavigationButtons ( bool show)
inlineprotected

Definition at line 149 of file SCR_ServerHostingModSubMenu.c.

◆ Sort()

void SCR_ServerHostingModSubMenu::Sort ( SCR_AddonLineDSConfigComponent line)
inlineprotected

Definition at line 719 of file SCR_ServerHostingModSubMenu.c.

◆ StartSort()

void SCR_ServerHostingModSubMenu::StartSort ( SCR_AddonLineDSConfigComponent line)
inlineprotected

Definition at line 731 of file SCR_ServerHostingModSubMenu.c.

◆ UpdateNavigationButtons()

void SCR_ServerHostingModSubMenu::UpdateNavigationButtons ( SCR_AddonLineDSConfigComponent line,
bool forceDisabled = false )
inlineprotected

Definition at line 306 of file SCR_ServerHostingModSubMenu.c.

◆ UpdateRequiredItems()

void SCR_ServerHostingModSubMenu::UpdateRequiredItems ( )
inlineprotected

Definition at line 517 of file SCR_ServerHostingModSubMenu.c.

◆ UpdateWorkshopButton()

void SCR_ServerHostingModSubMenu::UpdateWorkshopButton ( )
inlineprotected

Definition at line 134 of file SCR_ServerHostingModSubMenu.c.

Member Data Documentation

◆ m_ActiveAddons

ref map<ref SCR_WorkshopItem, ref SCR_AddonLineDSConfigComponent> SCR_ServerHostingModSubMenu::m_ActiveAddons = new map<ref SCR_WorkshopItem, ref SCR_AddonLineDSConfigComponent>()
protected

Definition at line 38 of file SCR_ServerHostingModSubMenu.c.

◆ m_aDisabled

ref array<ref Widget> SCR_ServerHostingModSubMenu::m_aDisabled = {}
protected

Definition at line 25 of file SCR_ServerHostingModSubMenu.c.

◆ m_aEnabled

ref array<ref Widget> SCR_ServerHostingModSubMenu::m_aEnabled = {}
protected

Definition at line 24 of file SCR_ServerHostingModSubMenu.c.

◆ m_bIsSorting

bool SCR_ServerHostingModSubMenu::m_bIsSorting
protected

Definition at line 40 of file SCR_ServerHostingModSubMenu.c.

◆ m_EntryLayout

ResourceName SCR_ServerHostingModSubMenu::m_EntryLayout
protected

Definition at line 16 of file SCR_ServerHostingModSubMenu.c.

◆ m_FocusedLine

SCR_AddonLineDSConfigComponent SCR_ServerHostingModSubMenu::m_FocusedLine
protected

Definition at line 34 of file SCR_ServerHostingModSubMenu.c.

◆ m_NavChangeSortOrder

SCR_InputButtonComponent SCR_ServerHostingModSubMenu::m_NavChangeSortOrder
protected

Definition at line 32 of file SCR_ServerHostingModSubMenu.c.

◆ m_NavEnable

SCR_InputButtonComponent SCR_ServerHostingModSubMenu::m_NavEnable
protected

Definition at line 29 of file SCR_ServerHostingModSubMenu.c.

◆ m_NavEnableAll

SCR_InputButtonComponent SCR_ServerHostingModSubMenu::m_NavEnableAll
protected

Definition at line 30 of file SCR_ServerHostingModSubMenu.c.

◆ m_NavSelectSort

SCR_InputButtonComponent SCR_ServerHostingModSubMenu::m_NavSelectSort
protected

Definition at line 31 of file SCR_ServerHostingModSubMenu.c.

◆ m_NavWorkshop

SCR_InputButtonComponent SCR_ServerHostingModSubMenu::m_NavWorkshop
protected

Definition at line 28 of file SCR_ServerHostingModSubMenu.c.

◆ m_OnRequestDefaultScenario

ref ScriptInvokerVoid SCR_ServerHostingModSubMenu::m_OnRequestDefaultScenario
protected

Definition at line 45 of file SCR_ServerHostingModSubMenu.c.

◆ m_OnWorkshopButtonActivate

ref ScriptInvokerVoid SCR_ServerHostingModSubMenu::m_OnWorkshopButtonActivate
protected

Definition at line 44 of file SCR_ServerHostingModSubMenu.c.

◆ m_OrderedLine

SCR_AddonLineDSConfigComponent SCR_ServerHostingModSubMenu::m_OrderedLine
protected

Definition at line 35 of file SCR_ServerHostingModSubMenu.c.

◆ m_SelectedScenario

MissionWorkshopItem SCR_ServerHostingModSubMenu::m_SelectedScenario
protected

Definition at line 42 of file SCR_ServerHostingModSubMenu.c.

◆ m_wDisableScroll

ScrollLayoutWidget SCR_ServerHostingModSubMenu::m_wDisableScroll
protected

Definition at line 21 of file SCR_ServerHostingModSubMenu.c.

◆ m_wEnableScroll

ScrollLayoutWidget SCR_ServerHostingModSubMenu::m_wEnableScroll
protected

Definition at line 22 of file SCR_ServerHostingModSubMenu.c.

◆ m_Widgets

ref SCR_ServerHostingModsWidgets SCR_ServerHostingModSubMenu::m_Widgets = new SCR_ServerHostingModsWidgets()
protected

Definition at line 19 of file SCR_ServerHostingModSubMenu.c.

◆ NAV_DISABLE_ALL

const string SCR_ServerHostingModSubMenu::NAV_DISABLE_ALL = "#AR-Workshop_DisableAll"
protected

Definition at line 8 of file SCR_ServerHostingModSubMenu.c.

◆ NAV_ENABLE_ALL

const string SCR_ServerHostingModSubMenu::NAV_ENABLE_ALL = "#AR-ServerHosting_EnableAll"
protected

Definition at line 7 of file SCR_ServerHostingModSubMenu.c.

◆ SORT_BTN_PLACE_LABEL

const string SCR_ServerHostingModSubMenu::SORT_BTN_PLACE_LABEL = "#AR-Button_Confirm-UC"
protected

Definition at line 12 of file SCR_ServerHostingModSubMenu.c.

◆ SORT_BTN_SORT_ACTION

const string SCR_ServerHostingModSubMenu::SORT_BTN_SORT_ACTION = "MenuFilter"
protected

Definition at line 11 of file SCR_ServerHostingModSubMenu.c.

◆ SORT_BTN_SORT_LABEL

const string SCR_ServerHostingModSubMenu::SORT_BTN_SORT_LABEL = "#AR-Editor_TooltipDetail_WaypointIndex_Name"
protected

Definition at line 10 of file SCR_ServerHostingModSubMenu.c.


The documentation for this class was generated from the following file: