diff --git a/Facepunch.Steamworks.Test/Facepunch.Steamworks.TestWin32.csproj b/Facepunch.Steamworks.Test/Facepunch.Steamworks.TestWin32.csproj index b5d97a7..2b311ca 100644 --- a/Facepunch.Steamworks.Test/Facepunch.Steamworks.TestWin32.csproj +++ b/Facepunch.Steamworks.Test/Facepunch.Steamworks.TestWin32.csproj @@ -45,9 +45,9 @@ - - - + + + diff --git a/Facepunch.Steamworks.Test/Facepunch.Steamworks.TestWin64.csproj b/Facepunch.Steamworks.Test/Facepunch.Steamworks.TestWin64.csproj index 2a18571..f8eecaf 100644 --- a/Facepunch.Steamworks.Test/Facepunch.Steamworks.TestWin64.csproj +++ b/Facepunch.Steamworks.Test/Facepunch.Steamworks.TestWin64.csproj @@ -44,9 +44,9 @@ - - - + + + diff --git a/Generator/Cleanup.cs b/Generator/Cleanup.cs index d4e5975..89b9779 100644 --- a/Generator/Cleanup.cs +++ b/Generator/Cleanup.cs @@ -113,6 +113,7 @@ public static class Cleanup internal static string Expose( string name ) { + if ( name == "PersonaChange" ) return "public"; if ( name == "FriendState" ) return "public"; if ( name == "MusicStatus" ) return "public"; if ( name == "ParentalFeature" ) return "public"; diff --git a/Generator/CodeWriter/CodeWriter.cs b/Generator/CodeWriter/CodeWriter.cs index 5f4aa2f..4ae771e 100644 --- a/Generator/CodeWriter/CodeWriter.cs +++ b/Generator/CodeWriter/CodeWriter.cs @@ -80,9 +80,9 @@ namespace Generator } { - // GenerateGlobalFunctions( "SteamAPI", $"{folder}../Generated/SteamAPI.cs" ); - // GenerateGlobalFunctions( "SteamGameServer", $"{folder}../Generated/SteamGameServer.cs" ); - // GenerateGlobalFunctions( "SteamInternal", $"{folder}../Generated/SteamInternal.cs" ); + // GenerateGlobalFunctions( "SteamAPI", $"{folder}../Generated/SteamAPI.cs" ); + // GenerateGlobalFunctions( "SteamGameServer", $"{folder}../Generated/SteamGameServer.cs" ); + // GenerateGlobalFunctions( "SteamInternal", $"{folder}../Generated/SteamInternal.cs" ); } foreach ( var iface in def.Interfaces ) diff --git a/Generator/Generator.csproj b/Generator/Generator.csproj index e1199b0..d6226a4 100644 --- a/Generator/Generator.csproj +++ b/Generator/Generator.csproj @@ -7,7 +7,12 @@ - + + + + PreserveNewest + + \ No newline at end of file diff --git a/Generator/Program.cs b/Generator/Program.cs index 1a23c56..4556f60 100644 --- a/Generator/Program.cs +++ b/Generator/Program.cs @@ -20,9 +20,9 @@ namespace Generator var generator = new CodeWriter( def ); - generator.ToFolder( "../Facepunch.Steamworks/Generated/" ); + generator.ToFolder( "../../../../Facepunch.Steamworks/Generated/" ); } - } + } }