Facepunch.Steamworks Wiki

Steamworks.SteamUserStats.PlayerCountAsync

Syntax

static async Task<int> PlayerCountAsync()

Description

Tries to get the number of players currently playing this game. Or -1 if failed.

Returns

Task<int>