Example #1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (ItemId != 0UL)
            {
                hash ^= ItemId.GetHashCode();
            }
            if (ItemSubtypeId != 0)
            {
                hash ^= ItemSubtypeId.GetHashCode();
            }
            if (ImageId.Length != 0)
            {
                hash ^= ImageId.GetHashCode();
            }
            if (EquipmentType != 0)
            {
                hash ^= EquipmentType.GetHashCode();
            }
            if (U5 != 0)
            {
                hash ^= U5.GetHashCode();
            }
            if (Type != 0)
            {
                hash ^= Type.GetHashCode();
            }
            if (Rarity != 0)
            {
                hash ^= Rarity.GetHashCode();
            }
            if (DeckItemParamId != 0)
            {
                hash ^= DeckItemParamId.GetHashCode();
            }
            if (U9 != 0)
            {
                hash ^= U9.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Example #2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (DeckItemParamId != 0UL)
            {
                hash ^= DeckItemParamId.GetHashCode();
            }
            if (Boost != global::ReMastersLib.BoostStat.None)
            {
                hash ^= Boost.GetHashCode();
            }
            if (Lv1Boost != 0)
            {
                hash ^= Lv1Boost.GetHashCode();
            }
            if (Lv3Boost != 0)
            {
                hash ^= Lv3Boost.GetHashCode();
            }
            if (Lv6Boost != 0)
            {
                hash ^= Lv6Boost.GetHashCode();
            }
            if (Lv9Boost != 0)
            {
                hash ^= Lv9Boost.GetHashCode();
            }
            if (Lv12Boost != 0)
            {
                hash ^= Lv12Boost.GetHashCode();
            }
            if (Lv15Boost != 0)
            {
                hash ^= Lv15Boost.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }