Generator comments out SteamInputActionEvent_t.AnalogAction_t types since the type declaration is missing from steam_api.json

This commit is contained in:
André Straubmeier 2021-11-22 13:41:46 +01:00
parent 26eb429654
commit 2088f14c05

View File

@ -146,6 +146,11 @@ private void StructFields( SteamApiDefinition.StructDef.StructFields[] fields )
WriteLine($"[MarshalAs(UnmanagedType.ByValArray, SizeConst = {num}, ArraySubType = UnmanagedType.U4)]"); 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}" ); WriteLine( $"internal {t} {CleanMemberName( m.Name )}; // {m.Name} {m.Type}" );
} }
} }