mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2024-12-25 14:15:47 +03:00
31 lines
778 B
C#
31 lines
778 B
C#
using System;
|
|
using System.Text;
|
|
using System.Threading;
|
|
using Microsoft.VisualStudio.TestTools.UnitTesting;
|
|
|
|
namespace Facepunch.Steamworks.Test
|
|
{
|
|
public partial class Client
|
|
{
|
|
[TestMethod]
|
|
public void UpdateStats()
|
|
{
|
|
using ( var client = new Facepunch.Steamworks.Client( 252490 ) )
|
|
{
|
|
client.Stats.UpdateStats();
|
|
}
|
|
}
|
|
|
|
[TestMethod]
|
|
public void UpdateSUpdateGlobalStatstats()
|
|
{
|
|
using ( var client = new Facepunch.Steamworks.Client( 252490 ) )
|
|
{
|
|
client.Stats.UpdateGlobalStats( 1 );
|
|
client.Stats.UpdateGlobalStats( 3 );
|
|
client.Stats.UpdateGlobalStats( 7 );
|
|
}
|
|
}
|
|
}
|
|
}
|