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: 15ms

DB GetPage 3
Generate Html 1
SaveChanges (1) 7
Render Body 0
Render Sidebar 1