mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2025-04-26 23:09:37 +03:00
Rename RequestGlobalStats to RequestGlobalStatsAsync
This commit is contained in:
parent
29f426baf0
commit
faee6f6cf2
@ -144,7 +144,7 @@ namespace Steamworks
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="days">How many days of day-by-day history to retrieve in addition to the overall totals. The limit is 60.</param>
|
/// <param name="days">How many days of day-by-day history to retrieve in addition to the overall totals. The limit is 60.</param>
|
||||||
/// <returns>OK indicates success, InvalidState means you need to call RequestCurrentStats first, Fail means the remote call failed</returns>
|
/// <returns>OK indicates success, InvalidState means you need to call RequestCurrentStats first, Fail means the remote call failed</returns>
|
||||||
public static async Task<Result> RequestGlobalStats( int days )
|
public static async Task<Result> RequestGlobalStatsAsync( int days )
|
||||||
{
|
{
|
||||||
var result = await SteamUserStats.Internal.RequestGlobalStats( days );
|
var result = await SteamUserStats.Internal.RequestGlobalStats( days );
|
||||||
if ( !result.HasValue ) return Result.Fail;
|
if ( !result.HasValue ) return Result.Fail;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user