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

            if (ScoutId.Length != 0)
            {
                hash ^= ScoutId.GetHashCode();
            }
            if (TrainerId != 0L)
            {
                hash ^= TrainerId.GetHashCode();
            }
            if (TextId.Length != 0)
            {
                hash ^= TextId.GetHashCode();
            }
            if (Priority != 0)
            {
                hash ^= Priority.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Example #2
0
 public override int GetHashCode()
 {
     unchecked
     {
         int hashCode = PrecursorMz.GetHashCode();
         hashCode = (hashCode * 397) ^ (TextId != null ? TextId.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (int)Extractor;
         return(hashCode);
     }
 }
Example #3
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (ScoutEpId.Length != 0)
            {
                hash ^= ScoutEpId.GetHashCode();
            }
            if (ScoutId.Length != 0)
            {
                hash ^= ScoutId.GetHashCode();
            }
            if (U3 != 0)
            {
                hash ^= U3.GetHashCode();
            }
            if (TextId.Length != 0)
            {
                hash ^= TextId.GetHashCode();
            }
            if (GemType != 0)
            {
                hash ^= GemType.GetHashCode();
            }
            if (Cost != 0)
            {
                hash ^= Cost.GetHashCode();
            }
            if (ScoutQuantity != 0)
            {
                hash ^= ScoutQuantity.GetHashCode();
            }
            if (U8 != 0)
            {
                hash ^= U8.GetHashCode();
            }
            if (ItemSetId != 0L)
            {
                hash ^= ItemSetId.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Example #4
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (BoxSearchId != 0)
            {
                hash ^= BoxSearchId.GetHashCode();
            }
            if (ScheduleId.Length != 0)
            {
                hash ^= ScheduleId.GetHashCode();
            }
            if (ItemId != 0L)
            {
                hash ^= ItemId.GetHashCode();
            }
            if (BannerId != 0)
            {
                hash ^= BannerId.GetHashCode();
            }
            if (U5.Length != 0)
            {
                hash ^= U5.GetHashCode();
            }
            if (TextId.Length != 0)
            {
                hash ^= TextId.GetHashCode();
            }
            if (U7 != 0)
            {
                hash ^= U7.GetHashCode();
            }
            if (U8 != 0)
            {
                hash ^= U8.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Example #5
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (ItemId != 0L)
            {
                hash ^= ItemId.GetHashCode();
            }
            if (TextId != 0)
            {
                hash ^= TextId.GetHashCode();
            }
            if (ImageId.Length != 0)
            {
                hash ^= ImageId.GetHashCode();
            }
            if (Rarity != 0)
            {
                hash ^= Rarity.GetHashCode();
            }
            if (U5 != 0)
            {
                hash ^= U5.GetHashCode();
            }
            if (U6 != 0)
            {
                hash ^= U6.GetHashCode();
            }
            if (EggLotGroupId != 0)
            {
                hash ^= EggLotGroupId.GetHashCode();
            }
            if (Time != 0)
            {
                hash ^= Time.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }