Added stats

This commit is contained in:
Garry Newman 2016-07-15 11:26:27 +01:00
parent 53dfddabf0
commit c4e4bdb749
2 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,33 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Facepunch.Steamworks
{
public partial class Client : IDisposable
{
Stats _stats;
public Stats Stats
{
get
{
if ( _stats == null )
_stats = new Stats( this );
return _stats;
}
}
}
public class Stats
{
internal Client client;
internal Stats( Client c )
{
client = c;
}
}
}

View File

@ -122,6 +122,7 @@
<Compile Include="Client.cs" />
<Compile Include="Client\App.cs" />
<Compile Include="Client\Inventory.cs" />
<Compile Include="Client\Stats.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="steam_api_interop.cs" />
</ItemGroup>