Facepunch.Steamworks Wiki

Revision Difference

SteamUserStats.AddStat#519413

<member type="method" namespace="Steamworks" parent="SteamUserStats" name="AddStat" static="true">⤶ <args>⤶ <arg name="name" type="string"></arg>⤶ <arg name="amount" type="int" default="1"></arg>⤶ </args>⤶ <return type="bool"></return>⤶ <summary>Adds this amount to the named stat. Internally this calls Get() and adds ⤶ to that value. Steam doesn't provide a mechanism for atomically increasing⤶ stats like this, this functionality is added here as a convenience.</summary>⤶ </member>⤶ ⤶ ⤶ <member type="method" namespace="Steamworks" parent="SteamUserStats" name="AddStat" static="true">⤶ <args>⤶ <arg name="name" type="string"></arg>⤶ <arg name="amount" type="float" default="1"></arg>⤶ </args>⤶ <return type="bool"></return>⤶ <summary>Adds this amount to the named stat. Internally this calls Get() and adds ⤶ to that value. Steam doesn't provide a mechanism for atomically increasing⤶ stats like this, this functionality is added here as a convenience.</summary>⤶ </member>⤶