public override int GetHashCode()
        {
            int hash = 1;

            hash ^= gymEvent_.GetHashCode();
            if (TotalGymCp != 0)
            {
                hash ^= TotalGymCp.GetHashCode();
            }
            if (LowestPokemonMotivation != 0D)
            {
                hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(LowestPokemonMotivation);
            }
            if (SlotsAvailable != 0)
            {
                hash ^= SlotsAvailable.GetHashCode();
            }
            if (OccupiedMillis != 0L)
            {
                hash ^= OccupiedMillis.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Example #2
0
        public override int GetHashCode()
        {
            int hash = 1;

            hash ^= gymEvent_.GetHashCode();
            if (TotalGymCp != 0)
            {
                hash ^= TotalGymCp.GetHashCode();
            }
            if (LowestPokemonMotivation != 0D)
            {
                hash ^= LowestPokemonMotivation.GetHashCode();
            }
            if (SlotsAvailable != 0)
            {
                hash ^= SlotsAvailable.GetHashCode();
            }
            if (OccupiedMillis != 0L)
            {
                hash ^= OccupiedMillis.GetHashCode();
            }
            return(hash);
        }