I don't need to test my programs. I have an error-correcting modem.

UE3:GameStatsDatabase (UDK)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UDK Object >> GameStatsDatabase
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 database

AllSessions[edit]

Type: Object.Map_Mirror{TMap<FString, struct FGameSessionEntry>}

Modifiers: const, private, native, transient

Mapping of all session query indices by session ID

DamageClassesBySessionID[edit]

Type: Object.Map_Mirror{TMap<FString, TArray<struct FDamageClassEventData> >}

Modifiers: const, private, native, transient

Mapping of recorded damage class metadata by session id

GameStatsFileReaderClassname[edit]

Type: string

Modifiers: config

Name of the class responsible for parsing stats file on disk

Default value: "UnrealEd.GameStatsFileReader"

MapNameToFilenameMapping[edit]

Type: Object.MultiMap_Mirror{TMultiMap<FString, FString>}

Modifiers: const, private, native, transient

Cached mapping of all files found on editor load to the maps they represent

PawnClassesBySessionID[edit]

Type: Object.Map_Mirror{TMap<FString, TArray<struct FPawnClassEventData> >}

Modifiers: const, private, native, transient

Mapping of recorded pawn class metadata by session id

PlayerListBySessionID[edit]

Type: Object.Map_Mirror{TMap<FString, TArray<struct FPlayerInformationNew> >}

Modifiers: const, private, native, transient

Mapping of recorded player metadata by session id

ProjectileClassesBySessionID[edit]

Type: Object.Map_Mirror{TMap<FString, TArray<struct FProjectileClassEventData> >}

Modifiers: const, private, native, transient

Mapping of recorded projectile class metadata by session id

RemoteDB[edit]

Type: pointer{struct FGameStatsRemoteDB}

Modifiers: const, private, native, transient

Pointer to the remote database interface

SessionFilenamesBySessionID[edit]

Type: Object.Map_Mirror{TMap<FString, FString>}

Modifiers: const, private, native, transient

Mapping of session id to local filename

SessionInfoBySessionID[edit]

Type: Object.Map_Mirror{TMap<FString, struct FGameSessionInformation>}

Modifiers: const, private, native, transient

Mapping of session metadata by session id

SupportedEventsBySessionID[edit]

Type: Object.Map_Mirror{TMap<FString, TArray<struct FGameplayEventMetaData> >}

Modifiers: const, private, native, transient

Mapping of recorded event metadata by session id

TeamListBySessionID[edit]

Type: Object.Map_Mirror{TMap<FString, TArray<struct FTeamInformation> >}

Modifiers: const, private, native, transient

Mapping of recorded team metadata by session id

WeaponClassesBySessionID[edit]

Type: Object.Map_Mirror{TMap<FString, TArray<struct FWeaponClassEventData> >}

Modifiers: const, private, native, transient

Mapping of recorded weapon class metadata by session id

Structs[edit]

GameSessionEntry[edit]

Modifiers: native

Organizational notion of a stats session

array<int> AllEvents 
Mapping of session ID to events recorded
Object.MultiMap_Mirror{TMultiMap<INT, INT>} EventsByPlayer 
Mapping of player index to events recorded
Object.MultiMap_Mirror{TMultiMap<INT, INT>} EventsByRound 
Mapping of round index to events recorded
Object.MultiMap_Mirror{TMultiMap<INT, INT>} EventsByType 
Mapping of event index to events of that type
Object.MultiMap_Mirror{TMultiMap<INT, INT>} EventsByTeam 
Mapping of team index to events recorded

GameStatsRecordSet[edit]

Modifiers: native

Implementation of a query result set

array<int> LocalRecordSet 
array<int> RemoteRecordSet 

GameStatsSearchQuery[edit]

Modifiers: native

The struct containing the current notion of a game stats database query

int StartTime 
Min time in query
int EndTime 
Max time in query
array<string> SessionIDs 
Array of relevant session IDs
array<int> EventIDs 
Array of relevant event IDs
array<SessionIndexPair> TeamIndices 
Array of relevant team indices
array<SessionIndexPair> PlayerIndices 
Array of relevant player indices

IGameStatEntry[edit]

Modifiers: native

Base implementation of a "database" entry

string EventName 
int EventID 
float EventTime 

SessionIndexPair[edit]

Modifiers: native

Representation of some session/value pair for database queries

string SessionId 
The session this index is relevant for
int Index 
The index we're searching for

Native functions[edit]

CacheLocalFilenames[edit]

native function CacheLocalFilenames ()


ClearDatabase[edit]

native function ClearDatabase ()


GetDamageListBySessionID[edit]

native function GetDamageListBySessionID (const string SessionID, out array<GameplayEvents.DamageClassEventDataOutDamageList)

Get a list of the recorded damage types by session ID

Parameters:

  • SessionID - session ID to get the list for
  • PlayerList - output array of damage types

GetEventCountByType[edit]

native function int GetEventCountByType (const string SessionID, int EventID)


GetEventsListBySessionID[edit]

native function GetEventsListBySessionID (const string SessionID, out array<GameplayEvents.GameplayEventMetaDataOutGameplayEvents)

Get a list of the recorded events by session ID

Parameters:

  • SessionID - session ID to get the list for
  • PlayerList - output array of events

GetPawnListBySessionID[edit]

native function GetPawnListBySessionID (const string SessionID, out array<GameplayEvents.PawnClassEventDataOutPawnList)

Get a list of the recorded pawn types by session ID

Parameters:

  • SessionID - session ID to get the list for
  • PlayerList - output array of pawn types

GetPlayersListBySessionID[edit]

native function GetPlayersListBySessionID (const string SessionID, out array<GameplayEvents.PlayerInformationNewOutPlayerList)

Get a list of the players by session ID

Parameters:

  • SessionID - session ID to get the list for
  • PlayerList - output array of players

GetProjectileListBySessionID[edit]

native function GetProjectileListBySessionID (const string SessionID, out array<GameplayEvents.ProjectileClassEventDataOutProjectileList)

Get a list of the recorded projectiles by session ID

Parameters:

  • SessionID - session ID to get the list for
  • PlayerList - output array of projectiles

GetSessionIDs[edit]

native function GetSessionIDs (out array<stringSessionIDs)


GetSessionInfoBySessionID[edit]

native function GetSessionInfoBySessionID (const string SessionID, out GameplayEvents.GameSessionInformation OutSessionInfo)

Get a list of the players by session ID

Parameters:

  • SessionID - session ID to get the list for
  • PlayerList - output array of players

GetTeamListBySessionID[edit]

native function GetTeamListBySessionID (const string SessionID, out array<GameplayEvents.TeamInformationOutTeamList)

Get a list of the teams by session ID

Parameters:

  • SessionID - session ID to get the list for
  • PlayerList - output array of teams

GetWeaponListBySessionID[edit]

native function GetWeaponListBySessionID (const string SessionID, out array<GameplayEvents.WeaponClassEventDataOutWeaponList)

Get a list of the recorded weapons by session ID

Parameters:

  • SessionID - session ID to get the list for
  • PlayerList - output array of weapons

Init[edit]

native function Init (const string MapName)


UploadSession[edit]

native function bool UploadSession (const string SessionID)