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

            if (ScoutName.Length != 0)
            {
                hash ^= ScoutName.GetHashCode();
            }
            if (TrainerId != 0UL)
            {
                hash ^= TrainerId.GetHashCode();
            }
            if (DropRate != 0)
            {
                hash ^= DropRate.GetHashCode();
            }
            if (DisplayOrder != 0)
            {
                hash ^= DisplayOrder.GetHashCode();
            }
            if (U5 != 0)
            {
                hash ^= U5.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }