| Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
| previous class next class | frames no frames | |||||
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 | |
|---|---|
| GameInfoDataProvider | GameData |
| array<PlayerDataProvider> | PlayerData |
| GameDataProviderTypes | ProviderTypes |
| array<TeamDataProvider> | TeamData |
| Inherited Variables from Engine.UIDataStore |
|---|
| RefreshSubscriberNotifies, Tag |
| Structures Summary | ||
|---|---|---|
| GameDataProviderTypes GameDataProviderClass, PlayerDataProviderClass, TeamDataProviderClass | ||
| Functions Summary | ||
|---|---|---|
![]() | AddPlayerDataProvider (PlayerReplicationInfo PRI )) | |
![]() | AddTeamDataProvider (TeamInfo TI )) | |
![]() | ClearDataProviders ())) | |
![]() | CreateGameDataProvider (GameReplicationInfo GRI )) | |
![]() | int | FindPlayerDataProviderIndex (PlayerReplicationInfo PRI )) |
![]() | int | FindTeamDataProviderIndex (TeamInfo TI )) |
![]() | PlayerDataProvider | GetPlayerDataProvider (PlayerReplicationInfo PRI )) |
![]() | TeamDataProvider | GetTeamDataProvider (TeamInfo TI )) |
![]() | bool | NotifyGameSessionEnded ())) |
![]() | RemovePlayerDataProvider (PlayerReplicationInfo PRI )) | |
![]() | 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 |
|---|
The GameInfoDataProvider that manages access to the current gameinfo's exposed data.
The data providers for all players in the current match
The data providers for all teams in the current match.
| Structures Detail |
|---|
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 providerPlayerDataProviderClass:the class to use for the player data providersTeamDataProviderClass:the class to use for the team data provider.
| Functions Detail |
|---|
AddPlayerDataProvider Source codeCreates a PlayerDataProvider for the specified PlayerReplicationInfo, and adds it to the PlayerData array.
@param PRI the PlayerReplicationInfo to create the PlayerDataProvider for.
AddTeamDataProvider Source codeCreates a TeamDataProvider for the specified TeamInfo, and adds it to the TeamData array.
@param TI the TeamInfo to create the TeamDataProvider for.
ClearDataProviders Source codeClears all data provider references.
CreateGameDataProvider Source codeCreates the GameInfoDataProvider that will track all game info state data
FindPlayerDataProviderIndex Source codeReturns 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 codeReturns 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 codeReturns 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 codeReturns 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 codeCalled 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 codeRemoves the PlayerDataProvider associated with the specified PlayerReplicationInfo.
@param PRI the PlayerReplicationInfo to remove the data provider for.
RemoveTeamDataProvider Source codeRemoves 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 | UnrealScript Documentation |
| previous class next class | frames no frames | |||||