I search for solutions in this order: Past Code, Unreal Source, Wiki, BUF, groups.yahoo, google, screaming at monitor. – RegularX
UE3:OnlineStatsWrite (UT3)
Object >> OnlineStats >> OnlineStatsWrite |
Contents
- Package:
- Engine
- Direct subclass:
- UTLeaderboardWriteBase
- This class in other games:
- UDK
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[edit]
ArbitratedViewIds[edit]
Modifiers: const
This array contains the list of views to write the properties to for arbitrated matches
Properties[edit]
Type: array<Settings.SettingsProperty>
Modifiers: const
The array of properties to publish to the stats view
RatingId[edit]
Type: int
Modifiers: const
This is the property id that is used to rate on
StatMappings[edit]
Type: array<Settings.StringIdToStringMapping>
Modifiers: const
Maps the stat's column num to the human readable stat name
ViewIds[edit]
Modifiers: const
This array contains the list of views to write the properties to
Delegates[edit]
OnStatsWriteComplete[edit]
Delegate used to notify the caller when stats write has completed
Native functions[edit]
DecrementFloatStat[edit]
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[edit]
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[edit]
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[edit]
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[edit]
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[edit]
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[edit]
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[edit]
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