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

Page Links


Special Pages


Wikis

?

Render Time: 14ms

Session 0
DB GetPage 3
Generate Html 0
SaveChanges 8
Render Body 0
Render Sidebar 1