Facepunch.Steamworks/Generator/Program.cs

25 lines
562 B
C#
Raw Normal View History

2016-10-18 18:34:28 +03:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace Generator
{
class Program
{
static void Main( string[] args )
{
var content = System.IO.File.ReadAllText( "steam_api.json" );
var def = Newtonsoft.Json.JsonConvert.DeserializeObject<SteamApiDefinition>( content );
2016-10-25 18:11:29 +03:00
var generator = new CodeWriter( def );
2016-10-18 18:34:28 +03:00
2016-10-25 12:29:35 +03:00
generator.ToFolder( "../Facepunch.Steamworks/SteamNative/" );
2016-10-18 18:34:28 +03:00
}
}
}