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

GameFramework.GameStatsAggregator

Extends
GameplayEventsHandler
Modifiers
native ( GameStats ) config ( Game )

Copyright 1998-2011 Epic Games, Inc. All Rights Reserved. Aggregates data from a game session stored on disk

Core.Object
|   
+-- Engine.GameplayEventsHandler
   |   
   +-- GameFramework.GameStatsAggregator

Constants Summary
GAMEEVENT_AGGREGATED_DAMAGE_DEALT_MELEE_DAMAGE=10203
GAMEEVENT_AGGREGATED_DAMAGE_DEALT_WEAPON_DAMAGE=10202
GAMEEVENT_AGGREGATED_DAMAGE_DEATHS=10201
GAMEEVENT_AGGREGATED_DAMAGE_KILLS=10200
GAMEEVENT_AGGREGATED_DAMAGE_RECEIVED_MELEE_DAMAGE=10205
GAMEEVENT_AGGREGATED_DAMAGE_RECEIVED_WEAPON_DAMAGE=10204
GAMEEVENT_AGGREGATED_DATA=10000
GAMEEVENT_AGGREGATED_GAME_SPECIFIC=11000
GAMEEVENT_AGGREGATED_PAWN_SPAWN=10400
GAMEEVENT_AGGREGATED_PLAYER_DEATHS=10003
GAMEEVENT_AGGREGATED_PLAYER_KILLS=10002
GAMEEVENT_AGGREGATED_PLAYER_MATCH_WON=10004
GAMEEVENT_AGGREGATED_PLAYER_NORMALKILL=10006
GAMEEVENT_AGGREGATED_PLAYER_ROUND_WON=10005
GAMEEVENT_AGGREGATED_PLAYER_TIMEALIVE=10001
GAMEEVENT_AGGREGATED_PLAYER_WASNORMALKILL=10007
GAMEEVENT_AGGREGATED_TEAM_DEATHS=10101
GAMEEVENT_AGGREGATED_TEAM_GAME_SCORE=10102
GAMEEVENT_AGGREGATED_TEAM_KILLS=10100
GAMEEVENT_AGGREGATED_TEAM_MATCH_WON=10103
GAMEEVENT_AGGREGATED_TEAM_ROUND_WON=10104
GAMEEVENT_AGGREGATED_WEAPON_FIRED=10300
Inherited Contants from Core.Object
AspectRatio16x9, AspectRatio4x3, AspectRatio5x4, DegToRad, DegToUnrRot, INDEX_NONE, InvAspectRatio16x9, InvAspectRatio4x3, InvAspectRatio5x4, MaxInt, Pi, RadToDeg, RadToUnrRot, UnrRotToDeg, UnrRotToRad

Variables Summary
array<GameplayEventMetaData>AggregateEvents
Map_MirrorAggregateEventsMapping
array<AggregateEventMapping>AggregatesList
DamageEventsAllDamageEvents
GameEventsAllGameEvents
PawnEventsAllPawnEvents
array<PlayerEvents>AllPlayerEvents
ProjectileEventsAllProjectileEvents
array<TeamEvents>AllTeamEvents
WeaponEventsAllWeaponEvents
GameStateObjectGameState
Inherited Variables from Engine.GameplayEventsHandler
EventIDFilter, GroupFilter, Reader
Inherited Variables from Core.Object
Class, HashNext, HashOuterNext, Linker, LinkerIndex, Name, NetIndex, ObjectArchetype, ObjectFlags, ObjectInternalInteger, Outer, StateFrame, VfTableObject

Enumerations Summary
Inherited Enumerations from Core.Object
AlphaBlendType, EAspectRatioAxisConstraint, EAutomatedRunResult, EAxis, EDebugBreakType, EInputEvent, EInterpCurveMode, EInterpMethodType, ETickingGroup

Structures Summary
AggregateEventMapping
EventID, AggregateID, TargetAggregateID
DamageEvents
TotalEvents, EventsByDamageClass
GameEvent
EventCountByTimePeriod
GameEvents
Events
PawnEvents
TotalEvents, EventsByPawnClass
PlayerEvents
TotalEvents, WeaponEvents, DamageAsPlayerEvents, DamageAsTargetEvents, ProjectileEvents, PawnEvents
ProjectileEvents
TotalEvents, EventsByProjectileClass
TeamEvents
TotalEvents, WeaponEvents, DamageAsPlayerEvents, DamageAsTargetEvents, ProjectileEvents, PawnEvents
WeaponEvents
TotalEvents, EventsByWeaponClass
Inherited Structures from Core.Object
Array_Mirror, BitArray_Mirror, BoneAtom, Box, BoxSphereBounds, Color, Cylinder, double, FColorVertexBuffer_Mirror, Guid, IndirectArray_Mirror, InlinePointerArray_Mirror, InterpCurveFloat, InterpCurveLinearColor, InterpCurvePointFloat, InterpCurvePointLinearColor, InterpCurvePointQuat, InterpCurvePointTwoVectors, InterpCurvePointVector, InterpCurvePointVector2D, InterpCurveQuat, InterpCurveTwoVectors, InterpCurveVector, InterpCurveVector2D, IntPoint, LinearColor, Map_Mirror, Matrix, MultiMap_Mirror, OctreeElementId, Plane, pointer, Quat, qword, RawDistribution, RenderCommandFence, RenderCommandFence_Mirror, Rotator, Set_Mirror, SHVector, SHVectorRGB, SparseArray_Mirror, TAlphaBlend, ThreadSafeCounter, TPOV, TwoVectors, UntypedBulkData_Mirror, Vector, Vector2D, Vector4

Functions Summary
functionbool GetAggregateMappingIDs (int EventID, out int AggregateID, out int TargetAggregateID)
event PostProcessStream ()
event PreProcessStream ()
Inherited Functions from Engine.GameplayEventsHandler
AddFilter, PostProcessStream, PreProcessStream, RemoveFilter, ResolveGroupFilters, SetReader
Inherited Functions from Core.Object
!, !=, $, $=, %, &, &&, *, **, *=, +, ++, +=, -, --, -=, / , /=, <, <<, <=, ==, >, >=, >>, >>>, @, @=, Abs, Acos, Asc, Asin, Atan, Atan2, BeginState, ByteToFloat, Caps, Chr, Clamp, ClampLength, ClampRotAxis, ClampRotAxisFromBase, ClampRotAxisFromRange, ClassIsChildOf, ClockwiseFrom, ColorToLinearColor, ContinuedState, Cos, Cross, DebugBreak, Disable, Dot, DumpStateStack, DynamicLoadObject, Enable, EndState, EvalInterpCurveFloat, EvalInterpCurveVector, EvalInterpCurveVector2D, Exp, FCeil, FClamp, FCubicInterp, FFloor, FindDeltaAngle, FindObject, FInterpConstantTo, FInterpEaseIn, FInterpEaseInOut, FInterpEaseOut, FInterpTo, float, FloatToByte, FMax, FMin, FPctByRange, FRand, GetAngularDegreesFromRadians, GetAngularDistance, GetAngularFromDotDist, GetAxes, GetBuildChangelistNumber, GetDotDistance, GetEngineVersion, GetEnum, GetFuncName, GetHeadingAngle, GetMappedRangeValue, GetPackageName, GetPerObjectConfigSections, GetRangePctByValue, GetRangeValueByPct, GetRightMost, GetRotatorAxis, GetScriptTrace, GetStateName, GetSystemTime, GetUnAxes, GotoState, InCylinder, InStr, InverseTransformNormal, InverseTransformVector, IsA, IsChildState, IsInState, IsPendingKill, IsUTracing, IsZero, JoinArray, Left, Len, Lerp, LerpColor, Localize, Locs, Loge, LogInternal, MakeColor, MakeLinearColor, MakeRotationMatrix, MakeRotationTranslationMatrix, MakeRotator, MatrixGetAxis, MatrixGetOrigin, MatrixGetRotator, Max, Mid, Min, MirrorVectorByNormal, Normal, Normalize, NormalizeRotAxis, NoZDot, OrthoRotation, ParseLocalizedPropertyPath, ParseStringIntoArray, PathName, PausedState, PointDistToLine, PointDistToPlane, PointDistToSegment, PointProjectToPlane, PoppedState, PopState, ProjectOnTo, PushedState, PushState, QuatDot, QuatFindBetween, QuatFromAxisAndAngle, QuatFromRotator, QuatInvert, QuatProduct, QuatRotateVector, QuatSlerp, QuatToRotator, Rand, RDiff, Repl, Right, RInterpTo, RLerp, RotRand, Round, RSize, RSmerp, RTransform, SaveConfig, SClampRotAxis, ScriptTrace, SetUTracing, Sin, Split, SplitString, Sqrt, Square, StaticSaveConfig, Tan, TimeStamp, ToHex, TransformNormal, TransformVector, TransformVectorByRotation, UnwindHeading, vect2d, VInterpTo, VLerp, VRand, VRandCone, VRandCone2, VSize, VSize2D, VSizeSq, VSizeSq2D, VSmerp, WarnInternal, ^, ^^, |, ||, ~, ~=


Constants Detail

GAMEEVENT_AGGREGATED_DAMAGE_DEALT_MELEE_DAMAGE Source code

const GAMEEVENT_AGGREGATED_DAMAGE_DEALT_MELEE_DAMAGE = 10203;

GAMEEVENT_AGGREGATED_DAMAGE_DEALT_WEAPON_DAMAGE Source code

const GAMEEVENT_AGGREGATED_DAMAGE_DEALT_WEAPON_DAMAGE = 10202;

GAMEEVENT_AGGREGATED_DAMAGE_DEATHS Source code

const GAMEEVENT_AGGREGATED_DAMAGE_DEATHS = 10201;

GAMEEVENT_AGGREGATED_DAMAGE_KILLS Source code

const GAMEEVENT_AGGREGATED_DAMAGE_KILLS = 10200;
Damage class aggregates

GAMEEVENT_AGGREGATED_DAMAGE_RECEIVED_MELEE_DAMAGE Source code

const GAMEEVENT_AGGREGATED_DAMAGE_RECEIVED_MELEE_DAMAGE = 10205;

GAMEEVENT_AGGREGATED_DAMAGE_RECEIVED_WEAPON_DAMAGE Source code

const GAMEEVENT_AGGREGATED_DAMAGE_RECEIVED_WEAPON_DAMAGE = 10204;

GAMEEVENT_AGGREGATED_DATA Source code

const GAMEEVENT_AGGREGATED_DATA = 10000;
Copyright 1998-2011 Epic Games, Inc. All Rights Reserved.

GAMEEVENT_AGGREGATED_GAME_SPECIFIC Source code

const GAMEEVENT_AGGREGATED_GAME_SPECIFIC = 11000;
Game specific starts here

GAMEEVENT_AGGREGATED_PAWN_SPAWN Source code

const GAMEEVENT_AGGREGATED_PAWN_SPAWN = 10400;
Pawn class aggregates

GAMEEVENT_AGGREGATED_PLAYER_DEATHS Source code

const GAMEEVENT_AGGREGATED_PLAYER_DEATHS = 10003;

GAMEEVENT_AGGREGATED_PLAYER_KILLS Source code

const GAMEEVENT_AGGREGATED_PLAYER_KILLS = 10002;

GAMEEVENT_AGGREGATED_PLAYER_MATCH_WON Source code

const GAMEEVENT_AGGREGATED_PLAYER_MATCH_WON = 10004;

GAMEEVENT_AGGREGATED_PLAYER_NORMALKILL Source code

const GAMEEVENT_AGGREGATED_PLAYER_NORMALKILL = 10006;

GAMEEVENT_AGGREGATED_PLAYER_ROUND_WON Source code

const GAMEEVENT_AGGREGATED_PLAYER_ROUND_WON = 10005;

GAMEEVENT_AGGREGATED_PLAYER_TIMEALIVE Source code

const GAMEEVENT_AGGREGATED_PLAYER_TIMEALIVE = 10001;
Player aggregates

GAMEEVENT_AGGREGATED_PLAYER_WASNORMALKILL Source code

const GAMEEVENT_AGGREGATED_PLAYER_WASNORMALKILL = 10007;

GAMEEVENT_AGGREGATED_TEAM_DEATHS Source code

const GAMEEVENT_AGGREGATED_TEAM_DEATHS = 10101;

GAMEEVENT_AGGREGATED_TEAM_GAME_SCORE Source code

const GAMEEVENT_AGGREGATED_TEAM_GAME_SCORE = 10102;

GAMEEVENT_AGGREGATED_TEAM_KILLS Source code

const GAMEEVENT_AGGREGATED_TEAM_KILLS = 10100;
Team aggregates

GAMEEVENT_AGGREGATED_TEAM_MATCH_WON Source code

const GAMEEVENT_AGGREGATED_TEAM_MATCH_WON = 10103;

GAMEEVENT_AGGREGATED_TEAM_ROUND_WON Source code

const GAMEEVENT_AGGREGATED_TEAM_ROUND_WON = 10104;

GAMEEVENT_AGGREGATED_WEAPON_FIRED Source code

const GAMEEVENT_AGGREGATED_WEAPON_FIRED = 10300;
Weapon class aggregates


Variables Detail

AggregateEvents Source code

var array<GameplayEventMetaData> AggregateEvents;
The set of aggregate events that the aggregation supports

AggregateEventsMapping Source code

var const private native transient Map_Mirror AggregateEventsMapping;
Mapping of event ID to its aggregate equivalents (created at runtime)

AggregatesList Source code

var array<AggregateEventMapping> AggregatesList;
Array of all aggregates that require mappings when making an aggregate run

AllDamageEvents Source code

var DamageEvents AllDamageEvents;
Aggregates of all recorded damage events

AllGameEvents Source code

var GameEvents AllGameEvents;
Aggregates of all recorded events

AllPawnEvents Source code

var PawnEvents AllPawnEvents;
Aggregates of all recorded pawn events

AllPlayerEvents Source code

var array<PlayerEvents> AllPlayerEvents;
Aggregates of all recorded player events

AllProjectileEvents Source code

var ProjectileEvents AllProjectileEvents;
Aggregates of all recorded projectile events

AllTeamEvents Source code

var array<TeamEvents> AllTeamEvents;
Aggregates of all recorded team events

AllWeaponEvents Source code

var WeaponEvents AllWeaponEvents;
Aggregates of all recorded weapon events

GameState Source code

var GameStateObject GameState;
Current game state as the game stream is parsed


Structures Detail

AggregateEventMapping Source code

struct AggregateEventMapping
{
var int AggregateID;
var int EventID;
var int TargetAggregateID;
};
Accumulate data for a generic event
@param EventID - the event to record
@param TimePeriod - time period slot to use (0 - game total, 1+ round total)
@param Value - value to accumulate
AggregateID:
Mapping to the main aggregate event
EventID:
Recorded event ID
TargetAggregateID:
Mapping to the aggregate event for the target if applicable

DamageEvents Source code

struct DamageEvents
{
var array<GameEvents> EventsByDamageClass;
var GameEvents TotalEvents;
};
Container for all damage events Stores totals across all damage plus individually by recorded damage class metadata

GameEvent Source code

struct GameEvent
{
var init array<float> EventCountByTimePeriod;
};
Base container for a single stat aggregated over multiple time periods

GameEvents Source code

struct GameEvents
{
var const private native transient Map_Mirror Events;
};
Container for game event stats stored by event ID

PawnEvents Source code

struct PawnEvents
{
var array<GameEvents> EventsByPawnClass;
var GameEvents TotalEvents;
};
Container for all pawn events Stores totals across all pawn plus individually by recorded pawn class metadata

PlayerEvents Source code

struct PlayerEvents
{
var DamageEvents DamageAsPlayerEvents;
var DamageEvents DamageAsTargetEvents;
var PawnEvents PawnEvents;
var ProjectileEvents ProjectileEvents;
var GameEvents TotalEvents;
var WeaponEvents WeaponEvents;
};
Container for all player events Stores totals across a single player plus all sub container types

ProjectileEvents Source code

struct ProjectileEvents
{
var array<GameEvents> EventsByProjectileClass;
var GameEvents TotalEvents;
};
Container for all projectile events Stores totals across all projectiles plus individually by recorded projectile class metadata

TeamEvents Source code

struct TeamEvents
{
var DamageEvents DamageAsPlayerEvents;
var DamageEvents DamageAsTargetEvents;
var PawnEvents PawnEvents;
var ProjectileEvents ProjectileEvents;
var GameEvents TotalEvents;
var WeaponEvents WeaponEvents;
};
Container for all team events Stores totals across a single team plus all sub container types

WeaponEvents Source code

struct WeaponEvents
{
var array<GameEvents> EventsByWeaponClass;
var GameEvents TotalEvents;
};
Container for all weapon events Stores totals across all weapons plus individually by recorded weapon class metadata


Functions Detail

GetAggregateMappingIDs Source code

native function bool GetAggregateMappingIDs ( int EventID, out int AggregateID, out int TargetAggregateID )

PostProcessStream Source code

native event PostProcessStream ( )
A chance to do something after the stream ends

PreProcessStream Source code

native event PreProcessStream ( )
A chance to do something before the stream starts


Defaultproperties

defaultproperties
{
	
 	AggregateEvents.Add((EventID=GAMEEVENT_AGGREGATED_PLAYER_TIMEALIVE,EventName="Player Time Alive",StatGroup=(Group=GSG_Aggregate,Level=1),EventDataType=21))
 	AggregateEvents.Add((EventID=GAMEEVENT_AGGREGATED_PLAYER_KILLS,EventName="Kills",StatGroup=(Group=GSG_Aggregate,Level=1),EventDataType=21))
 	AggregateEvents.Add((EventID=GAMEEVENT_AGGREGATED_PLAYER_DEATHS,EventName="Deaths",StatGroup=(Group=GSG_Aggregate,Level=1),EventDataType=21))
	AggregateEvents.Add((EventID=GAMEEVENT_AGGREGATED_PLAYER_NORMALKILL,EventName="Normal Kill",StatGroup=(Group=GSG_Aggregate,Level=1),EventDataType=21))
	AggregateEvents.Add((EventID=GAMEEVENT_AGGREGATED_PLAYER_WASNORMALKILL,EventName="Was Normal Kill",StatGroup=(Group=GSG_Aggregate,Level=1),EventDataType=21))
	AggregateEvents.Add((EventID=GAMEEVENT_AGGREGATED_PLAYER_MATCH_WON,EventName="Match Won",StatGroup=(Group=GSG_Aggregate,Level=1),EventDataType=21))	
	AggregateEvents.Add((EventID=GAMEEVENT_AGGREGATED_PLAYER_ROUND_WON,EventName="Round Won",StatGroup=(Group=GSG_Aggregate,Level=1),EventDataType=21))	
	
	AggregateEvents.Add((EventID=GAMEEVENT_AGGREGATED_TEAM_KILLS,EventName="Kills",StatGroup=(Group=GSG_Aggregate,Level=1),EventDataType=20))
 	AggregateEvents.Add((EventID=GAMEEVENT_AGGREGATED_TEAM_DEATHS,EventName="Deaths",StatGroup=(Group=GSG_Aggregate,Level=1),EventDataType=20))
	AggregateEvents.Add((EventID=GAMEEVENT_AGGREGATED_TEAM_GAME_SCORE,EventName="Team Score",StatGroup=(Group=GSG_Aggregate,Level=1),EventDataType=20))
	AggregateEvents.Add((EventID=GAMEEVENT_AGGREGATED_TEAM_MATCH_WON,EventName="Matches Won",StatGroup=(Group=GSG_Aggregate,Level=1),EventDataType=20))
	AggregateEvents.Add((EventID=GAMEEVENT_AGGREGATED_TEAM_ROUND_WON,EventName="Rounds Won",StatGroup=(Group=GSG_Aggregate,Level=1),EventDataType=20))

 	AggregateEvents.Add((EventID=GAMEEVENT_AGGREGATED_DAMAGE_KILLS,EventName="Kills",StatGroup=(Group=GSG_Aggregate,Level=1),EventDataType=23))
 	AggregateEvents.Add((EventID=GAMEEVENT_AGGREGATED_DAMAGE_DEATHS,EventName="Deaths",StatGroup=(Group=GSG_Aggregate,Level=1),EventDataType=23))
	AggregateEvents.Add((EventID=GAMEEVENT_AGGREGATED_DAMAGE_DEALT_WEAPON_DAMAGE,EventName="Weapon Damage Dealt",StatGroup=(Group=GSG_Aggregate,Level=1),EventDataType=23))
	AggregateEvents.Add((EventID=GAMEEVENT_AGGREGATED_DAMAGE_DEALT_MELEE_DAMAGE,EventName="Melee Damage Dealt",StatGroup=(Group=GSG_Aggregate,Level=1),EventDataType=23))
	AggregateEvents.Add((EventID=GAMEEVENT_AGGREGATED_DAMAGE_RECEIVED_WEAPON_DAMAGE,EventName="Weapon Damage Received",StatGroup=(Group=GSG_Aggregate,Level=1),EventDataType=23))
	AggregateEvents.Add((EventID=GAMEEVENT_AGGREGATED_DAMAGE_RECEIVED_MELEE_DAMAGE,EventName="Melee Damage Received",StatGroup=(Group=GSG_Aggregate,Level=1),EventDataType=23))

	AggregateEvents.Add((EventID=GAMEEVENT_AGGREGATED_WEAPON_FIRED,EventName="Weapon Fired",StatGroup=(Group=GSG_Aggregate,Level=1),EventDataType=22))

	AggregateEvents.Add((EventID=GAMEEVENT_AGGREGATED_PAWN_SPAWN,EventName="Spawns",StatGroup=(Group=GSG_Aggregate,Level=1),EventDataType=25))

	
	AggregatesList.Add((EventID=GAMEEVENT_PLAYER_MATCH_WON,AggregateID=GAMEEVENT_AGGREGATED_PLAYER_MATCH_WON))					
	AggregatesList.Add((EventID=GAMEEVENT_PLAYER_ROUND_WON,AggregateID=GAMEEVENT_AGGREGATED_PLAYER_ROUND_WON))

	AggregatesList.Add((EventID=GAMEEVENT_TEAM_GAME_SCORE,AggregateID=GAMEEVENT_AGGREGATED_TEAM_GAME_SCORE))
	AggregatesList.Add((EventID=GAMEEVENT_TEAM_MATCH_WON,AggregateID=GAMEEVENT_AGGREGATED_TEAM_MATCH_WON))
	AggregatesList.Add((EventID=GAMEEVENT_TEAM_ROUND_WON,AggregateID=GAMEEVENT_AGGREGATED_TEAM_ROUND_WON))

	AggregatesList.Add((EventID=GAMEEVENT_WEAPON_DAMAGE,AggregateID=GAMEEVENT_AGGREGATED_DAMAGE_DEALT_WEAPON_DAMAGE,TargetAggregateID=GAMEEVENT_AGGREGATED_DAMAGE_RECEIVED_WEAPON_DAMAGE))
	AggregatesList.Add((EventID=GAMEEVENT_WEAPON_DAMAGE_MELEE,AggregateID=GAMEEVENT_AGGREGATED_DAMAGE_DEALT_MELEE_DAMAGE,TargetAggregateID=GAMEEVENT_AGGREGATED_DAMAGE_RECEIVED_MELEE_DAMAGE))	

	AggregatesList.Add((EventID=GAMEEVENT_WEAPON_FIRED,AggregateID=GAMEEVENT_AGGREGATED_WEAPON_FIRED))

	AggregatesList.Add((EventID=GAMEEVENT_PLAYER_SPAWN,AggregateID=GAMEEVENT_AGGREGATED_PAWN_SPAWN))	

	AggregatesList.Add((EventID=GAMEEVENT_PLAYER_KILL_NORMAL,AggregateID=GAMEEVENT_AGGREGATED_PLAYER_NORMALKILL,TargetAggregateID=GAMEEVENT_AGGREGATED_PLAYER_WASNORMALKILL))
}


Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: ti 22-3-2011 19:56:49.619 - Created with UnCodeX