I don't need to test my programs. I have an error-correcting modem.
UE3:UTUITabPage_ServerBrowser instance functions (UDK)
Object >> UIRoot >> UIScreenObject >> UIObject >> UIContainer >> UITabPage >> UTTabPage >> UTUITabPage_ServerBrowser (instance functions) |
Contents
- 1 Instance functions
- 1.1 AdjustLayout
- 1.2 AllowCloseScene
- 1.3 AllowJoinServer
- 1.4 BuildJoinURL
- 1.5 CancelQuery
- 1.6 Cleanup
- 1.7 ConditionalRefreshServerList
- 1.8 GetButtonBarButton
- 1.9 GetDesiredMatchType
- 1.10 GetFavoritesDataStore
- 1.11 GetGameTypeSearchProviderIndex
- 1.12 HandleInputKey
- 1.13 HasSelectedServerInFavorites
- 1.14 HasServerInFavorites
- 1.15 JoinServer
- 1.16 MessageBoxClosed
- 1.17 NotifyGameTypeChanged
- 1.18 OnButtonBar_Back
- 1.19 OnButtonBar_CancelQuery
- 1.20 OnButtonBar_JoinServer
- 1.21 OnButtonBar_Refresh
- 1.22 OnButtonBar_ServerDetails
- 1.23 OnButtonBar_SpectateServer
- 1.24 OnCancelSearchComplete
- 1.25 OnFindOnlineGamesComplete
- 1.26 OnFindOnlineGamesCompleteDelegate
- 1.27 OnGameTypeChanged
- 1.28 OnJoinGameComplete
- 1.29 OnPasswordDialog_Closed
- 1.30 OnServerList_SubmitSelection
- 1.31 OnServerList_ValueChanged
- 1.32 ProcessJoin
- 1.33 PromptForServerPassword
- 1.34 RefreshDetailsList
- 1.35 RefreshServerList
- 1.36 ServerListResorted
- 1.37 SetupButtonBar
- 1.38 SetupExtraButtons
- 1.39 ShowServerDetails
- 1.40 SubmitServerListQuery
- 1.41 UpdateButtonStates
- 1.42 UpdateServerCount
- UTUITabPage_ServerBrowser instance functions in other games:
- UT3
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
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.
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_Back
ButtonBar - Back
OnButtonBar_CancelQuery
OnButtonBar_JoinServer
ButtonBar - JoinServer
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 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
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.
RefreshDetailsList
Refreshes the game details list using the currently selected item in the server list.
RefreshServerList
Refreshes the server list.
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.