Changed Server.Stats.Set to SetInt/SetFloat

This commit is contained in:
Garry Newman 2017-07-31 12:56:54 +01:00
parent b62f7f6b87
commit 72c5427be6

View File

@ -68,7 +68,7 @@ public void Commit( ulong steamid, Action<ulong, bool> Callback = null )
/// Set the named stat for this user. Setting stats should follow the rules
/// you defined in Steamworks.
/// </summary>
public bool Set( ulong steamid, string name, int stat )
public bool SetInt( ulong steamid, string name, int stat )
{
return server.native.gameServerStats.SetUserStat( steamid, name, stat );
}
@ -77,7 +77,7 @@ public bool Set( ulong steamid, string name, int stat )
/// Set the named stat for this user. Setting stats should follow the rules
/// you defined in Steamworks.
/// </summary>
public bool Set( ulong steamid, string name, float stat )
public bool SetFloat( ulong steamid, string name, float stat )
{
return server.native.gameServerStats.SetUserStat0( steamid, name, stat );
}