Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

UTGame.UTDataStore_GameSearchDM

Extends
UDKDataStore_GameSearchBase
Modifiers
config ( UI )

This game search data store handles generating and receiving results for internet queries of all gametypes. Copyright 1998-2011 Epic Games, Inc. All Rights Reserved.

Core.Object
|   
+-- Engine.UIRoot
   |   
   +-- Engine.UIDataProvider
      |   
      +-- Engine.UIDataStore
         |   
         +-- Engine.UIDataStore_Remote
            |   
            +-- Engine.UIDataStore_OnlineGameSearch
               |   
               +-- UDKBase.UDKDataStore_GameSearchBase
                  |   
                  +-- UTGame.UTDataStore_GameSearchDM

Variables Summary
UTDataStore_GameSearchHistoryHistoryGameSearchDataStore
class<UTDataStore_GameSearchHistory>HistoryGameSearchDataStoreClass
array<GameSearchSettingsStorage>StoredGameSearchValues
Inherited Variables from UDKBase.UDKDataStore_GameSearchBase
ServerDetailsProvider
Inherited Variables from Engine.UIDataStore_OnlineGameSearch
ActiveSearchIndex, GameInterface, GameSearchCfgList, OnlineSub, SearchResultsName, SelectedIndex

Structures Summary
GameSearchSettingsStorage
GameSearchName, StoredValues
PersistentLocalizedSettingValue
SettingId, ValueId
Inherited Structures from Engine.UIDataStore_OnlineGameSearch
GameSearchCfg

Functions Summary
functionint FindStoredSearchIndex (name GameSearchName ))
functionint FindStoredSettingValueIndex (int StoredGameSearchIndex, int LocalizedSettingId, optional bool bAddIfNecessary ))
functionbool HasOutstandingQueries (optional bool bRestrictCheckToSelf ))
function LoadGameSearchParameters ()))
event Registered (LocalPlayer PlayerOwner ))
function SaveGameSearchParameters ()))
eventbool SubmitGameSearch (byte ControllerIndex, optional bool bInvalidateExistingSearchResults=true))
Inherited Functions from UDKBase.UDKDataStore_GameSearchBase
GetEnabledMutators, HasExistingSearchResults, HasOutstandingQueries, Init, OnSearchComplete, SubmitGameSearch
Inherited Functions from Engine.UIDataStore_OnlineGameSearch
BuildSearchResults, ClearAllSearchResults, FindSearchConfigurationIndex, GetActiveGameSearch, GetCurrentGameSearch, GetSearchResultFromIndex, Init, InvalidateCurrentSearchResults, MoveToNext, MoveToPrevious, OnSearchComplete, OverrideQuerySubmission, SetCurrentByIndex, SetCurrentByName, ShowHostGamercard, SubmitGameSearch


Variables Detail

HistoryGameSearchDataStore Source code

var transient UTDataStore_GameSearchHistory HistoryGameSearchDataStore;
Reference to the search data store that handles the player's list of most recently visited servers

HistoryGameSearchDataStoreClass Source code

var class<UTDataStore_GameSearchHistory> HistoryGameSearchDataStoreClass;

StoredGameSearchValues Source code

var config array<GameSearchSettingsStorage> StoredGameSearchValues;
the list of search parameter values per game search configuration


Structures Detail

GameSearchSettingsStorage Source code

struct GameSearchSettingsStorage
{
var config name GameSearchName;
var config array<PersistentLocalizedSettingValue> StoredValues;
};
Stores a list of values ids for a single game search configuration.
GameSearchName:
the name of the game search configuration
StoredValues:
the list of stored values

PersistentLocalizedSettingValue Source code

struct PersistentLocalizedSettingValue
{
var config int SettingId;
var config int ValueId;
};
A simple mapping of localized setting ID to a localized setting value ID.
SettingId:
the ID of the setting
ValueId:
the id of the value


Functions Detail

FindStoredSearchIndex Source code

function int FindStoredSearchIndex ( name GameSearchName ) )
Finds the index of the saved parameters for the specified game search.
@param GameSearchName the name of the game search to find saved parameters for
@return the index for the saved parameters associated with the specified gametype, or INDEX_NONE if not found.

FindStoredSettingValueIndex Source code

function int FindStoredSettingValueIndex ( int StoredGameSearchIndex, int LocalizedSettingId, optional bool bAddIfNecessary ) )
Find the index for the specified setting in a game search configuration's saved parameters.
@param StoredGameSearchIndex the index of the game search configuration to lookup
@param LocalizedSettingId the id of the setting to find the value for
@param bAddIfNecessary if the specified setting Id is not found in the saved parameters for the game search config, automatically creates an entry for that setting if this value is TRUE
@return the index of the setting in the game search configuration's saved parameters list of settings, or INDEX_NONE if it doesn't exist.

HasOutstandingQueries Source code

function bool HasOutstandingQueries ( optional bool bRestrictCheckToSelf ) )

@param bRestrictCheckToSelf if TRUE, will not check related game search data stores for outstanding queries.
@return TRUE if a server list query was started but has not completed yet.

LoadGameSearchParameters Source code

function LoadGameSearchParameters ( ) )
Loads the saved game search parameters from disk and initializes the game search objects with the previously selected values.

Registered Source code

event Registered ( LocalPlayer PlayerOwner ) )

SaveGameSearchParameters Source code

function SaveGameSearchParameters ( ) )
Saves the user selected game search options to disk.

SubmitGameSearch Source code

event bool SubmitGameSearch ( byte ControllerIndex, optional bool bInvalidateExistingSearchResults=true) )
Called to kick off an online game search and set up all of the delegates needed; this version saved the search parameters to persistent storage.
@param ControllerIndex the ControllerId for the player to perform the search for
@param bInvalidateExistingSearchResults specify FALSE to keep previous searches (i.e. for other gametypes) in memory; default behavior is to clear all search results when switching to a different item in the game search list
@return TRUE if the search call works, FALSE otherwise


Defaultproperties

defaultproperties
{
	Tag=UTGameSearch
	HistoryGameSearchDataStoreClass=class'UTGame.UTDataStore_GameSearchHistory'

	GameSearchCfgList.Empty
	GameSearchCfgList.Add((GameSearchClass=class'UTGame.UTGameSearchDM',DefaultGameSettingsClass=class'UTGame.UTGameSettingsDM',SearchResultsProviderClass=class'UTGame.UTUIDataProvider_SearchResult',SearchName="UTGameSearchDM"))
	GameSearchCfgList.Add((GameSearchClass=class'UTGame.UTGameSearchTDM',DefaultGameSettingsClass=class'UTGame.UTGameSettingsTDM',SearchResultsProviderClass=class'UTGame.UTUIDataProvider_SearchResult',SearchName="UTGameSearchTDM"))
	GameSearchCfgList.Add((GameSearchClass=class'UTGame.UTGameSearchCTF',DefaultGameSettingsClass=class'UTGame.UTGameSettingsCTF',SearchResultsProviderClass=class'UTGame.UTUIDataProvider_SearchResult',SearchName="UTGameSearchCTF"))
	GameSearchCfgList.Add((GameSearchClass=class'UTGame.UTGameSearchVCTF',DefaultGameSettingsClass=class'UTGame.UTGameSettingsVCTF',SearchResultsProviderClass=class'UTGame.UTUIDataProvider_SearchResult',SearchName="UTGameSearchVCTF"))	
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: ti 22-3-2011 19:56:59.604 - Created with UnCodeX