My program doesn't have bugs. It just develops random features.
UE3:OnlineStatsWrite (UDK)
Object >> OnlineStats >> OnlineStatsWrite |
Contents
- Package:
- Engine
- Direct subclass:
- UTLeaderboardWriteBase
- This class in other games:
- UT3
This is an auto-generated page and may need human attention. Please remove the {{autogenerated}} tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
Stats class that accumulates the stats data before submitting it to the online subsytem for storage.
Properties
ArbitratedViewIds
This array contains the list of views to write the properties to for arbitrated matches
Properties
Type: array<Settings.SettingsProperty>
Modifiers: const
The array of properties to publish to the stats view
RatingId
Type: int
Modifiers: const
This is the property id that is used to rate on
StatMappings
Type: array<Settings.StringIdToStringMapping>
Modifiers: const
Maps the stat's column num to the human readable stat name
ViewIds
This array contains the list of views to write the properties to
Delegates
OnStatsWriteComplete
Delegate used to notify the caller when stats write has completed
Native functions
DecrementFloatStat
Decrements a stat of type SDT_Float by the value specified. Does nothing if the stat is not of the right type.
Parameters:
- StatId - the stat to decrement
- DecBy - the value to decrement by
DecrementIntStat
Decrements a stat of type SDT_Int by the value specified. Does nothing if the stat is not of the right type.
Parameters:
- StatId - the stat to decrement
- DecBy - the value to decrement by
GetStatId
Searches the stat mappings to find the stat id that matches the name
Parameters:
- StatName - the name of the stat being searched for
- StatId - the out value that gets the id
Returns:
- true if it was found, false otherwise
GetStatName
Searches the stat mappings to find human readable name for the stat id
Parameters:
- StatId - the id of the stats to find the name for
Returns:
- true if it was found, false otherwise
IncrementFloatStat
Increments a stat of type SDT_Float by the value specified. Does nothing if the stat is not of the right type.
Parameters:
- StatId - the stat to increment
- IncBy - the value to increment by
IncrementIntStat
Increments a stat of type SDT_Int by the value specified. Does nothing if the stat is not of the right type.
Parameters:
- StatId - the stat to increment
- IncBy - the value to increment by
SetFloatStat
Sets a stat of type SDT_Float to the value specified. Does nothing if the stat is not of the right type.
Parameters:
- StatId - the stat to change the value of
- Value - the new value to assign to the stat
SetIntStat
Sets a stat of type SDT_Int to the value specified. Does nothing if the stat is not of the right type.
Parameters:
- StatId - the stat to change the value of
- Value - the new value to assign to the stat