Facepunch.Steamworks Wiki

Steamworks.SteamUserStats.RequestGlobalStatsAsync

Syntax

static async Task<Result> RequestGlobalStatsAsync( int days )

Description

Asynchronously fetches global stats data, which is available for stats marked as "aggregated" in the App Admin panel of the Steamworks website. You must have called RequestCurrentStats and it needs to return successfully via its callback prior to calling this.

Arguments

int days
How many days of day-by-day history to retrieve in addition to the overall totals. The limit is 60.

Returns

Task<Result>
OK indicates success, InvalidState means you need to call RequestCurrentStats first, Fail means the remote call failed