Page cover image

🔵Update User Avg Rate Stat

Like what you're seeing?

Introduction

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