Always snap to grid

UE3:UIDataStore_OnlineGameSettings (UT3)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 09:11, 17 May 2008 by Wormbo (Talk | contribs) (Auto-generated page)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
UT3 Object >> UIRoot >> UIDataProvider >> UIDataStore >> UIDataStore_Settings >> UIDataStore_OnlineGameSettings
Package: 
Engine
Direct subclass:
UTDataStore_GameSettingsDM
This class in other games:
UDK

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)

Properties

GameSettingsCfgList

Type: array<GameSettingsCfg>

Modifiers: const

The list of settings that this data store is exposing

SelectedIndex

Type: int

The index into the list that is currently being exposed

Default values

Property Value
Tag 'OnlineGameSettings'
WriteAccessType ACCESS_WriteAll

Structs

GameSettingsCfg

Modifiers: native

Holds the information used to expose 1 or more game settings providers

class<OnlineGameSettings> GameSettingsClass 
The OnlineGameSettings derived class to create and expose
UIDataProvider_Settings Provider 
The provider that was created to process the specified game settings object
OnlineGameSettings GameSettings 
The object we are exposing to the UI
name SettingsName 
Used to set/select by name

Events

CreateGame

event bool CreateGame (byte ControllerIndex)

Called to kick create an online game based upon the settings

Parameters:

  • WorldInfo - the world info object. useful for actor iterators
  • ControllerIndex - the ControllerId for the player to create the game for

Returns:

TRUE if the game was created, FALSE otherwise

GetCurrentGameSettings

event OnlineGameSettings GetCurrentGameSettings ()

Returns the game settings object that is currently selected

GetCurrentProvider

event UIDataProvider_Settings GetCurrentProvider ()

Returns the provider object that is currently selected

MoveToNext

event MoveToNext ()

Moves to the next item in the list

MoveToPrevious

event MoveToPrevious ()

Moves to the previous item in the list

SetCurrentByIndex

event SetCurrentByIndex (int NewIndex)

Sets the index into the list of game settings to use

Parameters:

  • NewIndex - the new index to use

SetCurrentByName

event SetCurrentByName (name SettingsName)

Sets the index into the list of game settings to use

Parameters:

  • SettingsName - the name of the setting to find