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

Go to the source code of this file.

Data Structures

class  SCR_ScenarioDialogs
 

Typedefs

typedef func ScriptInvokerMissionWorkshopItemMethod
 
typedef ScriptInvokerBase< ScriptInvokerMissionWorkshopItemMethodScriptInvokerMissionWorkshopItem
 

Functions

void ScriptInvokerMissionWorkshopItemMethod (MissionWorkshopItem item)
 
void SCR_ScenarioConfirmationDialogUi (MissionWorkshopItem scenario, ScriptInvokerBool onFavoritesResponse=null)
 
override void OnMenuOpen (SCR_ConfigurableDialogUiPreset preset)
 OVERRIDES. More...
 
override void OnMenuClose ()
 
override void OnButtonPressed (SCR_InputButtonComponent button)
 
override void SetTitle (string text)
 
override SCR_InputButtonComponent CreateButton (SCR_ConfigurableDialogUiButtonPreset buttonPreset)
 
protected void OnCommStatusCheckFinished (SCR_ECommStatus status, float responseTime, float lastSuccessTime, float lastFailTime)
 PROTECTED. More...
 
protected void OnFavoritesButton ()
 
protected void UpdateFavoriteWidgets (bool isFavorite)
 
MissionWorkshopItem GetScenario ()
 PUBLIC. More...
 
ScriptInvokerMissionWorkshopItem GetOnFavorite ()
 

Variables

class SCR_ScenarioDialogs m_Scenario
 
protected SCR_InputButtonComponent m_Favorite
 
protected SCR_InputButtonComponent m_Host
 
protected SCR_InputButtonComponent m_FindServers
 
protected ref array< SCR_InputButtonComponentm_aRightFooterButtons = {}
 
protected SCR_ModularButtonComponent m_FavoriteStarButton
 
protected bool m_bHandleFavoriting = true
 If true, the dialog itself will set the scenario favorite state, otherwise it will live it to the menu or handler class. More...
 
protected ref ScriptInvokerMissionWorkshopItem m_OnFavorite
 
const protected int MAX_TITLE_LENGTH = 55
 

Typedef Documentation

◆ ScriptInvokerMissionWorkshopItem

◆ ScriptInvokerMissionWorkshopItemMethod

Function Documentation

◆ CreateButton()

override SCR_InputButtonComponent CreateButton ( SCR_ConfigurableDialogUiButtonPreset  buttonPreset)

Definition at line 197 of file SCR_ScenarioDialogs.c.

◆ GetOnFavorite()

Definition at line 265 of file SCR_ScenarioDialogs.c.

◆ GetScenario()

MissionWorkshopItem GetScenario ( )

PUBLIC.

Definition at line 259 of file SCR_ScenarioDialogs.c.

◆ OnButtonPressed()

override void OnButtonPressed ( SCR_InputButtonComponent  button)

Definition at line 156 of file SCR_ScenarioDialogs.c.

◆ OnCommStatusCheckFinished()

protected void OnCommStatusCheckFinished ( SCR_ECommStatus  status,
float  responseTime,
float  lastSuccessTime,
float  lastFailTime 
)

PROTECTED.

Definition at line 216 of file SCR_ScenarioDialogs.c.

◆ OnFavoritesButton()

protected void OnFavoritesButton ( )

Definition at line 226 of file SCR_ScenarioDialogs.c.

◆ OnMenuClose()

override void OnMenuClose ( )

Definition at line 150 of file SCR_ScenarioDialogs.c.

◆ OnMenuOpen()

override void OnMenuOpen ( SCR_ConfigurableDialogUiPreset  preset)

OVERRIDES.

Update visuals

Content layout

Type and player count

Source addon

Footer Buttons

Star button

Favorites widgets update

Definition at line 63 of file SCR_ScenarioDialogs.c.

◆ SCR_ScenarioConfirmationDialogUi()

void SCR_ScenarioConfirmationDialogUi ( MissionWorkshopItem  scenario,
ScriptInvokerBool  onFavoritesResponse = null 
)

Definition at line 50 of file SCR_ScenarioDialogs.c.

◆ ScriptInvokerMissionWorkshopItemMethod()

void ScriptInvokerMissionWorkshopItemMethod ( MissionWorkshopItem  item)

Classes for Scenario dialogs

◆ SetTitle()

override void SetTitle ( string  text)

Definition at line 178 of file SCR_ScenarioDialogs.c.

◆ UpdateFavoriteWidgets()

protected void UpdateFavoriteWidgets ( bool  isFavorite)

Definition at line 243 of file SCR_ScenarioDialogs.c.

Variable Documentation

◆ m_aRightFooterButtons

protected ref array<SCR_InputButtonComponent> m_aRightFooterButtons = {}

Definition at line 37 of file SCR_ScenarioDialogs.c.

◆ m_bHandleFavoriting

protected bool m_bHandleFavoriting = true

If true, the dialog itself will set the scenario favorite state, otherwise it will live it to the menu or handler class.

Definition at line 42 of file SCR_ScenarioDialogs.c.

◆ m_Favorite

protected SCR_InputButtonComponent m_Favorite

Definition at line 34 of file SCR_ScenarioDialogs.c.

◆ m_FavoriteStarButton

protected SCR_ModularButtonComponent m_FavoriteStarButton

Definition at line 39 of file SCR_ScenarioDialogs.c.

◆ m_FindServers

protected SCR_InputButtonComponent m_FindServers

Definition at line 36 of file SCR_ScenarioDialogs.c.

◆ m_Host

protected SCR_InputButtonComponent m_Host

Definition at line 35 of file SCR_ScenarioDialogs.c.

◆ m_OnFavorite

protected ref ScriptInvokerMissionWorkshopItem m_OnFavorite

Definition at line 44 of file SCR_ScenarioDialogs.c.

◆ m_Scenario

class SCR_ScenarioDialogs m_Scenario

◆ MAX_TITLE_LENGTH

const protected int MAX_TITLE_LENGTH = 55

Definition at line 47 of file SCR_ScenarioDialogs.c.