diff --git a/com.rlabrecque.steamworks.net/Runtime/types/SteamInventory/SteamItemDef_t.cs b/com.rlabrecque.steamworks.net/Runtime/types/SteamInventory/SteamItemDef_t.cs index 974c2fcc..102d2188 100644 --- a/com.rlabrecque.steamworks.net/Runtime/types/SteamInventory/SteamItemDef_t.cs +++ b/com.rlabrecque.steamworks.net/Runtime/types/SteamInventory/SteamItemDef_t.cs @@ -17,9 +17,9 @@ namespace Steamworks { [System.Serializable] public struct SteamItemDef_t : System.IEquatable, System.IComparable { - public int m_SteamItemDef; + public uint m_SteamItemDef; - public SteamItemDef_t(int value) { + public SteamItemDef_t(uint value) { m_SteamItemDef = value; } @@ -43,11 +43,11 @@ public override int GetHashCode() { return !(x == y); } - public static explicit operator SteamItemDef_t(int value) { + public static explicit operator SteamItemDef_t(uint value) { return new SteamItemDef_t(value); } - public static explicit operator int(SteamItemDef_t that) { + public static explicit operator uint(SteamItemDef_t that) { return that.m_SteamItemDef; } @@ -55,7 +55,7 @@ public bool Equals(SteamItemDef_t other) { return m_SteamItemDef == other.m_SteamItemDef; } - public int CompareTo(SteamItemDef_t other) { + public uint CompareTo(SteamItemDef_t other) { return m_SteamItemDef.CompareTo(other.m_SteamItemDef); } }