From 2088f14c0519bb836503f575ac55d27908c4bb6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Straubmeier?= Date: Mon, 22 Nov 2021 13:41:46 +0100 Subject: [PATCH] Generator comments out SteamInputActionEvent_t.AnalogAction_t types since the type declaration is missing from steam_api.json --- Generator/CodeWriter/Struct.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Generator/CodeWriter/Struct.cs b/Generator/CodeWriter/Struct.cs index f8afbaf..a879948 100644 --- a/Generator/CodeWriter/Struct.cs +++ b/Generator/CodeWriter/Struct.cs @@ -146,6 +146,11 @@ namespace Generator WriteLine($"[MarshalAs(UnmanagedType.ByValArray, SizeConst = {num}, ArraySubType = UnmanagedType.U4)]"); } + if ( t == "SteamInputActionEvent_t.AnalogAction_t" ) + { + Write( "// " ); + } + WriteLine( $"internal {t} {CleanMemberName( m.Name )}; // {m.Name} {m.Type}" ); } }