mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2025-01-14 07:38:06 +03:00
Equality compare InventoryItem (probably need to do this to every struct)
This commit is contained in:
parent
f65cfecc64
commit
360645962f
@ -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;
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user