mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2025-01-12 14:48:02 +03:00
Changed Server.Stats.Set to SetInt/SetFloat
This commit is contained in:
parent
b62f7f6b87
commit
72c5427be6
@ -68,7 +68,7 @@ namespace Facepunch.Steamworks
|
|||||||
/// Set the named stat for this user. Setting stats should follow the rules
|
/// Set the named stat for this user. Setting stats should follow the rules
|
||||||
/// you defined in Steamworks.
|
/// you defined in Steamworks.
|
||||||
/// </summary>
|
/// </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 );
|
return server.native.gameServerStats.SetUserStat( steamid, name, stat );
|
||||||
}
|
}
|
||||||
@ -77,7 +77,7 @@ namespace Facepunch.Steamworks
|
|||||||
/// Set the named stat for this user. Setting stats should follow the rules
|
/// Set the named stat for this user. Setting stats should follow the rules
|
||||||
/// you defined in Steamworks.
|
/// you defined in Steamworks.
|
||||||
/// </summary>
|
/// </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 );
|
return server.native.gameServerStats.SetUserStat0( steamid, name, stat );
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user