mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2024-12-25 06:05:46 +03:00
Changed Server.Stats.Set to SetInt/SetFloat
This commit is contained in:
parent
b62f7f6b87
commit
72c5427be6
@ -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 );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user