Arma Reforger Script API
|
Public Member Functions | |
override void | OnTabCreate (Widget menuRoot, ResourceName buttonsLayout, int index) |
override void | OnTabShow () |
override void | OnTabHide () |
override void | OnMenuFocusGained () |
override void | InitWidgets () |
override void | UpdateNavigationButtons (bool visible=true) |
override void | Play (MissionWorkshopItem scenario) |
override void | Continue (MissionWorkshopItem scenario) |
override void | OnRestartConfirmed () |
override void | OnScenarioStateChanged (SCR_ContentBrowser_ScenarioLineComponent comp) |
Called from scenario line component when scenario state changes. | |
void | SetPanelsMode (bool showEmptyPanel, string messagePresetTag=string.Empty) |
array< MissionWorkshopItem > | SearchScenarios (array< MissionWorkshopItem > scenarios, string searchStr) |
Public Member Functions inherited from SCR_ContentBrowser_ScenarioSubMenuBase | |
override void | HandlerAttached (Widget w) |
override void | OnTabCreate (Widget menuRoot, ResourceName buttonsLayout, int index) |
override void | OnMenuUpdate (float tDelta) |
override void | OnTabShow () |
override void | OnTabHide () |
override void | OnMenuFocusGained () |
override void | OnMenuShow () |
ScriptInvokerBool | GetOnLineFavorite () |
Public Member Functions inherited from SCR_SubMenuBase | |
void | OnMenuFocusGained () |
void | OnMenuFocusLost () |
void | OnMenuShow () |
void | OnMenuHide () |
void | OnMenuUpdate (float tDelta) |
void | OnTabCreate (Widget menuRoot, ResourceName buttonsLayout, int index) |
void | OnTabShow () |
void | OnTabHide () |
void | OnTabRemove () |
void | OnTabChange () |
bool | GetShown () |
int | GetIndex () |
ScriptInvokerVoid | GetOnRequestCloseMenu () |
ScriptInvokerInt2 | GetOnRequestTabChange () |
Public Member Functions inherited from SCR_ScriptedWidgetComponent | |
override void | HandlerAttached (Widget w) |
override bool | OnClick (Widget w, int x, int y, int button) |
Widget | GetRootWidget () |
bool | IsVisible () |
Public Attributes | |
EScenarioSubMenuMode | m_eMode |
Public Attributes inherited from SCR_ScriptedWidgetComponent | |
ref ScriptInvoker | m_OnClick = new ScriptInvoker |
Protected Member Functions | |
override bool | CreateLines (array< MissionWorkshopItem > scenarios, Widget parent) |
Be able to create various lines type - saves. | |
override Widget | CreateLine (ResourceName layout, Widget parent, MissionWorkshopItem scenario) |
void | UpdateScenarioList (bool setNewFocus) |
Requests missions from API and shows them in the list. | |
bool | ScenarioEmptyMessage (array< MissionWorkshopItem > mission, string messageTag) |
void | ScenarioList_ClearMissionEntries () |
void | ScenarioList_CreateMissionEntries (array< MissionWorkshopItem > scenarios, bool setNewFocus) |
Creates lines for missions in the scroll view. | |
void | OnSearchConfirm (SCR_EditBoxComponent comp, string newValue) |
Called when user confirms the value in the seacrh string. | |
void | OnSortingHeaderChange (SCR_SortHeaderComponent sortHeader) |
Called when sorting header changes. | |
Protected Member Functions inherited from SCR_ContentBrowser_ScenarioSubMenuBase | |
void | OnCommStatusCheckFinished (SCR_ECommStatus status, float responseTime, float lastSuccessTime, float lastFailTime) |
void | OnLineFocus (SCR_ScriptedWidgetComponent entry) |
void | OnLineFocusLost (SCR_ScriptedWidgetComponent entry) |
void | OnLineMouseEnter (SCR_ScriptedWidgetComponent entry) |
void | OnLineMouseClick (SCR_ScriptedWidgetComponent button) |
void | OnLineFavorite (SCR_BrowserListMenuEntryComponent entry, bool favorite) |
void | OnScenarioStateChanged (SCR_ContentBrowser_ScenarioLineComponent comp) |
Called from scenario line component when scenario state changes. | |
void | OnActionTriggered (string action, float multiplier) |
void | OnInteractionButtonPressed (string action) |
void | OnConfirmationDialogButtonPressed (SCR_ScenarioConfirmationDialogUi dialog, string tag) |
void | SwitchOnButton (string tag, MissionWorkshopItem scenario) |
void | OnLineClickInteraction (float multiplier) |
void | OnLineClick (SCR_ContentBrowser_ScenarioLineComponent lineComp) |
void | OnLineDoubleClick (SCR_ContentBrowser_ScenarioLineComponent lineComp) |
void | OnFavouriteButton () |
void | OnPlayInteraction (MissionWorkshopItem scenario) |
void | Play (MissionWorkshopItem scenario) |
void | Continue (MissionWorkshopItem scenario) |
void | Restart (MissionWorkshopItem scenario) |
void | OnRestartConfirmed () |
void | Join (MissionWorkshopItem scenario) |
void | Host (MissionWorkshopItem scenario) |
void | SetFavorite (MissionWorkshopItem scenario) |
bool | CreateLines (array< MissionWorkshopItem > scenarios, Widget parent) |
Widget | CreateLine (ResourceName layout, Widget parent, MissionWorkshopItem scenario) |
void | InitWidgets () |
void | InitWorkshopApi () |
void | UpdateSidePanel () |
void | UpdateNavigationButtons (bool visible=true) |
SCR_ContentBrowser_ScenarioLineComponent | GetSelectedLine () |
SCR_ContentBrowser_ScenarioLineComponent | GetLineUnderCursor () |
MissionWorkshopItem | GetSelectedScenario () |
Protected Member Functions inherited from SCR_SubMenuBase | |
void | ShowNavigationButtons (bool show) |
void | FlagNavigationButtonVisibility (SCR_InputButtonComponent button, bool show) |
void | SetNavigationButtonVisibile (SCR_InputButtonComponent button, bool show, bool animate=false) |
SCR_InputButtonComponent | CreateNavigationButton (string actionName, string label, bool rightFooter=false, bool show=true) |
void | RequestCloseMenu () |
void | RequestTabChange (int newTabIndex) |
Static Protected Member Functions | |
static bool | SearchStringLocalized (string str, string searchStrLower) |
Static Protected Attributes | |
const int | RECENTLY_PLAYED_MAX_ENTRIES = 10 |
const string | MESSAGE_TAG_NOTHING_FOUND = "nothing_found" |
const string | MESSAGE_TAG_NOTHING_FOUND_2 = "nothing_found2" |
const string | MESSAGE_TAG_NOTHING_FAVOURITE = "nothing_favourite" |
const string | MESSAGE_TAG_NOTHING_FAVOURITE_2 ="nothing_favourite2" |
const string | MESSAGE_TAG_NOTHING_RECENT = "nothing_recent" |
const string | MESSAGE_TAG_NOTHING_RECENT_2 = "nothing_recent2" |
const string | MESSAGE_TAG_NO_SAVE = "no_save" |
const string | MESSAGE_TAG_NO_SAVE_FOUND = "no_save_found" |
Additional Inherited Members | |
Static Public Member Functions inherited from SCR_ScriptedWidgetComponent | |
static SCR_ScriptedWidgetComponent | GetComponent (TypeName componentType, string name, Widget parent, bool searchAllChildren=true) |
Base method for component lookup through the widget library. | |
override void SCR_ContentBrowser_ScenarioSubMenu.Continue | ( | MissionWorkshopItem | scenario | ) |
Implements SCR_ContentBrowser_ScenarioSubMenuBase.
|
protected |
Implements SCR_ContentBrowser_ScenarioSubMenuBase.
|
protected |
Be able to create various lines type - saves.
Implements SCR_ContentBrowser_ScenarioSubMenuBase.
override void SCR_ContentBrowser_ScenarioSubMenu.InitWidgets | ( | ) |
Implements SCR_ContentBrowser_ScenarioSubMenuBase.
override void SCR_ContentBrowser_ScenarioSubMenu.OnMenuFocusGained | ( | ) |
Implements SCR_ContentBrowser_ScenarioSubMenuBase.
override void SCR_ContentBrowser_ScenarioSubMenu.OnRestartConfirmed | ( | ) |
Implements SCR_ContentBrowser_ScenarioSubMenuBase.
override void SCR_ContentBrowser_ScenarioSubMenu.OnScenarioStateChanged | ( | SCR_ContentBrowser_ScenarioLineComponent | comp | ) |
Called from scenario line component when scenario state changes.
Implements SCR_ContentBrowser_ScenarioSubMenuBase.
|
protected |
Called when user confirms the value in the seacrh string.
|
protected |
Called when sorting header changes.
override void SCR_ContentBrowser_ScenarioSubMenu.OnTabCreate | ( | Widget | menuRoot, |
ResourceName | buttonsLayout, | ||
int | index | ||
) |
Implements SCR_ContentBrowser_ScenarioSubMenuBase.
override void SCR_ContentBrowser_ScenarioSubMenu.OnTabHide | ( | ) |
Implements SCR_ContentBrowser_ScenarioSubMenuBase.
override void SCR_ContentBrowser_ScenarioSubMenu.OnTabShow | ( | ) |
Implements SCR_ContentBrowser_ScenarioSubMenuBase.
override void SCR_ContentBrowser_ScenarioSubMenu.Play | ( | MissionWorkshopItem | scenario | ) |
Implements SCR_ContentBrowser_ScenarioSubMenuBase.
|
protected |
|
protected |
|
protected |
Creates lines for missions in the scroll view.
array< MissionWorkshopItem > SCR_ContentBrowser_ScenarioSubMenu.SearchScenarios | ( | array< MissionWorkshopItem > | scenarios, |
string | searchStr | ||
) |
|
staticprotected |
void SCR_ContentBrowser_ScenarioSubMenu.SetPanelsMode | ( | bool | showEmptyPanel, |
string | messagePresetTag = string::Empty |
||
) |
override void SCR_ContentBrowser_ScenarioSubMenu.UpdateNavigationButtons | ( | bool | visible = true | ) |
Implements SCR_ContentBrowser_ScenarioSubMenuBase.
|
protected |
Requests missions from API and shows them in the list.
EScenarioSubMenuMode SCR_ContentBrowser_ScenarioSubMenu.m_eMode |
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |