๐ตUpdate User Avg Rate Stat
Like what you're seeing?
Support us as a GitHub Sponsor 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 GitHub Sponsors ... become a sponsor today!
Introduction
Only valid for Steam Game Servers
Updates an AVGRATE stat with new values for the specified user.
You must have called Request User Stats and it needs to return successfully via its callback before calling this!
This call only modifies Steam's in-memory state and is very cheap. To submit the stats to the server you must call Store User Stats.
This will work only on achievements that game servers are allowed to set. If the "Set By" field for this achievement is "Official GS" then only game servers that have been declared as officially controlled by you will be able to set it. To do this you must set the IP range of your official servers in the Dedicated Servers section of App Admin.
User
The Steam ID of the user to update the AVGRATE stat.
API Name
The API Name of the stat
Value
The value accumulation since the last call to this function
Length
The amount of applicable time in seconds since the last call to this function
Return Value
True if successful
Nodes
Last updated