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

            if (FarmMonsterId != 0L)
            {
                hash ^= FarmMonsterId.GetHashCode();
            }
            if (TrainerId != 0L)
            {
                hash ^= TrainerId.GetHashCode();
            }
            if (NbPassives != 0)
            {
                hash ^= NbPassives.GetHashCode();
            }
            if (IsShiny != false)
            {
                hash ^= IsShiny.GetHashCode();
            }
            if (U5 != 0L)
            {
                hash ^= U5.GetHashCode();
            }
            if (U6 != 0)
            {
                hash ^= U6.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
示例#2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (EggLotGroupId != 0)
            {
                hash ^= EggLotGroupId.GetHashCode();
            }
            if (FarmMonsterId != 0L)
            {
                hash ^= FarmMonsterId.GetHashCode();
            }
            if (Weight != 0)
            {
                hash ^= Weight.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }