My program doesn't have bugs. It just develops random features.

UE3:UTLeaderboardWriteBase (UT3)

From Unreal Wiki, The Unreal Engine Documentation Site
(Redirected from UE3:StatMappingEntry (UT3))
Jump to: navigation, search
UT3 Object >> OnlineStats >> OnlineStatsWrite >> UTLeaderboardWriteBase
Package: 
UTGame
Direct subclasses:
UTLeaderboardWriteWeaponsDM, UTLeaderboardWriteDM, UTLeaderboardWriteVehicleWeaponsDM, UTLeaderboardWriteVehiclesDM
This class in other games:
UDK

stats ready to be given to the online stat writing system

Constants[edit]

See UTLeaderboardWriteBase constants.

Properties[edit]

PureViewIds[edit]

Type: array<int>

Modifiers: const


Default value: 2

StatNameToStatIdMapping[edit]

Type: array<StatMappingEntry>

Modifiers: protected

Array of mappings from PRI stat names to Online Stat properties

Default values[edit]

Property Value
ArbitratedViewIds[0] 2
RatingId 536870916
ViewIds[0] 1

Structs[edit]

StatMappingEntry[edit]

Modifiers: native

Maps a stat property value to a stat string

name StatName 
Human readable form of the Id
int Id 
Property Id for the given string

Functions[edit]

Native functions[edit]

GetPropertyIdFromStatType[edit]

native function bool GetPropertyIdFromStatType (name StatName, out int StatId, out Settings.ESettingsDataType StatType)

Given a PRI Stat name, return the PropertyId and PropertyDataType

PrintDebugInformation[edit]

native function PrintDebugInformation (OnlineSubsystem OnlineSubsystem)


SetFloatStatFromMapping[edit]

native function bool SetFloatStatFromMapping (name StatName, float StatValue)

Set an float stat value to the online properties array given a PRI stat name and its value

SetIntStatFromMapping[edit]

native function bool SetIntStatFromMapping (name StatName, int StatValue)

Set an int stat value to the online properties array given a PRI stat name and its value

SetPureServerMode[edit]

native function SetPureServerMode (const bool bIsPureServer)

Tell the stats writing that we are a pure server to switch where we record stats

Other instance functions[edit]

CopyAllStats[edit]

function CopyAllStats (UTPlayerReplicationInfo PRI)