Facepunch.Steamworks Wiki

Revision Difference


<member type="method" namespace="Steamworks" parent="SteamServerStats" name="GetFloat" static="true"> <args> <arg name="steamid" type="SteamId"></arg> <arg name="name" type="string"></arg> <arg name="defaultValue" type="float" default="0"></arg> </args> <return type="float"></return> <summary>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.</summary> </member>