From 14ff61e59b47297d6c822978eee5b99588a1e0b1 Mon Sep 17 00:00:00 2001 From: Garry Newman Date: Wed, 12 Feb 2020 16:00:26 +0000 Subject: [PATCH] Skip NetIdentity --- Facepunch.Steamworks/Generated/SteamStructs.cs | 8 -------- Generator/Cleanup.cs | 1 + 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/Facepunch.Steamworks/Generated/SteamStructs.cs b/Facepunch.Steamworks/Generated/SteamStructs.cs index 9e3db26..37ecb14 100644 --- a/Facepunch.Steamworks/Generated/SteamStructs.cs +++ b/Facepunch.Steamworks/Generated/SteamStructs.cs @@ -192,14 +192,6 @@ namespace Steamworks.Data } - [StructLayout( LayoutKind.Sequential, Pack = Platform.StructPlatformPackSize )] - internal struct NetIdentity - { - internal NetIdentityType Type; // m_eType ESteamNetworkingIdentityType - internal int CbSize; // m_cbSize int - - } - [StructLayout( LayoutKind.Sequential, Pack = Platform.StructPlatformPackSize )] internal struct SteamNetworkingQuickConnectionStatus { diff --git a/Generator/Cleanup.cs b/Generator/Cleanup.cs index 12bd049..5a5dd18 100644 --- a/Generator/Cleanup.cs +++ b/Generator/Cleanup.cs @@ -74,6 +74,7 @@ public static class Cleanup if ( type == "NetConfig_t" ) return false; if ( type == "ConnectionInfo" ) return false; if ( type == "SteamNetworkingIPAddr" ) return false; + if ( type == "NetIdentity" ) return false; return true; }