diff --git a/Facepunch.Steamworks/SteamServer.cs b/Facepunch.Steamworks/SteamServer.cs index 2fe6197..e44723f 100644 --- a/Facepunch.Steamworks/SteamServer.cs +++ b/Facepunch.Steamworks/SteamServer.cs @@ -36,6 +36,8 @@ namespace Steamworks internal static void InstallEvents() { + SteamInventory.InstallEvents(); + ValidateAuthTicketResponse_t.Install( x => OnValidateAuthTicketResponse?.Invoke( x.SteamID, x.OwnerSteamID, x.AuthSessionResponse ), true ); SteamServersConnected_t.Install( x => OnSteamServersConnected?.Invoke(), true ); SteamServerConnectFailure_t.Install( x => OnSteamServerConnectFailure?.Invoke(), true ); @@ -129,6 +131,7 @@ namespace Steamworks ShutdownInterfaces(); SteamNetworkingUtils.Shutdown(); SteamNetworkingSockets.Shutdown(); + SteamInventory.Shutdown(); SteamGameServer.Shutdown(); } diff --git a/Generator/SteamApiDefinition.cs b/Generator/SteamApiDefinition.cs index 7d1ffbb..fa159df 100644 --- a/Generator/SteamApiDefinition.cs +++ b/Generator/SteamApiDefinition.cs @@ -60,6 +60,7 @@ namespace Generator { get { + // 4/8 packing is irrevant to these classes if ( Name.Contains( "MatchMakingKeyValuePair_t" ) ) return true; if ( Fields.Any( x => x.Type.Contains( "CSteamID" ) ) )