mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2024-12-25 06:05:46 +03:00
Change codegen to make interface classes partial
This commit is contained in:
parent
d18086a1b8
commit
6dd32eb5c4
@ -23,7 +23,7 @@ public void GenerateInterface( SteamApiDefinition.Interface iface, string folder
|
|||||||
|
|
||||||
StartBlock( $"namespace Steamworks" );
|
StartBlock( $"namespace Steamworks" );
|
||||||
{
|
{
|
||||||
StartBlock( $"internal unsafe class {iface.Name} : SteamInterface" );
|
StartBlock( $"internal unsafe partial class {iface.Name} : SteamInterface" );
|
||||||
{
|
{
|
||||||
WriteLine();
|
WriteLine();
|
||||||
StartBlock( $"internal {iface.Name}( bool IsGameServer )" );
|
StartBlock( $"internal {iface.Name}( bool IsGameServer )" );
|
||||||
|
Loading…
Reference in New Issue
Block a user