I love the smell of UnrealEd crashing in the morning. – tarquin
UE3:UTDataStore_GameSearchPersonal (UDK)
Object >> UIRoot >> UIDataProvider >> UIDataStore >> UIDataStore_Remote >> UIDataStore_OnlineGameSearch >> UTDataStore_GameSearchBase >> UTDataStore_GameSearchPersonal |
Contents
- Package:
- UTGame
- Implemented interfaces:
- UIListElementCellProvider, UIListElementProvider
- Direct subclasses:
- UTDataStore_GameSearchFavorites, UTDataStore_GameSearchHistory
- This class 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. |
This specialized online game search data store provides the UI access to the search query and results for specific servers that the player wishes to query. It is aware of the main game search data store, and ensures that the main search data store is not busy before allowing any action to take place.
Constants
MAX_PERSONALSERVERS
Value: 15
the maximum number of most recently visited servers that will be retained
Properties
PrimaryGameSearchDataStore
Type: UTDataStore_GameSearchDM
Modifiers: transient
reference to the main game search data store
ServerUniqueId
Type: string
Array size: 15 (MAX_PERSONALSERVERS
)
Modifiers: config
the list of servers stored in this data store
Default values
Property | Value |
---|---|
Tag | 'UTGameSearchPersonal' |
Instance functions
AddServer
Add a server to the server history list. Places the server at position 0; if the server already exists in the list elsewhere, it is moved to position 0.
Parameters:
- ControllerId - the index of the controller associated with the logged in player.
- IdToFind - the UniqueNetId for the server to add
FindServerIndexById
Find the index [into the server history list] of the specified server.
Parameters:
- ControllerId - the index of the controller associated with the logged in player.
- IdToFind - the UniqueNetId for the server to find
Returns:
- the index [into the server history list] for the specified server
FindServerIndexByString
Find the index [into the server history list] of the specified server.
Parameters:
- ControllerId - the index of the controller associated with the logged in player.
- IdToFind - the UniqueNetId for the server to find
Returns:
- the index [into the server history list] for the specified server
GetPlayerName
Retrieve the name of the currently logged in profile.
Parameters:
- ControllerId - the index of the controller associated with the logged in player.
Returns:
- the name of the currently logged in player.
GetPlayerNetId
Retrieve the UniqueNetId for the currently logged in player.
Parameters:
- out_PlayerId - receives the value of the logged in player's UniqueNetId
- ControllerId - the index of the controller associated with the logged in player.
Returns:
- TRUE if the logged in player's UniqueNetId was successfully retrieved.
GetServerIdList
Retrieve the list of most recently visited servers.
Parameters:
- out_ServerList - receives the list of UniqueNetIds for the most recently visited servers.
GetServerStringList
HasOutstandingQueries
Overrides: UTDataStore_GameSearchBase.HasOutstandingQueries
Parameters:
- bRestrictCheckToSelf - if TRUE, will not check related game search data stores for outstanding queries.
Returns:
- TRUE if a server list query was started but has not completed yet.
OverrideQuerySubmission
Overrides: UIDataStore_OnlineGameSearch.OverrideQuerySubmission
Worker for SubmitGameSeach; allows child classes to perform additional work before the query is submitted.
Parameters:
- ControllerId - the index of the controller for the player to perform the search for.
- Search - the search object that will be used to generate the query.
Returns:
- TRUE to prevent SubmitGameSeach from submitting the search (such as when you do this step yourself).
RemoveServer
Removes the specified server from the server history list.
Parameters:
- ControllerId - the index of the controller associated with the logged in player.
- IdToRemove - the UniqueNetId for the server to remove