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

Engine.OnlineStatsRead

Extends
OnlineStats
Modifiers
native abstract

Stats class that holds the read request definitions and the resulting data

Core.Object
|   
+-- Engine.OnlineStats
   |   
   +-- Engine.OnlineStatsRead

Direct Known Subclasses:

UTLeaderboardRead, UTStatsReadAchievements

Constants Summary
Inherited Contants from Core.Object
AspectRatio16x9, AspectRatio4x3, AspectRatio5x4, DegToRad, DegToUnrRot, INDEX_NONE, InvAspectRatio16x9, InvAspectRatio4x3, InvAspectRatio5x4, MaxInt, Pi, RadToDeg, RadToUnrRot, UnrRotToDeg, UnrRotToRad

Variables Summary
array<int>ColumnIds
array<ColumnMetaData>ColumnMappings
array<OnlineStatsRow>Rows
intSortColumnId
intTitleId
intTotalRowsInView
intViewId
stringViewName
Inherited Variables from Engine.OnlineStats
ViewIdMappings
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
ColumnMetaData
Id, Name, ColumnName
OnlineStatsColumn
ColumnNo, StatValue
OnlineStatsRow
PlayerId, Rank, NickName, Columns
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
function AddPlayer (string PlayerName, niqueNetId PlayerId)
functionbool GetFloatStatValueForPlayer (UniqueNetId PlayerId, nt StatColumnNo, ut float StatValue)
functionbool GetIntStatValueForPlayer (UniqueNetId PlayerId, nt StatColumnNo, ut int StatValue)
functionint GetRankForPlayer (UniqueNetId PlayerId)
functionbool GetStatValueForPlayerAsString (UniqueNetId PlayerId, nt StatColumnNo, ut String StatValue)
functionbool IsStatZero (UniqueNetId PlayerId, nt StatColumnNo)
event OnReadComplete ()
functionbool SetFloatStatValueForPlayer (UniqueNetId PlayerId, nt StatColumnNo, loat StatValue)
functionbool SetIntStatValueForPlayer (UniqueNetId PlayerId, nt StatColumnNo, nt StatValue)
Inherited Functions from Engine.OnlineStats
GetViewId, GetViewName
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, ^, ^^, |, ||, ~, ~=


Variables Detail

ColumnIds Source code

var const array<int> ColumnIds;
The columns to read in the view we are interested in

ColumnMappings Source code

var const array<ColumnMetaData> ColumnMappings;
Provides metadata for column ids so that we can present their human readable form

Rows Source code

var array<OnlineStatsRow> Rows;
The rows of data returned by the online service

SortColumnId Source code

var const int SortColumnId;
The column id to use for sorting rank

TitleId Source code

var const int TitleId;
An optional title id to specify when reading stats (zero uses the default for the exe)

TotalRowsInView Source code

var const int TotalRowsInView;
The total number of rows in the view

ViewId Source code

var int ViewId;
The unique id of the view that these stats are from

ViewName Source code

var const string ViewName;
The name of the view in human readable terms


Structures Detail

ColumnMetaData Source code

struct ColumnMetaData
{
var localized string ColumnName;
var const int Id;
var const name Name;
};
Provides human readable values for column ids
ColumnName:
The name displayed in column headings in the UI
Id:
Id for the given string
Name:
Human readable form of the Id

OnlineStatsColumn Source code

struct OnlineStatsColumn
{
var int ColumnNo;
var SettingsData StatValue;
};
A single instance of a stat in a row
ColumnNo:
The ordinal value of the column
StatValue:
The value of the stat for this column

OnlineStatsRow Source code

struct OnlineStatsRow
{
var array<OnlineStatsColumn> Columns;
var const string NickName;
var const UniqueNetId PlayerId;
var const SettingsData Rank;
};
Holds a single player's set of data for this stats view
Columns:
The set of columns (stat instances) for this row
NickName:
Player's online nickname
PlayerId:
The unique player id of the player these stats are for
Rank:
The rank of the player in this stats view


Functions Detail

AddPlayer Source code

native function AddPlayer ( string PlayerName,UniqueNetId PlayerId )
Adds a player to the results if not present
@param PlayerName the name to place in the data
@param PlayerId the player to search for

GetFloatStatValueForPlayer Source code

native function bool GetFloatStatValueForPlayer ( UniqueNetId PlayerId,int StatColumnNo,out float StatValue )
Searches the stat rows for the player and then finds the stat value from the specified column within that row
@param PlayerId the player to search for
@param StatColumnNo the column number to look up
@param StatValue the out value that is assigned the stat
@return whether the value was found for the player/column or not

GetIntStatValueForPlayer Source code

native function bool GetIntStatValueForPlayer ( UniqueNetId PlayerId,int StatColumnNo,out int StatValue )
Searches the stat rows for the player and then finds the stat value from the specified column within that row
@param PlayerId the player to search for
@param StatColumnNo the column number to look up
@param StatValue the out value that is assigned the stat
@return whether the value was found for the player/column or not

GetRankForPlayer Source code

native function int GetRankForPlayer ( UniqueNetId PlayerId )
Searches the rows for the player and returns their rank on the leaderboard
@param PlayerId the player to search for
@return the rank for the player

GetStatValueForPlayerAsString Source code

native function bool GetStatValueForPlayerAsString ( UniqueNetId PlayerId,int StatColumnNo,out String StatValue )
Searches the stat rows for the player and then finds the stat value from the specified column within that row
@param PlayerId the player to search for
@param StatColumnNo the column number to look up
@param StatValue the out value that is assigned the stat in string form
@return whether the value was found for the player/column or not

IsStatZero Source code

native function bool IsStatZero ( UniqueNetId PlayerId,int StatColumnNo )
Searches the stat rows for the player and then returns whether or not the stat is 0. Only works on float, double, int, int64, and empty stat types. Others return FALSE.
@param PlayerId the player to search for
@param StatColumnNo the column number to look up
@return whether the value is 0 (or equivalent)

OnReadComplete Source code

event OnReadComplete ( )
This event is called post read complete so that the stats object has a chance synthesize new stats from returned data, e.g. ratios, averages, etc.

SetFloatStatValueForPlayer Source code

native function bool SetFloatStatValueForPlayer ( UniqueNetId PlayerId,int StatColumnNo,float StatValue )
Searches the stat rows for the player and then sets the stat value from the specified column within that row
@param PlayerId the player to search for
@param StatColumnNo the column number to look up
@param StatValue the value to set that column to
@return whether the value was found for the player/column or not

SetIntStatValueForPlayer Source code

native function bool SetIntStatValueForPlayer ( UniqueNetId PlayerId,int StatColumnNo,int StatValue )
Searches the stat rows for the player and then sets the stat value from the specified column within that row
@param PlayerId the player to search for
@param StatColumnNo the column number to look up
@param StatValue the value to set that column to
@return whether the value was found for the player/column or not



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