Worst-case scenario: the UEd Goblin wipes the map and burns down your house.
UE3:UTUITabPage_ServerBrowser instance functions (UT3)
Object >> UIRoot >> UIScreenObject >> UIObject >> UIContainer >> UITabPage >> UTTabPage >> UTUITabPage_ServerBrowser (instance functions) |
Contents
- 1 Instance functions
- 1.1 AddToFavorites
- 1.2 AdjustLayout
- 1.3 AllowCloseScene
- 1.4 AllowJoinServer
- 1.5 BuildJoinURL
- 1.6 CancelQuery
- 1.7 CheckToolTipPosition
- 1.8 Cleanup
- 1.9 ConditionalRefreshServerList
- 1.10 GetButtonBarButton
- 1.11 GetDesiredMatchType
- 1.12 GetFavoritesDataStore
- 1.13 GetGameTypeSearchProviderIndex
- 1.14 HandleInputKey
- 1.15 HasSelectedServerInFavorites
- 1.16 HasServerInFavorites
- 1.17 JoinServer
- 1.18 MessageBoxClosed
- 1.19 NotifyGameTypeChanged
- 1.20 OnButtonBar_AddFavorite
- 1.21 OnButtonBar_Back
- 1.22 OnButtonBar_CancelQuery
- 1.23 OnButtonBar_JoinServer
- 1.24 OnButtonBar_MutatorDetails
- 1.25 OnButtonBar_PlayerDetails
- 1.26 OnButtonBar_Refresh
- 1.27 OnButtonBar_ServerDetails
- 1.28 OnButtonBar_SpectateServer
- 1.29 OnCancelSearchComplete
- 1.30 OnFindOnlineGamesComplete
- 1.31 OnFindOnlineGamesCompleteDelegate
- 1.32 OnGameTypeChanged
- 1.33 OnJoinGameComplete
- 1.34 OnPasswordDialog_Closed
- 1.35 OnServerList_SubmitSelection
- 1.36 OnServerList_ValueChanged
- 1.37 OnUpdateServerComplete
- 1.38 ProcessJoin
- 1.39 PromptForServerPassword
- 1.40 QueryServerBrowserTooltip
- 1.41 RefreshDetailsList
- 1.42 RefreshServerList
- 1.43 ServerIsPrivate
- 1.44 ServerListResorted
- 1.45 SetupButtonBar
- 1.46 SetupExtraButtons
- 1.47 ShowServerDetails
- 1.48 SubmitServerListQuery
- 1.49 UpdateButtonStates
- 1.50 UpdateServerCount
- UTUITabPage_ServerBrowser instance functions in other games:
- UDK
- Other member categories for this class:
- UTUITabPage ServerBrowser constants
This is an auto-generated page and may need human attention. Please remove the {{autogenerated}} tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
Instance functions[edit]
AddToFavorites[edit]
Adds the selected server to the list of favorites
AdjustLayout[edit]
Adjusts the layout of the scene based on the current platform
AllowCloseScene[edit]
Determine if we're in the right state to close the "Join Game" scene (cancels any pending queries, etc.)
Returns:
- TRUE if closing the scene should be allowed; FALSE if there a query is still active - will close the scene when it's safe to do so.
AllowJoinServer[edit]
Determine if we're in the right state to join a server (cancels any pending queries, etc.)
Returns:
- TRUE if joining a server should be allowed; FALSE if there a query is still active - will join the server when it's safe to do so.
BuildJoinURL[edit]
Builds the string needed to join a game from the resolved connection: "open 172.168.0.1"
NOTE: Overload this method to modify the URL before exec-ing it
Parameters:
- ResolvedConnectionURL - the platform specific URL information
Returns:
- the final URL to use to open the map
CancelQuery[edit]
Fires an asynchronous task to cancels all active queries.
Parameters:
- DesiredCancelAction - specifies what should happen when the asynchronous task completes.
CheckToolTipPosition[edit]
Handler for the tooltip's CanShowToolTip delegate. Prevents the tooltip timer from being activated if the cursor is not over the correct [first] column.
Parameters:
- ToolTip - the tooltip, duh
Returns:
- TRUE to allow the tooltip to be made visible; FALSE to keep it hidden.
Cleanup[edit]
Called when the owning scene is being closed - provides a hook for the tab page to ensure it's cleaned up all external references (i.e. delegates, etc.)
ConditionalRefreshServerList[edit]
Refreshes the server list by submitting a new query if certain conditions are met.
GetButtonBarButton[edit]
Wrapper for grabbing a reference to a button bar button.
GetDesiredMatchType[edit]
GetFavoritesDataStore[edit]
Wrapper for getting a reference to the favorites data store. Stub for child classes.
GetGameTypeSearchProviderIndex[edit]
Retrieve the index in the game search data store's list of search results for the specified gametype class
Parameters:
- GameClassName - the path name of the gametype to find; if not specified, uses the currently selected gametype
Returns:
- the index into the UIDataStore_OnlineGameSearch's GameSearchCfgList array for the gametype specified.
HandleInputKey[edit]
Overrides: UTTabPage.HandleInputKey
Provides a hook for unrealscript to respond to input using actual input key names (i.e. Left, Tab, etc.)
Called when an input key event is received which this widget responds to and is in the correct state to process. The keys and states widgets receive input for is managed through the UI editor's key binding dialog (F8).
This delegate is called BEFORE kismet is given a chance to process the input.
Parameters:
- EventParms - information about the input event.
Returns:
- TRUE to indicate that this input key was processed; no further processing will occur on this input key event.
HasSelectedServerInFavorites[edit]
Wrapper for HasServerInFavorites which encapsulates finding the UniqueNetId for the currently selected server.
Parameters:
- ControllerId - the index of the controller associated with the logged in player.
Returns:
- TRUE if the currently selected server is in the list of server favorites.
HasServerInFavorites[edit]
Determines whether the server with the specified Id is in the list of favorites.
Parameters:
- ControllerId - the index of the controller associated with the logged in player.
- IdToFind - the UniqueNetId for the server to find
Returns:
- TRUE if the specified server is in the list of server favorites.
JoinServer[edit]
Joins the currently selected server.
MessageBoxClosed[edit]
Handler for the message box scene's OnClose delegate when we're displaying a modal dialog while waiting for the active query to complete.
NotifyGameTypeChanged[edit]
Notification that the currently selected gametype was changed externally. Update this tab page to reflect the new gametype.
OnButtonBar_AddFavorite[edit]
ButtonBar - Add to favorite
OnButtonBar_Back[edit]
ButtonBar - Back
OnButtonBar_CancelQuery[edit]
OnButtonBar_JoinServer[edit]
ButtonBar - JoinServer
OnButtonBar_MutatorDetails[edit]
OnButtonBar_PlayerDetails[edit]
OnButtonBar_Refresh[edit]
ButtonBar - Refresh
OnButtonBar_ServerDetails[edit]
ButtonBar - ServerDetails (console only)
OnButtonBar_SpectateServer[edit]
OnCancelSearchComplete[edit]
Handler for the 'cancel query' asynchronous task completion. Performs the actions dictated by the current QueryCompletionAction, as set when CancelQuery was called.
OnFindOnlineGamesComplete[edit]
Delegate fired when the search for an online game has completed
Parameters:
- bWasSuccessful - true if the async action completed without error, false if there was an error
OnFindOnlineGamesCompleteDelegate[edit]
Delegate fired each time a new server is received, or when the action completes (if there was an error)
Parameters:
- bWasSuccessful - true if the async action completed without error, false if there was an error
OnGameTypeChanged[edit]
Called when the user changes the currently selected gametype via the gametype combo.
Parameters:
- Sender - the UIObject whose value changed
- PlayerIndex - the index of the player that generated the call to this method; used as the PlayerIndex when activating UIEvents; if not specified, the value of GetBestPlayerIndex() is used instead.
OnJoinGameComplete[edit]
Callback for when the join completes.
OnPasswordDialog_Closed[edit]
The user has made a selection of the choices available to them.
OnServerList_SubmitSelection[edit]
Server List - Submit Selection.
OnServerList_ValueChanged[edit]
Server List - Value Changed.
OnUpdateServerComplete[edit]
ProcessJoin[edit]
PromptForServerPassword[edit]
Displays a dialog to the user which allows him to enter the password for the currently selected server.
QueryServerBrowserTooltip[edit]
Called when this widget (or one of its children) becomes the ActiveControl. Provides a way for child classes or containers to easily override or short-circuit the standard tooltip that is normally shown. If this delegate is not assigned to any function, the default tool-tip will be displayed if this widget has a data store binding property named "ToolTipBinding" which is bound to a valid data store.
Parameters:
- Sender - the widget that will be displaying the tooltip
- CustomToolTip - to provide a custom tooltip implementation, fill in in this value and return TRUE. The custom tool tip object will then be activated by native code.
Returns:
- return FALSE to prevent any tool-tips from being shown, including parents.
RefreshDetailsList[edit]
Refreshes the game details list using the currently selected item in the server list.
RefreshServerList[edit]
Refreshes the server list.
ServerIsPrivate[edit]
Determines if the currently selected server is password protected.
Returns:
- TRUE if a valid server is selected and it is password protected; FALSE otherwise.
ServerListResorted[edit]
called when the list is resorted (can be triggered by manual resort from user input or automatic resort from new elements added
SetupButtonBar[edit]
Overrides: UTTabPage.SetupButtonBar
Sets buttons for the scene.
SetupExtraButtons[edit]
Provides an easy way for child classes to add additional buttons before the ButtonBar's button states are updated
ShowServerDetails[edit]
Opens a custom UIScene which displays more verbose details about the server currently selected in the server browser. Console only.
SubmitServerListQuery[edit]
Submits a query for the list of servers which match the current configuration.
UpdateButtonStates[edit]
Updates the enabled state of certain button bar buttons depending on whether a server is selected or not.
UpdateServerCount[edit]
Updates the server count label with the number of servers received so far for the currently selected gametype.