Stat Data
Last updated
Last updated
Support us as a and get instant access to all our assets, exclusive tools and assets, escalated support and issue tracking and our gratitude. These articles are made possible by our ... become a sponsor today!
A data wrapper around Steam's concept of a stat. This is implicitly convertible from string expecting that string to be the "API Name" of the stat.
The API name of the achievement.
Returns the float value of the stat.
Returns the int value of the stat.
Requests the stats of a specific user be downloaded from Valve's servers. The callback on this inidicates when the request is completed along with its status ... the handler would look similar to the following
For use after you have called RequestUserStats, this gets the value for a specific user and has two overloads one for int values and one for float values.
or
If the method returns false the stat was not found, if it returns true then the value will be populated with the result.
Sets the float value of the stat.
Sets the int value of the stat.
Updates the average rate state value of the stat.
A simple short cut to the Stats and Achievements Store Stats and achievements. You can call this on any achievement or stat and it will commit all changes to the backend for all stats and achievements.