I'm a doctor, not a mechanic
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 ProcessJoin
- 1.38 PromptForServerPassword
- 1.39 QueryServerBrowserTooltip
- 1.40 RefreshDetailsList
- 1.41 RefreshServerList
- 1.42 ServerIsPrivate
- 1.43 ServerListResorted
- 1.44 SetupButtonBar
- 1.45 SetupExtraButtons
- 1.46 ShowServerDetails
- 1.47 SubmitServerListQuery
- 1.48 UpdateButtonStates
- 1.49 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
AddToFavorites
Adds the selected server to the list of favorites
AdjustLayout
Adjusts the layout of the scene based on the current platform
AllowCloseScene
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
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
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
Fires an asynchronous task to cancels all active queries.
Parameters:
- DesiredCancelAction - specifies what should happen when the asynchronous task completes.
CheckToolTipPosition
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
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
Refreshes the server list by submitting a new query if certain conditions are met.
GetButtonBarButton
Wrapper for grabbing a reference to a button bar button.
GetDesiredMatchType
GetFavoritesDataStore
Wrapper for getting a reference to the favorites data store. Stub for child classes.
GetGameTypeSearchProviderIndex
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
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
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
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
Joins the currently selected server.
MessageBoxClosed
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
Notification that the currently selected gametype was changed externally. Update this tab page to reflect the new gametype.
OnButtonBar_AddFavorite
ButtonBar - Add to favorite
OnButtonBar_Back
ButtonBar - Back
OnButtonBar_CancelQuery
OnButtonBar_JoinServer
ButtonBar - JoinServer
OnButtonBar_MutatorDetails
OnButtonBar_PlayerDetails
OnButtonBar_Refresh
ButtonBar - Refresh
OnButtonBar_ServerDetails
ButtonBar - ServerDetails (console only)
OnButtonBar_SpectateServer
OnCancelSearchComplete
Handler for the 'cancel query' asynchronous task completion. Performs the actions dictated by the current QueryCompletionAction, as set when CancelQuery was called.
OnFindOnlineGamesComplete
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
Delegate fired each time a new server is recieved, 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
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
Callback for when the join completes.
OnPasswordDialog_Closed
The user has made a selection of the choices available to them.
OnServerList_SubmitSelection
Server List - Submit Selection.
OnServerList_ValueChanged
Server List - Value Changed.
ProcessJoin
PromptForServerPassword
Displays a dialog to the user which allows him to enter the password for the currently selected server.
QueryServerBrowserTooltip
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
Refreshes the game details list using the currently selected item in the server list.
RefreshServerList
Refreshes the server list.
ServerIsPrivate
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
called when the list is resorted (can be triggered by manual resort from user input or automatic resort from new elements added
SetupButtonBar
Overrides: UTTabPage.SetupButtonBar
Sets buttons for the scene.
SetupExtraButtons
Provides an easy way for child classes to add additional buttons before the ButtonBar's button states are updated
ShowServerDetails
Opens a custom UIScene which displays more verbose details about the server currently selected in the server browser. Console only.
SubmitServerListQuery
Submits a query for the list of servers which match the current configuration.
UpdateButtonStates
Updates the enabled state of certain button bar buttons depending on whether a server is selected or not.
UpdateServerCount
Updates the server count label with the number of servers received so far for the currently selected gametype.