Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_ServerBrowserDialogManager Class Reference

Protected Member Functions

void DisplayDialog (EJoinDialogState state)
 Display dialog by state and setup current state.
void SetDialogMessage (string msg)
void CloseCurrentDialog ()
void SetDialogByTag (string tag, SCR_ConfigurableDialogUi dialog=null)
 Quick short code to open dialog by tag and cache it.
void OnDialogConfirm ()
void OnDialogCancel ()
void DisplayJoinFail (EApiCode apiError)
 Show join fail message in dialog.
void DisplayJoinBan (RoomJoinData data)
void OnAllReportsCanceled (SCR_ReportedAddonsDialog dialog)
 Call this when all reports from dialog are cancled to clear invoker actions and display download dialog.
void DisplayJoinDownloadsWarning (array< ref SCR_WorkshopItemActionDownload > downloads, SCR_EJoinDownloadsConfirmationDialogType type)
void OnDownloadingDone ()
void DisplayPasswordRequired ()
 Display dialog for password insert whenever password is required.
void OnPasswordEditboxChanged (string text)
 Call this whenever password dialog editbox is being edited.
MultiplayerDialogUI CreateManualJoinDialog ()
 DECOUPLED DIALOGS.
SCR_ServerDetailsDialog CreateServerDetailsDialog (Room room, array< ref SCR_WorkshopItem > items, ScriptInvokerVoid onFavoritesResponse=null)
void FillRoomDetailsMods (array< ref SCR_WorkshopItem > items, SCR_RoomModsManager modsManager=null)
void UpdateRoomDetailsScenarioImage (MissionWorkshopItem scenario)
SCR_ServerFullDialog CreateServerFullDialog ()
void UpdateServerFullScenarioImage (MissionWorkshopItem scenario)
void UpdateServerFullDialog ()
void CreateBlockedPlayersWarningDialog (array< BlockedRoomPlayer > blockedPlayers)
ScriptInvokerVoid GetOnConfirm ()
ScriptInvokerVoid GetOnCancel ()
ScriptInvokerVoid GetOnJoinProcessCancel ()
ScriptInvokerRoom GetOnDownloadComplete ()
ScriptInvokerVoid GetOnDownloadCancelDialogClose ()
EJoinDialogState GetDisplayState ()
SCR_ConfigurableDialogUi GetCurrentDialog ()
bool IsDialogOpen ()
void SetJoinRoom (Room room)
void SetModManager (SCR_RoomModsManager modManager)

Protected Attributes

const string OFFICIAL_SERVER_SCOPE = "officialServer"
const string TAG_SEARCHING_SERVER = "SEARCHING_SERVER"
const string TAG_JOIN = "JOIN"
const string TAG_REJOIN = "REJOIN"
const string TAG_SERVER_NOT_FOUND = "SERVER_NOT_FOUND"
const string TAG_VERSION_MISMATCH = "VERSION_MISMATCH"
const string TAG_CHECKING_CONTENT = "CHECKING_CONTENT"
const string TAG_MOD_UGC_PRIVILEGE_MISSING = "MOD_UGC_PRIVILEGE_MISSING"
const string TAG_MODS_DOWNLOADING = "MODS_DOWNLOADING"
const string TAG_SERVER_FULL = "SERVER_FULL"
const string TAG_PASSWORD_REQUIRED = "PASSWORD_REQUIRED"
const string TAG_BACKEND_TIMEOUT = "BACKEND_TIMEOUT"
const string TAG_BANNED = "JOIN_FAILED_BAN"
const string TAG_HIGH_PING_SERVER = "HIGH_PING_SERVER"
const string TAG_UNRELATED_DOWNLOADS_CANCELING = "UNRELATED_DOWNLOADS_CANCELING"
const string STR_LIGHT_BAN = "#AR-LightBan"
const string STR_HEAVY_BAN = "#AR-HeavyBan"
Room m_JoinRoom
SCR_RoomModsManager m_ModManager
ServerBrowserMenuUI m_ServerBrowser
EJoinDialogState m_iDisplayState
SCR_ConfigurableDialogUi m_CurrentDialog
const string ERROR_TAG_DEFAULT = "JOIN_FAILED"
ref ScriptInvokerVoid m_OnConfirm
ref ScriptInvokerVoid m_OnCancel
ref ScriptInvokerVoid m_OnJoinProcessCancel
ref ScriptInvokerRoom m_OnDownloadComplete
ref ScriptInvokerVoid m_OnDownloadCancelDialogClose

Detailed Description

Class for handling server browser dialogs. Server browser use multiple dialogs in joining process for checking servers, mod content and restrictinos.

Definition at line 7 of file SCR_ServerBrowserDialogManager.c.

Member Function Documentation

◆ CloseCurrentDialog()

void SCR_ServerBrowserDialogManager::CloseCurrentDialog ( )
inlineprotected

Definition at line 164 of file SCR_ServerBrowserDialogManager.c.

◆ CreateBlockedPlayersWarningDialog()

void SCR_ServerBrowserDialogManager::CreateBlockedPlayersWarningDialog ( array< BlockedRoomPlayer > blockedPlayers)
inlineprotected

Definition at line 414 of file SCR_ServerBrowserDialogManager.c.

◆ CreateManualJoinDialog()

MultiplayerDialogUI SCR_ServerBrowserDialogManager::CreateManualJoinDialog ( )
inlineprotected

DECOUPLED DIALOGS.

Definition at line 346 of file SCR_ServerBrowserDialogManager.c.

◆ CreateServerDetailsDialog()

SCR_ServerDetailsDialog SCR_ServerBrowserDialogManager::CreateServerDetailsDialog ( Room room,
array< ref SCR_WorkshopItem > items,
ScriptInvokerVoid onFavoritesResponse = null )
inlineprotected

Definition at line 357 of file SCR_ServerBrowserDialogManager.c.

◆ CreateServerFullDialog()

SCR_ServerFullDialog SCR_ServerBrowserDialogManager::CreateServerFullDialog ( )
inlineprotected

Definition at line 383 of file SCR_ServerBrowserDialogManager.c.

◆ DisplayDialog()

void SCR_ServerBrowserDialogManager::DisplayDialog ( EJoinDialogState state)
inlineprotected

Display dialog by state and setup current state.

Definition at line 57 of file SCR_ServerBrowserDialogManager.c.

◆ DisplayJoinBan()

void SCR_ServerBrowserDialogManager::DisplayJoinBan ( RoomJoinData data)
inlineprotected

Definition at line 246 of file SCR_ServerBrowserDialogManager.c.

◆ DisplayJoinDownloadsWarning()

void SCR_ServerBrowserDialogManager::DisplayJoinDownloadsWarning ( array< ref SCR_WorkshopItemActionDownload > downloads,
SCR_EJoinDownloadsConfirmationDialogType type )
inlineprotected

Definition at line 283 of file SCR_ServerBrowserDialogManager.c.

◆ DisplayJoinFail()

void SCR_ServerBrowserDialogManager::DisplayJoinFail ( EApiCode apiError)
inlineprotected

Show join fail message in dialog.

Definition at line 213 of file SCR_ServerBrowserDialogManager.c.

◆ DisplayPasswordRequired()

void SCR_ServerBrowserDialogManager::DisplayPasswordRequired ( )
inlineprotected

Display dialog for password insert whenever password is required.

Definition at line 319 of file SCR_ServerBrowserDialogManager.c.

◆ FillRoomDetailsMods()

void SCR_ServerBrowserDialogManager::FillRoomDetailsMods ( array< ref SCR_WorkshopItem > items,
SCR_RoomModsManager modsManager = null )
inlineprotected

Definition at line 367 of file SCR_ServerBrowserDialogManager.c.

◆ GetCurrentDialog()

SCR_ConfigurableDialogUi SCR_ServerBrowserDialogManager::GetCurrentDialog ( )
inlineprotected

Definition at line 482 of file SCR_ServerBrowserDialogManager.c.

◆ GetDisplayState()

EJoinDialogState SCR_ServerBrowserDialogManager::GetDisplayState ( )
inlineprotected

Definition at line 476 of file SCR_ServerBrowserDialogManager.c.

◆ GetOnCancel()

ScriptInvokerVoid SCR_ServerBrowserDialogManager::GetOnCancel ( )
inlineprotected

Definition at line 439 of file SCR_ServerBrowserDialogManager.c.

◆ GetOnConfirm()

ScriptInvokerVoid SCR_ServerBrowserDialogManager::GetOnConfirm ( )
inlineprotected

Definition at line 430 of file SCR_ServerBrowserDialogManager.c.

◆ GetOnDownloadCancelDialogClose()

ScriptInvokerVoid SCR_ServerBrowserDialogManager::GetOnDownloadCancelDialogClose ( )
inlineprotected

Definition at line 466 of file SCR_ServerBrowserDialogManager.c.

◆ GetOnDownloadComplete()

ScriptInvokerRoom SCR_ServerBrowserDialogManager::GetOnDownloadComplete ( )
inlineprotected

Definition at line 457 of file SCR_ServerBrowserDialogManager.c.

◆ GetOnJoinProcessCancel()

ScriptInvokerVoid SCR_ServerBrowserDialogManager::GetOnJoinProcessCancel ( )
inlineprotected

Definition at line 448 of file SCR_ServerBrowserDialogManager.c.

◆ IsDialogOpen()

bool SCR_ServerBrowserDialogManager::IsDialogOpen ( )
inlineprotected

Definition at line 488 of file SCR_ServerBrowserDialogManager.c.

◆ OnAllReportsCanceled()

void SCR_ServerBrowserDialogManager::OnAllReportsCanceled ( SCR_ReportedAddonsDialog dialog)
inlineprotected

Call this when all reports from dialog are cancled to clear invoker actions and display download dialog.

Definition at line 276 of file SCR_ServerBrowserDialogManager.c.

◆ OnDialogCancel()

void SCR_ServerBrowserDialogManager::OnDialogCancel ( )
inlineprotected

Definition at line 198 of file SCR_ServerBrowserDialogManager.c.

◆ OnDialogConfirm()

void SCR_ServerBrowserDialogManager::OnDialogConfirm ( )
inlineprotected

Definition at line 191 of file SCR_ServerBrowserDialogManager.c.

◆ OnDownloadingDone()

void SCR_ServerBrowserDialogManager::OnDownloadingDone ( )
inlineprotected

Definition at line 300 of file SCR_ServerBrowserDialogManager.c.

◆ OnPasswordEditboxChanged()

void SCR_ServerBrowserDialogManager::OnPasswordEditboxChanged ( string text)
inlineprotected

Call this whenever password dialog editbox is being edited.

Definition at line 330 of file SCR_ServerBrowserDialogManager.c.

◆ SetDialogByTag()

void SCR_ServerBrowserDialogManager::SetDialogByTag ( string tag,
SCR_ConfigurableDialogUi dialog = null )
inlineprotected

Quick short code to open dialog by tag and cache it.

Definition at line 172 of file SCR_ServerBrowserDialogManager.c.

◆ SetDialogMessage()

void SCR_ServerBrowserDialogManager::SetDialogMessage ( string msg)
inlineprotected

Definition at line 155 of file SCR_ServerBrowserDialogManager.c.

◆ SetJoinRoom()

void SCR_ServerBrowserDialogManager::SetJoinRoom ( Room room)
inlineprotected

Definition at line 494 of file SCR_ServerBrowserDialogManager.c.

◆ SetModManager()

void SCR_ServerBrowserDialogManager::SetModManager ( SCR_RoomModsManager modManager)
inlineprotected

Definition at line 500 of file SCR_ServerBrowserDialogManager.c.

◆ UpdateRoomDetailsScenarioImage()

void SCR_ServerBrowserDialogManager::UpdateRoomDetailsScenarioImage ( MissionWorkshopItem scenario)
inlineprotected

Definition at line 374 of file SCR_ServerBrowserDialogManager.c.

◆ UpdateServerFullDialog()

void SCR_ServerBrowserDialogManager::UpdateServerFullDialog ( )
inlineprotected

Definition at line 406 of file SCR_ServerBrowserDialogManager.c.

◆ UpdateServerFullScenarioImage()

void SCR_ServerBrowserDialogManager::UpdateServerFullScenarioImage ( MissionWorkshopItem scenario)
inlineprotected

Definition at line 397 of file SCR_ServerBrowserDialogManager.c.

Member Data Documentation

◆ ERROR_TAG_DEFAULT

const string SCR_ServerBrowserDialogManager::ERROR_TAG_DEFAULT = "JOIN_FAILED"
protected

Definition at line 41 of file SCR_ServerBrowserDialogManager.c.

◆ m_CurrentDialog

SCR_ConfigurableDialogUi SCR_ServerBrowserDialogManager::m_CurrentDialog
protected

Definition at line 39 of file SCR_ServerBrowserDialogManager.c.

◆ m_iDisplayState

EJoinDialogState SCR_ServerBrowserDialogManager::m_iDisplayState
protected

Definition at line 38 of file SCR_ServerBrowserDialogManager.c.

◆ m_JoinRoom

Room SCR_ServerBrowserDialogManager::m_JoinRoom
protected

Definition at line 33 of file SCR_ServerBrowserDialogManager.c.

◆ m_ModManager

SCR_RoomModsManager SCR_ServerBrowserDialogManager::m_ModManager
protected

Definition at line 34 of file SCR_ServerBrowserDialogManager.c.

◆ m_OnCancel

ref ScriptInvokerVoid SCR_ServerBrowserDialogManager::m_OnCancel
protected

Definition at line 45 of file SCR_ServerBrowserDialogManager.c.

◆ m_OnConfirm

ref ScriptInvokerVoid SCR_ServerBrowserDialogManager::m_OnConfirm
protected

Definition at line 44 of file SCR_ServerBrowserDialogManager.c.

◆ m_OnDownloadCancelDialogClose

ref ScriptInvokerVoid SCR_ServerBrowserDialogManager::m_OnDownloadCancelDialogClose
protected

Definition at line 49 of file SCR_ServerBrowserDialogManager.c.

◆ m_OnDownloadComplete

ref ScriptInvokerRoom SCR_ServerBrowserDialogManager::m_OnDownloadComplete
protected

Definition at line 48 of file SCR_ServerBrowserDialogManager.c.

◆ m_OnJoinProcessCancel

ref ScriptInvokerVoid SCR_ServerBrowserDialogManager::m_OnJoinProcessCancel
protected

Definition at line 46 of file SCR_ServerBrowserDialogManager.c.

◆ m_ServerBrowser

ServerBrowserMenuUI SCR_ServerBrowserDialogManager::m_ServerBrowser
protected

Definition at line 35 of file SCR_ServerBrowserDialogManager.c.

◆ OFFICIAL_SERVER_SCOPE

const string SCR_ServerBrowserDialogManager::OFFICIAL_SERVER_SCOPE = "officialServer"
protected

Definition at line 11 of file SCR_ServerBrowserDialogManager.c.

◆ STR_HEAVY_BAN

const string SCR_ServerBrowserDialogManager::STR_HEAVY_BAN = "#AR-HeavyBan"
protected

Definition at line 30 of file SCR_ServerBrowserDialogManager.c.

◆ STR_LIGHT_BAN

const string SCR_ServerBrowserDialogManager::STR_LIGHT_BAN = "#AR-LightBan"
protected

Definition at line 29 of file SCR_ServerBrowserDialogManager.c.

◆ TAG_BACKEND_TIMEOUT

const string SCR_ServerBrowserDialogManager::TAG_BACKEND_TIMEOUT = "BACKEND_TIMEOUT"
protected

Definition at line 24 of file SCR_ServerBrowserDialogManager.c.

◆ TAG_BANNED

const string SCR_ServerBrowserDialogManager::TAG_BANNED = "JOIN_FAILED_BAN"
protected

Definition at line 25 of file SCR_ServerBrowserDialogManager.c.

◆ TAG_CHECKING_CONTENT

const string SCR_ServerBrowserDialogManager::TAG_CHECKING_CONTENT = "CHECKING_CONTENT"
protected

Definition at line 19 of file SCR_ServerBrowserDialogManager.c.

◆ TAG_HIGH_PING_SERVER

const string SCR_ServerBrowserDialogManager::TAG_HIGH_PING_SERVER = "HIGH_PING_SERVER"
protected

Definition at line 26 of file SCR_ServerBrowserDialogManager.c.

◆ TAG_JOIN

const string SCR_ServerBrowserDialogManager::TAG_JOIN = "JOIN"
protected

Definition at line 15 of file SCR_ServerBrowserDialogManager.c.

◆ TAG_MOD_UGC_PRIVILEGE_MISSING

const string SCR_ServerBrowserDialogManager::TAG_MOD_UGC_PRIVILEGE_MISSING = "MOD_UGC_PRIVILEGE_MISSING"
protected

Definition at line 20 of file SCR_ServerBrowserDialogManager.c.

◆ TAG_MODS_DOWNLOADING

const string SCR_ServerBrowserDialogManager::TAG_MODS_DOWNLOADING = "MODS_DOWNLOADING"
protected

Definition at line 21 of file SCR_ServerBrowserDialogManager.c.

◆ TAG_PASSWORD_REQUIRED

const string SCR_ServerBrowserDialogManager::TAG_PASSWORD_REQUIRED = "PASSWORD_REQUIRED"
protected

Definition at line 23 of file SCR_ServerBrowserDialogManager.c.

◆ TAG_REJOIN

const string SCR_ServerBrowserDialogManager::TAG_REJOIN = "REJOIN"
protected

Definition at line 16 of file SCR_ServerBrowserDialogManager.c.

◆ TAG_SEARCHING_SERVER

const string SCR_ServerBrowserDialogManager::TAG_SEARCHING_SERVER = "SEARCHING_SERVER"
protected

Definition at line 14 of file SCR_ServerBrowserDialogManager.c.

◆ TAG_SERVER_FULL

const string SCR_ServerBrowserDialogManager::TAG_SERVER_FULL = "SERVER_FULL"
protected

Definition at line 22 of file SCR_ServerBrowserDialogManager.c.

◆ TAG_SERVER_NOT_FOUND

const string SCR_ServerBrowserDialogManager::TAG_SERVER_NOT_FOUND = "SERVER_NOT_FOUND"
protected

Definition at line 17 of file SCR_ServerBrowserDialogManager.c.

◆ TAG_UNRELATED_DOWNLOADS_CANCELING

const string SCR_ServerBrowserDialogManager::TAG_UNRELATED_DOWNLOADS_CANCELING = "UNRELATED_DOWNLOADS_CANCELING"
protected

Definition at line 27 of file SCR_ServerBrowserDialogManager.c.

◆ TAG_VERSION_MISMATCH

const string SCR_ServerBrowserDialogManager::TAG_VERSION_MISMATCH = "VERSION_MISMATCH"
protected

Definition at line 18 of file SCR_ServerBrowserDialogManager.c.


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