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

Engine.CurrentGameDataStore

Extends
UIDataStore_GameState
Modifiers
native ( inherit )

Provides data about the current game. Copyright 1998-2008 Epic Games, Inc. All Rights Reserved.

Core.Object
|   
+-- Engine.UIRoot
   |   
   +-- Engine.UIDataProvider
      |   
      +-- Engine.UIDataStore
         |   
         +-- Engine.UIDataStore_GameState
            |   
            +-- Engine.CurrentGameDataStore

Variables Summary
GameInfoDataProviderGameData
array<PlayerDataProvider>PlayerData
GameDataProviderTypesProviderTypes
array<TeamDataProvider>TeamData
Inherited Variables from Engine.UIDataStore
RefreshSubscriberNotifies, Tag

Structures Summary
GameDataProviderTypes
GameDataProviderClass, PlayerDataProviderClass, TeamDataProviderClass

Functions Summary
function AddPlayerDataProvider (PlayerReplicationInfo PRI ))
function AddTeamDataProvider (TeamInfo TI ))
function ClearDataProviders ()))
function CreateGameDataProvider (GameReplicationInfo GRI ))
functionint FindPlayerDataProviderIndex (PlayerReplicationInfo PRI ))
functionint FindTeamDataProviderIndex (TeamInfo TI ))
functionPlayerDataProvider GetPlayerDataProvider (PlayerReplicationInfo PRI ))
functionTeamDataProvider GetTeamDataProvider (TeamInfo TI ))
functionbool NotifyGameSessionEnded ()))
function RemovePlayerDataProvider (PlayerReplicationInfo PRI ))
function RemoveTeamDataProvider (TeamInfo TI ))
Inherited Functions from Engine.UIDataStore_GameState
NotifyGameSessionEnded
Inherited Functions from Engine.UIDataStore
GetDataStoreClient, NotifyGameSessionEnded, OnCommit, RefreshSubscribers, Registered, SubscriberAttached, SubscriberDetached, Unregistered


Variables Detail

GameData Source code

var protected GameInfoDataProvider GameData;
The GameInfoDataProvider that manages access to the current gameinfo's exposed data.

PlayerData Source code

var protected array<PlayerDataProvider> PlayerData;
The data providers for all players in the current match

ProviderTypes Source code

var const GameDataProviderTypes ProviderTypes;

TeamData Source code

var protected array<TeamDataProvider> TeamData;
The data providers for all teams in the current match.


Structures Detail

GameDataProviderTypes Source code

struct GameDataProviderTypes
{
var const class<GameInfoDataProvider> GameDataProviderClass;
var const class<PlayerDataProvider> PlayerDataProviderClass;
var const class<TeamDataProvider> TeamDataProviderClass;
};
Contains the classes which should be used for instancing data providers.
GameDataProviderClass:
the class to use for the game info data provider
PlayerDataProviderClass:
the class to use for the player data providers
TeamDataProviderClass:
the class to use for the team data provider.


Functions Detail

AddPlayerDataProvider Source code

final function AddPlayerDataProvider ( PlayerReplicationInfo PRI ) )
Creates a PlayerDataProvider for the specified PlayerReplicationInfo, and adds it to the PlayerData array.
@param PRI the PlayerReplicationInfo to create the PlayerDataProvider for.

AddTeamDataProvider Source code

final function AddTeamDataProvider ( TeamInfo TI ) )
Creates a TeamDataProvider for the specified TeamInfo, and adds it to the TeamData array.
@param TI the TeamInfo to create the TeamDataProvider for.

ClearDataProviders Source code

final function ClearDataProviders ( ) )
Clears all data provider references.

CreateGameDataProvider Source code

final function CreateGameDataProvider ( GameReplicationInfo GRI ) )
Creates the GameInfoDataProvider that will track all game info state data

FindPlayerDataProviderIndex Source code

final function int FindPlayerDataProviderIndex ( PlayerReplicationInfo PRI ) )
Returns the index into the PlayerData array for the PlayerDataProvider associated with the specified PlayerReplicationInfo.
@param PRI the PlayerReplicationInfo to search for
@return an index into the PlayerData array for the PlayerDataProvider associated with the specified PlayerReplicationInfo, or INDEX_NONE if no associated PlayerDataProvider was found

FindTeamDataProviderIndex Source code

final function int FindTeamDataProviderIndex ( TeamInfo TI ) )
Returns the index into the TeamData array for the TeamDataProvider associated with the specified TeamInfo.
@param TI the TeamInfo to search for
@return an index into the TeamData array for the TeamDataProvider associated with the specified TeamInfo, or INDEX_NONE if no associated TeamDataProvider was found

GetPlayerDataProvider Source code

final function PlayerDataProvider GetPlayerDataProvider ( PlayerReplicationInfo PRI ) )
Returns a reference to the PlayerDataProvider associated with the PRI specified.
@param PRI the PlayerReplicationInfo to search for
@return the PlayerDataProvider associated with the PRI specified, or None if there was no PlayerDataProvider for the PRI specified.

GetTeamDataProvider Source code

final function TeamDataProvider GetTeamDataProvider ( TeamInfo TI ) )
Returns a reference to the TeamDataProvider associated with the TI specified.
@param TI the TeamInfo to search for
@return the TeamDataProvider associated with the TeamInfo specified, or None if there was no TeamDataProvider for the TeamInfo specified.

NotifyGameSessionEnded Source code

function bool NotifyGameSessionEnded ( ) )
Called when the current map is being unloaded. Cleans up any references which would prevent garbage collection.
@return TRUE indicates that this data store should be automatically unregistered when this game session ends.

RemovePlayerDataProvider Source code

final function RemovePlayerDataProvider ( PlayerReplicationInfo PRI ) )
Removes the PlayerDataProvider associated with the specified PlayerReplicationInfo.
@param PRI the PlayerReplicationInfo to remove the data provider for.

RemoveTeamDataProvider Source code

final function RemoveTeamDataProvider ( TeamInfo TI ) )
Removes the TeamDataProvider associated with the specified TeamInfo.
@param TI the TeamInfo to remove the data provider for.


Defaultproperties

defaultproperties
{
   ProviderTypes=(GameDataProviderClass=Class'Engine.GameInfoDataProvider',PlayerDataProviderClass=Class'Engine.PlayerDataProvider',TeamDataProviderClass=Class'Engine.TeamDataProvider')
   Tag="CurrentGame"
   Name="Default__CurrentGameDataStore"
   ObjectArchetype=UIDataStore_GameState'Engine.Default__UIDataStore_GameState'
}

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