Facepunch.Steamworks Wiki

Revision Difference

SteamServerStats.GetInt#522541

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