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

Go to the source code of this file.

Data Structures

class  SCR_CompareMissionName
 
class  SCR_CompareMissionPlayerCount
 
class  SCR_CompareMissionTimeSinceLastPlay
 

Enumerations

enum  EScenarioSubMenuMode
 

Functions

enum EScenarioSubMenuMode Attribute ("0", UIWidgets.ComboBox, "Mode in which this submenu must work.", "", ParamEnumArray.FromEnum(EScenarioSubMenuMode))] EScenarioSubMenuMode m_eMode
 
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. More...
 
protected void UpdateScenarioList (bool setNewFocus)
 Requests missions from API and shows them in the list. More...
 
protected void ScenarioList_ClearMissionEntries ()
 
protected void ScenarioList_CreateMissionEntries (array< MissionWorkshopItem > scenarios, bool setNewFocus)
 Creates lines for missions in the scroll view. More...
 
protected void OnSearchConfirm (SCR_EditBoxComponent comp, string newValue)
 Called when user confirms the value in the seacrh string. More...
 
protected void OnSortingHeaderChange (SCR_SortHeaderComponent sortHeader)
 Called when sorting header changes. More...
 
void SetPanelsMode (bool showEmptyPanel, string messagePresetTag=string.Empty)
 
array< MissionWorkshopItem > SearchScenarios (array< MissionWorkshopItem > scenarios, string searchStr)
 
SCR_CompareMissionName SCR_SortCompare Compare (MissionWorkshopItem left, MissionWorkshopItem right)
 

Variables

 MODE_ALL
 
 MODE_FAVOURITE
 
 MODE_RECENT
 
const protected int RECENTLY_PLAYED_MAX_ENTRIES = 10
 
const protected string MESSAGE_TAG_NOTHING_FOUND = "nothing_found"
 
const protected string MESSAGE_TAG_NOTHING_FOUND_2 = "nothing_found2"
 
const protected string MESSAGE_TAG_NOTHING_FAVOURITE = "nothing_favourite"
 
const protected string MESSAGE_TAG_NOTHING_FAVOURITE_2 ="nothing_favourite2"
 
const protected string MESSAGE_TAG_NOTHING_RECENT = "nothing_recent"
 
const protected string MESSAGE_TAG_NOTHING_RECENT_2 = "nothing_recent2"
 
protected ref SCR_ContentBrowser_ScenarioSubMenuWidgets m_Widgets = new SCR_ContentBrowser_ScenarioSubMenuWidgets
 
protected Widget m_wBeforeSort
 
protected int m_iEntriesTotal
 
protected int m_iEntriesCurrent
 

Enumeration Type Documentation

◆ EScenarioSubMenuMode

Function Documentation

◆ Attribute()

enum EScenarioSubMenuMode Attribute ( "0"  ,
UIWidgets.  ComboBox,
"Mode in which this submenu must work."  ,
""  ,
ParamEnumArray.  FromEnumEScenarioSubMenuMode 
)

◆ Compare()

SCR_CompareMissionName SCR_SortCompare Compare ( MissionWorkshopItem  left,
MissionWorkshopItem  right 
)

Definition at line 561 of file SCR_ContentBrowser_ScenarioSubMenu.c.

◆ Continue()

override void Continue ( MissionWorkshopItem  scenario)

Definition at line 116 of file SCR_ContentBrowser_ScenarioSubMenu.c.

◆ InitWidgets()

override void InitWidgets ( )

Definition at line 87 of file SCR_ContentBrowser_ScenarioSubMenu.c.

◆ OnMenuFocusGained()

override void OnMenuFocusGained ( )

Definition at line 70 of file SCR_ContentBrowser_ScenarioSubMenu.c.

◆ OnRestartConfirmed()

override void OnRestartConfirmed ( )

Definition at line 126 of file SCR_ContentBrowser_ScenarioSubMenu.c.

◆ OnScenarioStateChanged()

override void OnScenarioStateChanged ( SCR_ContentBrowser_ScenarioLineComponent  comp)

Called from scenario line component when scenario state changes.

Definition at line 134 of file SCR_ContentBrowser_ScenarioSubMenu.c.

◆ OnSearchConfirm()

protected void OnSearchConfirm ( SCR_EditBoxComponent  comp,
string  newValue 
)

Called when user confirms the value in the seacrh string.

Definition at line 439 of file SCR_ContentBrowser_ScenarioSubMenu.c.

◆ OnSortingHeaderChange()

protected void OnSortingHeaderChange ( SCR_SortHeaderComponent  sortHeader)

Called when sorting header changes.

Definition at line 446 of file SCR_ContentBrowser_ScenarioSubMenu.c.

◆ OnTabCreate()

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

Definition at line 35 of file SCR_ContentBrowser_ScenarioSubMenu.c.

◆ OnTabHide()

override void OnTabHide ( )

Definition at line 61 of file SCR_ContentBrowser_ScenarioSubMenu.c.

◆ OnTabShow()

override void OnTabShow ( )

Definition at line 50 of file SCR_ContentBrowser_ScenarioSubMenu.c.

◆ Play()

override void Play ( MissionWorkshopItem  scenario)

Definition at line 106 of file SCR_ContentBrowser_ScenarioSubMenu.c.

◆ ScenarioList_ClearMissionEntries()

protected void ScenarioList_ClearMissionEntries ( )

Definition at line 339 of file SCR_ContentBrowser_ScenarioSubMenu.c.

◆ ScenarioList_CreateMissionEntries()

protected void ScenarioList_CreateMissionEntries ( array< MissionWorkshopItem >  scenarios,
bool  setNewFocus 
)

Creates lines for missions in the scroll view.

Definition at line 353 of file SCR_ContentBrowser_ScenarioSubMenu.c.

◆ SearchScenarios()

array<MissionWorkshopItem> SearchScenarios ( array< MissionWorkshopItem >  scenarios,
string  searchStr 
)

Definition at line 489 of file SCR_ContentBrowser_ScenarioSubMenu.c.

◆ SetPanelsMode()

void SetPanelsMode ( bool  showEmptyPanel,
string  messagePresetTag = string.Empty 
)

Definition at line 464 of file SCR_ContentBrowser_ScenarioSubMenu.c.

◆ UpdateNavigationButtons()

override void UpdateNavigationButtons ( bool  visible = true)

Definition at line 99 of file SCR_ContentBrowser_ScenarioSubMenu.c.

◆ UpdateScenarioList()

protected void UpdateScenarioList ( bool  setNewFocus)

Requests missions from API and shows them in the list.

Definition at line 143 of file SCR_ContentBrowser_ScenarioSubMenu.c.

Variable Documentation

◆ m_iEntriesCurrent

protected int m_iEntriesCurrent

Definition at line 32 of file SCR_ContentBrowser_ScenarioSubMenu.c.

◆ m_iEntriesTotal

protected int m_iEntriesTotal

Definition at line 31 of file SCR_ContentBrowser_ScenarioSubMenu.c.

◆ m_wBeforeSort

protected Widget m_wBeforeSort

Definition at line 29 of file SCR_ContentBrowser_ScenarioSubMenu.c.

◆ m_Widgets

◆ MESSAGE_TAG_NOTHING_FAVOURITE

const protected string MESSAGE_TAG_NOTHING_FAVOURITE = "nothing_favourite"

Definition at line 21 of file SCR_ContentBrowser_ScenarioSubMenu.c.

◆ MESSAGE_TAG_NOTHING_FAVOURITE_2

const protected string MESSAGE_TAG_NOTHING_FAVOURITE_2 ="nothing_favourite2"

Definition at line 22 of file SCR_ContentBrowser_ScenarioSubMenu.c.

◆ MESSAGE_TAG_NOTHING_FOUND

const protected string MESSAGE_TAG_NOTHING_FOUND = "nothing_found"

Definition at line 19 of file SCR_ContentBrowser_ScenarioSubMenu.c.

◆ MESSAGE_TAG_NOTHING_FOUND_2

const protected string MESSAGE_TAG_NOTHING_FOUND_2 = "nothing_found2"

Definition at line 20 of file SCR_ContentBrowser_ScenarioSubMenu.c.

◆ MESSAGE_TAG_NOTHING_RECENT

const protected string MESSAGE_TAG_NOTHING_RECENT = "nothing_recent"

Definition at line 23 of file SCR_ContentBrowser_ScenarioSubMenu.c.

◆ MESSAGE_TAG_NOTHING_RECENT_2

const protected string MESSAGE_TAG_NOTHING_RECENT_2 = "nothing_recent2"

Definition at line 24 of file SCR_ContentBrowser_ScenarioSubMenu.c.

◆ MODE_ALL

MODE_ALL

Definition at line 2 of file SCR_ContentBrowser_ScenarioSubMenu.c.

◆ MODE_FAVOURITE

MODE_FAVOURITE

Definition at line 3 of file SCR_ContentBrowser_ScenarioSubMenu.c.

◆ MODE_RECENT

MODE_RECENT

Definition at line 5 of file SCR_ContentBrowser_ScenarioSubMenu.c.

◆ RECENTLY_PLAYED_MAX_ENTRIES

const protected int RECENTLY_PLAYED_MAX_ENTRIES = 10

Definition at line 15 of file SCR_ContentBrowser_ScenarioSubMenu.c.