|
Arma Reforger Script API
|
Class for handling server browser dialogs. More...
Public Member Functions | |
| void | DisplayDialog (EJoinDialogState state) |
| Display dialog by state and setup current state. | |
| void | SetDialogMessage (string msg) |
| void | CloseCurrentDialog () |
| void | DisplayJoinFail (EApiCode apiError) |
| Show join fail message in dialog. | |
| void | DisplayJoinBan (RoomJoinData data) |
| void | DisplayJoinDownloadsWarning (array< ref SCR_WorkshopItemActionDownload > downloads, SCR_EJoinDownloadsConfirmationDialogType type) |
| 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) |
Static Public Attributes | |
| const ResourceName | CONFIG_DIALOGS = "{471EFCF445C3E9C6}Configs/ServerBrowser/JoiningDialogs.conf" |
| const string | ERROR_TAG_DEFAULT = "JOIN_FAILED" |
Protected Member Functions | |
| void | SetDialogByTag (string tag, SCR_ConfigurableDialogUi dialog=null) |
| Quick short code to open dialog by tag and cache it. | |
| void | OnDialogConfirm () |
| void | OnDialogCancel () |
| void | OnAllReportsCanceled (SCR_ReportedAddonsDialog dialog) |
| Call this when all reports from dialog are cancled to clear invoker actions and display download dialog. | |
| 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. | |
Protected Attributes | |
| Room | m_JoinRoom |
| SCR_RoomModsManager | m_ModManager |
| ServerBrowserMenuUI | m_ServerBrowser |
| EJoinDialogState | m_iDisplayState |
| SCR_ConfigurableDialogUi | m_CurrentDialog |
| ref ScriptInvokerVoid | m_OnConfirm |
| ref ScriptInvokerVoid | m_OnCancel |
| ref ScriptInvokerVoid | m_OnJoinProcessCancel |
| ref ScriptInvokerRoom | m_OnDownloadComplete |
| ref ScriptInvokerVoid | m_OnDownloadCancelDialogClose |
Static 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" |
Class for handling server browser dialogs.
Server browser use multiple dialogs in joining process for checking servers, mod content and restrictinos.
| void SCR_ServerBrowserDialogManager.CloseCurrentDialog | ( | ) |
| void SCR_ServerBrowserDialogManager.CreateBlockedPlayersWarningDialog | ( | array< BlockedRoomPlayer > | blockedPlayers | ) |
| MultiplayerDialogUI SCR_ServerBrowserDialogManager.CreateManualJoinDialog | ( | ) |
DECOUPLED DIALOGS.
| SCR_ServerDetailsDialog SCR_ServerBrowserDialogManager.CreateServerDetailsDialog | ( | Room | room, |
| array< ref SCR_WorkshopItem > | items, | ||
| ScriptInvokerVoid | onFavoritesResponse = null ) |
| SCR_ServerFullDialog SCR_ServerBrowserDialogManager.CreateServerFullDialog | ( | ) |
| void SCR_ServerBrowserDialogManager.DisplayDialog | ( | EJoinDialogState | state | ) |
Display dialog by state and setup current state.
| void SCR_ServerBrowserDialogManager.DisplayJoinBan | ( | RoomJoinData | data | ) |
| void SCR_ServerBrowserDialogManager.DisplayJoinDownloadsWarning | ( | array< ref SCR_WorkshopItemActionDownload > | downloads, |
| SCR_EJoinDownloadsConfirmationDialogType | type ) |
| void SCR_ServerBrowserDialogManager.DisplayJoinFail | ( | EApiCode | apiError | ) |
Show join fail message in dialog.
|
protected |
Display dialog for password insert whenever password is required.
| void SCR_ServerBrowserDialogManager.FillRoomDetailsMods | ( | array< ref SCR_WorkshopItem > | items, |
| SCR_RoomModsManager | modsManager = null ) |
| SCR_ConfigurableDialogUi SCR_ServerBrowserDialogManager.GetCurrentDialog | ( | ) |
| EJoinDialogState SCR_ServerBrowserDialogManager.GetDisplayState | ( | ) |
| ScriptInvokerVoid SCR_ServerBrowserDialogManager.GetOnCancel | ( | ) |
| ScriptInvokerVoid SCR_ServerBrowserDialogManager.GetOnConfirm | ( | ) |
| ScriptInvokerVoid SCR_ServerBrowserDialogManager.GetOnDownloadCancelDialogClose | ( | ) |
| ScriptInvokerRoom SCR_ServerBrowserDialogManager.GetOnDownloadComplete | ( | ) |
| ScriptInvokerVoid SCR_ServerBrowserDialogManager.GetOnJoinProcessCancel | ( | ) |
| bool SCR_ServerBrowserDialogManager.IsDialogOpen | ( | ) |
|
protected |
Call this when all reports from dialog are cancled to clear invoker actions and display download dialog.
|
protected |
|
protected |
|
protected |
|
protected |
Call this whenever password dialog editbox is being edited.
|
protected |
Quick short code to open dialog by tag and cache it.
| void SCR_ServerBrowserDialogManager.SetDialogMessage | ( | string | msg | ) |
| void SCR_ServerBrowserDialogManager.SetJoinRoom | ( | Room | room | ) |
| void SCR_ServerBrowserDialogManager.SetModManager | ( | SCR_RoomModsManager | modManager | ) |
| void SCR_ServerBrowserDialogManager.UpdateRoomDetailsScenarioImage | ( | MissionWorkshopItem | scenario | ) |
| void SCR_ServerBrowserDialogManager.UpdateServerFullDialog | ( | ) |
| void SCR_ServerBrowserDialogManager.UpdateServerFullScenarioImage | ( | MissionWorkshopItem | scenario | ) |
|
static |
|
static |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |