Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |
Copyright 1998-2011 Epic Games, Inc. All Rights Reserved. Gameplay event interface
Core.Object | +-- Engine.GameplayEvents
GameplayEventsReader, GameplayEventsWriter
Constants Summary | ||
---|---|---|
HeaderFlags_NoEventStrings | = | 1 |
Inherited Contants from Core.Object |
---|
AspectRatio16x9, AspectRatio4x3, AspectRatio5x4, DegToRad, DegToUnrRot, INDEX_NONE, InvAspectRatio16x9, InvAspectRatio4x3, InvAspectRatio5x4, MaxInt, Pi, RadToDeg, RadToUnrRot, UnrRotToDeg, UnrRotToRad |
Variables Summary | |
---|---|
array<String> | ActorArray |
pointer | Archive |
GameSessionInformation | CurrentSessionInfo |
array<DamageClassEventData> | DamageClassArray |
GameplayEventsHeader | Header |
array<PawnClassEventData> | PawnClassArray |
array<PlayerInformationNew> | PlayerList |
array<ProjectileClassEventData> | ProjectileClassArray |
array<String> | SoundCueArray |
string | StatsFileName |
array<GameplayEventMetaData> | SupportedEvents |
array<TeamInformation> | TeamList |
array<WeaponClassEventData> | WeaponClassArray |
Inherited Variables from Core.Object |
---|
Class, HashNext, HashOuterNext, Linker, LinkerIndex, Name, NetIndex, ObjectArchetype, ObjectFlags, ObjectInternalInteger, Outer, StateFrame, VfTableObject |
Enumerations Summary | ||
---|---|---|
EGameStatGroups GSG_EngineStats, GSG_Game, GSG_Team, GSG_Player, GSG_Weapon, GSG_Damage, GSG_Projectile, GSG_Pawn, GSG_GameSpecific, GSG_Aggregate |
Inherited Enumerations from Core.Object |
---|
AlphaBlendType, EAspectRatioAxisConstraint, EAutomatedRunResult, EAxis, EDebugBreakType, EInputEvent, EInterpCurveMode, EInterpMethodType, ETickingGroup |
Structures Summary | ||
---|---|---|
DamageClassEventData DamageClassName | ||
GameplayEventMetaData EventID, EventName, StatGroup, EventDataType | ||
GameplayEventsHeader EngineVersion, StatsWriterVersion, StreamOffset, AggregateOffset, FooterOffset, TotalStreamSize, FileSize, FilterClass, Flags | ||
GameSessionInformation AppTitleID, PlatformType, Language, GameplaySessionTimestamp, GameplaySessionStartTime, GameplaySessionEndTime, bGameplaySessionInProgress, GameplaySessionID, GameClassName, MapName, MapURL, SessionInstance, GameTypeId, OwningNetId | ||
GameStatGroup Group, Level | ||
PawnClassEventData PawnClassName | ||
PlayerInformationNew ControllerName, PlayerName, UniqueId, bIsBot | ||
ProjectileClassEventData ProjectileClassName | ||
TeamInformation TeamIndex, TeamName, TeamColor, MaxSize | ||
WeaponClassEventData WeaponClassName |
Functions Summary | ||
---|---|---|
![]() | CloseStatsFile () | |
![]() | string | GetFilename ())) |
![]() | bool | OpenStatsFile (string Filename) |
Constants Detail |
---|
Copyright 1998-2011 Epic Games, Inc. All Rights Reserved.
Variables Detail |
---|
The set of actors recorded during gameplay
FArchive pointer to serialize the data to/from disk
Information specific to the session when it was run
The set of damage types recorded during gameplay
Header of the gameplay events file
The set of pawns recorded during gameplay
Array of all players 'seen' by the game in this session
The set of projectiles recorded during gameplay
The set of sound cues encountered during gameplay
The name of the file we are writing the data to (const so set only upon create natively)
The set of events that the game supports writing to disk
Array of all teams 'seen' by the game in this session
The set of weapons recorded during gameplay
Enumerations Detail |
---|
GSG_EngineStats, GSG_Game, GSG_Team, GSG_Player, GSG_Weapon, GSG_Damage, GSG_Projectile, GSG_Pawn, GSG_GameSpecific, GSG_Aggregate};
Stat verbosity level
Structures Detail |
---|
Metadata describing the damage classes recorded during gameplay
DamageClassName:Name of the damage class used
var const int EventDataType;};
var const int EventID;
var const name EventName;
var const GameStatGroup StatGroup;
Holds the information describing a gameplay event
EventDataType:Type of data associated with this eventEventID:The unique id of the event (16 bits clamped)EventName:Human readable name of the eventStatGroup:Group that this stat belongs to, for filtering
var const int AggregateOffset;};
var const int EngineVersion;
var const int FileSize;
var string FilterClass;
var int Flags;
var const int FooterOffset;
var const int StatsWriterVersion;
var const int StreamOffset;
var const int TotalStreamSize;
Basic file header when writing to disk
AggregateOffset:Offset into the file for aggregate dataEngineVersion:Version of engine at the time of writing the fileFileSize:File size on diskFilterClass:What filter class is being used on the data, if anyFlags:Various settingsFooterOffset:Offset into the file where the metadata is writtenStatsWriterVersion:Version of the stats format at the time of writing the fileStreamOffset:Offset into the file for the stream dataTotalStreamSize:Amount of data in the stream (not including header/footer data)
var int AppTitleID;};
var const bool bGameplaySessionInProgress;
var const string GameClassName;
var const float GameplaySessionEndTime;
var const string GameplaySessionID;
var const float GameplaySessionStartTime;
var const string GameplaySessionTimestamp;
var const int GameTypeId;
var string Language;
var const string MapName;
var const string MapURL;
var const UniqueNetId OwningNetId;
var int PlatformType;
var const int SessionInstance;
Game stats session information recorded at log start
AppTitleID:Unique title identifierbGameplaySessionInProgress:Is a session currently in progressGameClassName:Name of the game class usedGameplaySessionEndTime:Time this session was ended (game time)GameplaySessionID:Unique session IDGameplaySessionStartTime:Time this session was started (game time)GameplaySessionTimestamp:Time this session was begun (real time)GameTypeId:Gametype IDLanguage:Language the session was run inMapName:Name of map at time of sessionMapURL:Game URL at time of sessionOwningNetId:UniqueID of player logging statsPlatformType:Platform the session was run onSessionInstance:Value used to distinguish between contiguous sections
Group:Group stat belongs toLevel:Level of the stat
Metadata describing the pawn classes recorded during gameplay
PawnClassName:Name of the pawn class used
var bool bIsBot;};
var string ControllerName;
var string PlayerName;
var UniqueNetId UniqueId;
List of player information cached in case the player logs out and GC collects the objects
bIsBot:Whether the player is a bot or notControllerName:Controller.NamePlayerName:Controller.PlayerReplicationInfo.PlayerNameUniqueId:UniqueID of the player
Metadata describing the projectile classes recorded during gameplay
ProjectileClassName:name of the projectile class used
var int MaxSize;};
var color TeamColor;
var int TeamIndex;
var string TeamName;
List of team information cached during the play session
MaxSize:Max size during the gameTeamColor:Color of the teamTeamIndex:Index of the team in gameTeamName:Name of the team
Metadata describing the weapon classes recorded during gameplay
WeaponClassName:Name of the weapon class used
Functions Detail |
---|
Closes and deletes the archive created clearing all data stored within
Retrieve the name of the file last in use by the gameplay event serializer, possibly empty
Creates the archive that we are going to be manipulating
@param Filename - name of the file that will be open for serialization
@return TRUE if successful, else FALSE
Defaultproperties |
---|
defaultproperties { SupportedEvents.Empty() SupportedEvents(0)={(EventID=-1,EventName="UNKNOWN",StatGroup=(Group=GSG_EngineStats,Level=999),EventDataType=1)} SupportedEvents.Add((EventID=GAMEEVENT_MATCH_STARTED,EventName="Match Started",StatGroup=(Group=GSG_Game,Level=1),EventDataType=1)) SupportedEvents.Add((EventID=GAMEEVENT_MATCH_ENDED,EventName="Match Ended",StatGroup=(Group=GSG_Game,Level=1),EventDataType=1)) SupportedEvents.Add((EventID=GAMEEVENT_ROUND_STARTED,EventName="Round Started",StatGroup=(Group=GSG_Game,Level=1),EventDataType=1)) SupportedEvents.Add((EventID=GAMEEVENT_ROUND_ENDED,EventName="Round Ended",StatGroup=(Group=GSG_Game,Level=1),EventDataType=1)) SupportedEvents.Add((EventID=GAMEEVENT_GAME_CLASS,EventName="Game Class",StatGroup=(Group=GSG_Game,Level=1),EventDataType=0)) SupportedEvents.Add((EventID=GAMEEVENT_GAME_OPTION_URL,EventName="Game Options",StatGroup=(Group=GSG_Game,Level=1),EventDataType=0)) SupportedEvents.Add((EventID=GAMEEVENT_GAME_MAPNAME,EventName="Map Name",StatGroup=(Group=GSG_Game,Level=1),EventDataType=0)) SupportedEvents.Add((EventID=GAMEEVENT_TEAM_CREATED,EventName="Team Created",StatGroup=(Group=GSG_Team,Level=1),EventDataType=2)) SupportedEvents.Add((EventID=GAMEEVENT_TEAM_GAME_SCORE,EventName="Team Score",StatGroup=(Group=GSG_Team,Level=1),EventDataType=2)) SupportedEvents.Add((EventID=GAMEEVENT_TEAM_MATCH_WON,EventName="Match Won",StatGroup=(Group=GSG_Team,Level=1),EventDataType=2)) SupportedEvents.Add((EventID=GAMEEVENT_TEAM_ROUND_WON,EventName="Round Won",StatGroup=(Group=GSG_Team,Level=1),EventDataType=2)) SupportedEvents.Add((EventID=GAMEEVENT_TEAM_ROUND_STALEMATE,EventName="Round Stalemate",StatGroup=(Group=GSG_Team,Level=1),EventDataType=2)) SupportedEvents.Add((EventID=GAMEEVENT_PLAYER_LOGIN,EventName="Player Login",StatGroup=(Group=GSG_Player,Level=1),EventDataType=7)) SupportedEvents.Add((EventID=GAMEEVENT_PLAYER_LOGOUT,EventName="Player Logout",StatGroup=(Group=GSG_Player,Level=1),EventDataType=7)) SupportedEvents.Add((EventID=GAMEEVENT_PLAYER_KILL,EventName="Player Killed",StatGroup=(Group=GSG_Player,Level=1),EventDataType=9)) SupportedEvents.Add((EventID=GAMEEVENT_PLAYER_DEATH,EventName="Player Death",StatGroup=(Group=GSG_Player,Level=1),EventDataType=9)) SupportedEvents.Add((EventID=GAMEEVENT_PLAYER_TEAMCHANGE,EventName="Player Team Change",StatGroup=(Group=GSG_Player,Level=1),EventDataType=3)) SupportedEvents.Add((EventID=GAMEEVENT_PLAYER_SPAWN,EventName="Player Spawn",StatGroup=(Group=GSG_Player,Level=1),EventDataType=6)) SupportedEvents.Add((EventID=GAMEEVENT_PLAYER_LOCATION_POLL,EventName="Player Locations",StatGroup=(Group=GSG_Player,Level=10),EventDataType=8)) SupportedEvents.Add((EventID=GAMEEVENT_PLAYER_KILL_STREAK,EventName="Kill Streak",StatGroup=(Group=GSG_Player,Level=1),EventDataType=3)) SupportedEvents.Add((EventID=GAMEEVENT_PLAYER_MATCH_WON,EventName="Player Match Won",StatGroup=(Group=GSG_Player,Level=1),EventDataType=3)) SupportedEvents.Add((EventID=GAMEEVENT_PLAYER_ROUND_WON,EventName="Player Round Won",StatGroup=(Group=GSG_Player,Level=1),EventDataType=3)) SupportedEvents.Add((EventID=GAMEEVENT_PLAYER_ROUND_STALEMATE,EventName="Player Round Stalemate",StatGroup=(Group=GSG_Player,Level=1),EventDataType=3)) SupportedEvents.Add((EventID=GAMEEVENT_WEAPON_DAMAGE,EventName="Weapon Damage",StatGroup=(Group=GSG_Weapon,Level=5),EventDataType=12)) SupportedEvents.Add((EventID=GAMEEVENT_WEAPON_DAMAGE_MELEE,EventName="Melee Damage",StatGroup=(Group=GSG_Weapon,Level=5),EventDataType=12)) SupportedEvents.Add((EventID=GAMEEVENT_WEAPON_FIRED,EventName="Weapon Fired",StatGroup=(Group=GSG_Weapon,Level=10),EventDataType=11)) SupportedEvents.Add((EventID=GAMEEVENT_PLAYER_KILL_NORMAL,EventName="Normal Kill",StatGroup=(Group=GSG_Weapon,Level=1),EventDataType=9)) SupportedEvents.Add((EventID=GAMEEVENT_MEMORYUSAGE_POLL,EventName="Memory Usage",StatGroup=(Group=GSG_EngineStats,Level=10),EventDataType=1)) SupportedEvents.Add((EventID=GAMEEVENT_NETWORKUSAGEIN_POLL,EventName="Network Usage IN",StatGroup=(Group=GSG_EngineStats,Level=10),EventDataType=1)) SupportedEvents.Add((EventID=GAMEEVENT_NETWORKUSAGEOUT_POLL,EventName="Network Usage OUT",StatGroup=(Group=GSG_EngineStats,Level=10),EventDataType=1)) SupportedEvents.Add((EventID=GAMEEVENT_PING_POLL,EventName="Ping",StatGroup=(Group=GSG_EngineStats,Level=10),EventDataType=1)) SupportedEvents.Add((EventID=GAMEEVENT_FRAMERATE_POLL,EventName="Frame Rate",StatGroup=(Group=GSG_EngineStats,Level=10),EventDataType=1)) SupportedEvents.Add((EventID=GAMEEVENT_GAMETHREAD_POLL,EventName="Game thread time",StatGroup=(Group=GSG_EngineStats,Level=10),EventDataType=18)) SupportedEvents.Add((EventID=GAMEEVENT_RENDERTHREAD_POLL,EventName="Render thread time",StatGroup=(Group=GSG_EngineStats,Level=10),EventDataType=18)) SupportedEvents.Add((EventID=GAMEEVENT_GPUFRAMETIME_POLL,EventName="GPU render time",StatGroup=(Group=GSG_EngineStats,Level=10),EventDataType=18)) SupportedEvents.Add((EventID=GAMEEVENT_FRAMETIME_POLL,EventName="Total frame time",StatGroup=(Group=GSG_EngineStats,Level=10),EventDataType=18)) SupportedEvents.Add((EventID=302,EventName="AI Path Failure",StatGroup=(Group=GSG_Game,Level=10),EventDataType=14)) SupportedEvents.Add((EventID=305,EventName="AI Firelink",StatGroup=(Group=GSG_Game,Level=10),EventDataType=14)) } |
Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |