Facepunch.Steamworks Wiki

Steamworks.SteamServerStats.GetInt

Syntax

static int GetInt( SteamId steamid, string name, int defaultValue = 0 )

Description

Get the named stat for this user. If getting the stat failed, will return defaultValue. You should have called Refresh for this userid - which downloads the stats from the backend. If you didn't call it this will always return defaultValue.

Arguments

SteamId steamid
string name
int defaultValue 0

Returns

int