There is no spoon

UE3:UTLeaderboardWriteBase (UDK)

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

stats ready to be given to the online stat writing system

Constants

See UTLeaderboardWriteBase constants.

Properties

PureViewIds

Type: array<int>

Modifiers: const


Default value: 2

StatNameToStatIdMapping

Type: array<StatMappingEntry>

Modifiers: protected

Array of mappings from PRI stat names to Online Stat properties

Default values

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

Structs

StatMappingEntry

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

Native functions

GetPropertyIdFromStatType

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

Given a PRI Stat name, return the PropertyId and PropertyDataType

PrintDebugInformation

native function PrintDebugInformation (OnlineSubsystem OnlineSubsystem)


SetFloatStatFromMapping

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

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

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

CopyAllStats

function CopyAllStats (UTPlayerReplicationInfo PRI)