Always snap to grid

UE3:GameStatsFileReader (UDK)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UDK Object >> GameplayEvents >> GameplayEventsReader >> GameStatsFileReader
Package: 
UnrealEd

Streams gameplay events recorded during a session to disk

Properties[edit]

AllEvents[edit]

Type: array<pointer{FIGameStatEntry}>

Modifiers: const, private, native, transient

All events in the file

EventsOffset[edit]

Type: int


SessionData[edit]

Type: GameStatsDatabase.GameSessionEntry


TheGameState[edit]

Type: GameState

Modifiers: private


Structs[edit]

GameState[edit]

Modifiers: native

Contains some notion of game state while parsing the data

bool bIsMatchStarted 
Has the match started
bool bIsRoundStarted 
Has the round started
int RoundNumber 
Current round number
array<TeamState> TeamStates 
array<PlayerState> PlayerStates 

PlayerState[edit]

Modifiers: native

Contains the notion of player state while parsing the data

int PlayerIndex 
Player index related to player metadata array
int CurrentTeamIndex 
Current team index (changes with TEAM_CHANGE event)

TeamState[edit]

Modifiers: native

int TeamIndex 
Team Index related to team metadata array
array<int> PlayerIndices 
Array of player indices that were ever on a given team

Native functions[edit]

CloseStatsFile[edit]

native function CloseStatsFile ()

Overrides: GameplayEventsReader.CloseStatsFile

Closes and deletes the archive that was being read from clearing all data stored within

OpenStatsFile[edit]

native function bool OpenStatsFile (string Filename)

Overrides: GameplayEventsReader.OpenStatsFile

Open a game stats file for reading

Parameters:

  • Filename - name of the file that will be open for serialization

Returns:

TRUE if successful, else FALSE