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

Engine.UIDataStore_OnlineGameSettings

Extends
UIDataStore_Settings
Modifiers
native ( inherit ) abstract transient

This class is responsible for mapping properties in an OnlineGameSettings object to something that the UI system can consume. NOTE: Each game needs to derive at least one class from this one in order to expose the game's specific settings class(es)

Core.Object
|   
+-- Engine.UIRoot
   |   
   +-- Engine.UIDataProvider
      |   
      +-- Engine.UIDataStore
         |   
         +-- Engine.UIDataStore_Settings
            |   
            +-- Engine.UIDataStore_OnlineGameSettings

Direct Known Subclasses:

UTDataStore_GameSettingsDM

Variables Summary
array<GameSettingsCfg>GameSettingsCfgList
intSelectedIndex
Inherited Variables from Engine.UIDataStore
RefreshSubscriberNotifies, Tag

Structures Summary
GameSettingsCfg
GameSettingsClass, Provider, GameSettings, SettingsName

Functions Summary
eventbool CreateGame (byte ControllerIndex ))
eventOnlineGameSettings GetCurrentGameSettings ()))
eventUIDataProvider_Settings GetCurrentProvider ()))
function LoadToCurrentSettings (string ProfileName))
event MoveToNext ()))
event MoveToPrevious ()))
event SetCurrentByIndex (int NewIndex))
event SetCurrentByName (name SettingsName))
function StoreCurrentSettings (string ProfileName))
Inherited Functions from Engine.UIDataStore
GetDataStoreClient, NotifyGameSessionEnded, OnCommit, RefreshSubscribers, Registered, SubscriberAttached, SubscriberDetached, Unregistered


Variables Detail

GameSettingsCfgList Source code

var const array<GameSettingsCfg> GameSettingsCfgList;
The list of settings that this data store is exposing

SelectedIndex Source code

var int SelectedIndex;
The index into the list that is currently being exposed


Structures Detail

GameSettingsCfg Source code

struct GameSettingsCfg
{
var OnlineGameSettings GameSettings;
var class<OnlineGameSettings> GameSettingsClass;
var UIDataProvider_Settings Provider;
var name SettingsName;
};
Holds the information used to expose 1 or more game settings providers
GameSettings:
The object we are exposing to the UI
GameSettingsClass:
The OnlineGameSettings derived class to create and expose
Provider:
The provider that was created to process the specified game settings object
SettingsName:
Used to set/select by name


Functions Detail

CreateGame Source code

event bool CreateGame ( byte ControllerIndex ) )
Called to kick create an online game based upon the settings
@param WorldInfo the world info object. useful for actor iterators
@param ControllerIndex the ControllerId for the player to create the game for
@return TRUE if the game was created, FALSE otherwise

GetCurrentGameSettings Source code

event OnlineGameSettings GetCurrentGameSettings ( ) )
Returns the game settings object that is currently selected

GetCurrentProvider Source code

event UIDataProvider_Settings GetCurrentProvider ( ) )
Returns the provider object that is currently selected

LoadToCurrentSettings Source code

function LoadToCurrentSettings ( string ProfileName) )

MoveToNext Source code

event MoveToNext ( ) )
Moves to the next item in the list

MoveToPrevious Source code

event MoveToPrevious ( ) )
Moves to the previous item in the list

SetCurrentByIndex Source code

event SetCurrentByIndex ( int NewIndex) )
Sets the index into the list of game settings to use
@param NewIndex the new index to use

SetCurrentByName Source code

event SetCurrentByName ( name SettingsName) )
Sets the index into the list of game settings to use
@param SettingsName the name of the setting to find

StoreCurrentSettings Source code

function StoreCurrentSettings ( string ProfileName) )


Defaultproperties

defaultproperties
{
   Tag="OnlineGameSettings"
   WriteAccessType=ACCESS_WriteAll
   Name="Default__UIDataStore_OnlineGameSettings"
   ObjectArchetype=UIDataStore_Settings'Engine.Default__UIDataStore_Settings'
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: sk 18-3-2018 10:00:46.859 - Created with UnCodeX