Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation |
previous class next class | frames no frames |
Stats class that holds the read request definitions and the resulting data
Core.Object | +-- Engine.OnlineStats | +-- Engine.OnlineStatsRead
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 |
int | SortColumnId |
int | TitleId |
int | TotalRowsInView |
int | ViewId |
string | ViewName |
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 |
Functions Summary | ||
---|---|---|
![]() | AddPlayer (string PlayerName, niqueNetId PlayerId) | |
![]() | bool | GetFloatStatValueForPlayer (UniqueNetId PlayerId, nt StatColumnNo, ut float StatValue) |
![]() | bool | GetIntStatValueForPlayer (UniqueNetId PlayerId, nt StatColumnNo, ut int StatValue) |
![]() | int | GetRankForPlayer (UniqueNetId PlayerId) |
![]() | bool | GetStatValueForPlayerAsString (UniqueNetId PlayerId, nt StatColumnNo, ut String StatValue) |
![]() | bool | IsStatZero (UniqueNetId PlayerId, nt StatColumnNo) |
![]() | OnReadComplete () | |
![]() | bool | SetFloatStatValueForPlayer (UniqueNetId PlayerId, nt StatColumnNo, loat StatValue) |
![]() | bool | SetIntStatValueForPlayer (UniqueNetId PlayerId, nt StatColumnNo, nt StatValue) |
Inherited Functions from Engine.OnlineStats |
---|
GetViewId, GetViewName |
Variables Detail |
---|
The columns to read in the view we are interested in
Provides metadata for column ids so that we can present their human readable form
The rows of data returned by the online service
The column id to use for sorting rank
An optional title id to specify when reading stats (zero uses the default for the exe)
The total number of rows in the view
The unique id of the view that these stats are from
The name of the view in human readable terms
Structures Detail |
---|
Provides human readable values for column ids
ColumnName:The name displayed in column headings in the UIId:Id for the given stringName:Human readable form of the Id
A single instance of a stat in a row
ColumnNo:The ordinal value of the columnStatValue:The value of the stat for this column
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 rowNickName:Player's online nicknamePlayerId:The unique player id of the player these stats are forRank:The rank of the player in this stats view
Functions Detail |
---|
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
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
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
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
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
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)
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.
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
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 | UnrealScript Documentation |
previous class next class | frames no frames |