diff --git a/Facepunch.Steamworks/Structs/InventoryItem.cs b/Facepunch.Steamworks/Structs/InventoryItem.cs index 4472118..1e6b694 100644 --- a/Facepunch.Steamworks/Structs/InventoryItem.cs +++ b/Facepunch.Steamworks/Structs/InventoryItem.cs @@ -131,5 +131,8 @@ namespace Steamworks public InventoryItem Item; public int Quantity; } + + public static bool operator ==( InventoryItem a, InventoryItem b ) => a._id == b._id; + public static bool operator !=( InventoryItem a, InventoryItem b ) => a._id != b._id; } } \ No newline at end of file