Facepunch.Steamworks Wiki

Steamworks.SteamServerStats.GetFloat

Syntax

static float GetFloat( SteamId steamid, string name, float 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
float defaultValue 0

Returns

float