public override int GetHashCode() { return(WeaponClass.GetHashCode() ^ Attack.GetHashCode() ^ Range.GetHashCode() ^ CanDoubleRange.GetHashCode() ^ Ammunition.GetHashCode()); }
public override int GetHashCode() { int hashCode = -305631161; hashCode = hashCode * -1521134295 + base.GetHashCode(); hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(item_id); hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(DisplayName); hashCode = hashCode * -1521134295 + Rarity.GetHashCode(); hashCode = hashCode * -1521134295 + weaponClass.GetHashCode(); return(hashCode); }