public override int GetHashCode() { int hash = 1; if (Result.Length != 0) { hash ^= Result.GetHashCode(); } if (ItemID != 0) { hash ^= ItemID.GetHashCode(); } if (Count != 0) { hash ^= Count.GetHashCode(); } if (Price != 0) { hash ^= Price.GetHashCode(); } if (GoldNumber != 0) { hash ^= GoldNumber.GetHashCode(); } return(hash); }
public override int GetHashCode() { var hashCode = -1919740922; hashCode = hashCode * -1521134295 + ItemID.GetHashCode(); hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(ItemName); return(hashCode); }
public override int GetHashCode() { var hashCode = 2036580019; hashCode = hashCode * -1521134295 + ItemID.GetHashCode(); hashCode = hashCode * -1521134295 + Amount.GetHashCode(); hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Itemname); hashCode = hashCode * -1521134295 + Price.GetHashCode(); return(hashCode); }
public override int GetHashCode() { int hash = 1; if (ItemID != 0) { hash ^= ItemID.GetHashCode(); } if (Value != 0F) { hash ^= Value.GetHashCode(); } return(hash); }
public override int GetHashCode() { unchecked { var hashCode = Id.GetHashCode(); hashCode = (hashCode * 397) ^ ItemID.GetHashCode(); hashCode = (hashCode * 397) ^ CategoryID.GetHashCode(); if (Item != null) { hashCode = (hashCode * 397) ^ Item.GetHashCode(); } if (Category != null) { hashCode = (hashCode * 397) ^ Category.GetHashCode(); } return(hashCode); } }
public override int GetHashCode() { return(ItemID.GetHashCode()); }
public override int GetHashCode() { return(ItemID.GetHashCode() ^ RandomPropertiesSeed.GetHashCode() ^ RandomPropertiesID.GetHashCode() ^ ItemBonus.GetHashCode() ^ Modifications.GetHashCode()); }
public override int GetHashCode() { return(ItemID.GetHashCode() ^ ItemBonus.GetHashCode() ^ Modifications.GetHashCode()); }
public override int GetHashCode() { return(item.GetHashCode() + need.GetHashCode()); }