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

            if (PokemonId != 0)
            {
                hash ^= PokemonId.GetHashCode();
            }
            if (DistanceInMeters != 0F)
            {
                hash ^= DistanceInMeters.GetHashCode();
            }
            if (EncounterId != 0UL)
            {
                hash ^= EncounterId.GetHashCode();
            }
            if (FortId.Length != 0)
            {
                hash ^= FortId.GetHashCode();
            }
            if (FortImageUrl.Length != 0)
            {
                hash ^= FortImageUrl.GetHashCode();
            }
            return(hash);
        }
Example #2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (EncounterId != 0UL)
            {
                hash ^= EncounterId.GetHashCode();
            }
            if (FortId.Length != 0)
            {
                hash ^= FortId.GetHashCode();
            }
            if (PlayerLatitude != 0D)
            {
                hash ^= PlayerLatitude.GetHashCode();
            }
            if (PlayerLongitude != 0D)
            {
                hash ^= PlayerLongitude.GetHashCode();
            }
            if (GymLatDegrees != 0D)
            {
                hash ^= GymLatDegrees.GetHashCode();
            }
            if (GymLngDegrees != 0D)
            {
                hash ^= GymLngDegrees.GetHashCode();
            }
            return(hash);
        }
 public override int GetHashCode()
 {
     unchecked
     {
         return((EncounterId.GetHashCode() * 397) ^ PokemonName.GetHashCode());
     }
 }
Example #4
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (EncounterId != 0UL)
            {
                hash ^= EncounterId.GetHashCode();
            }
            if (Pokeball != 0)
            {
                hash ^= Pokeball.GetHashCode();
            }
            if (NormalizedReticleSize != 0D)
            {
                hash ^= NormalizedReticleSize.GetHashCode();
            }
            if (SpawnPointId.Length != 0)
            {
                hash ^= SpawnPointId.GetHashCode();
            }
            if (HitPokemon != false)
            {
                hash ^= HitPokemon.GetHashCode();
            }
            if (SpinModifier != 0D)
            {
                hash ^= SpinModifier.GetHashCode();
            }
            if (NormalizedHitPosition != 0D)
            {
                hash ^= NormalizedHitPosition.GetHashCode();
            }
            return(hash);
        }
Example #5
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (PlayerLevel != 0)
            {
                hash ^= PlayerLevel.GetHashCode();
            }
            if (EncounterId.Length != 0)
            {
                hash ^= EncounterId.GetHashCode();
            }
            if (NodeLocation.Length != 0)
            {
                hash ^= NodeLocation.GetHashCode();
            }
            if (Outcome != 0)
            {
                hash ^= Outcome.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (PokemonId != global::POGOProtos.Enums.PokemonId.Missingno)
            {
                hash ^= PokemonId.GetHashCode();
            }
            if (DistanceInMeters != 0F)
            {
                hash ^= DistanceInMeters.GetHashCode();
            }
            if (EncounterId != 0UL)
            {
                hash ^= EncounterId.GetHashCode();
            }
            if (FortId.Length != 0)
            {
                hash ^= FortId.GetHashCode();
            }
            if (FortImageUrl.Length != 0)
            {
                hash ^= FortImageUrl.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (PlayerLevel != 0)
            {
                hash ^= PlayerLevel.GetHashCode();
            }
            if (EncounterId.Length != 0)
            {
                hash ^= EncounterId.GetHashCode();
            }
            if (SpellId.Length != 0)
            {
                hash ^= SpellId.GetHashCode();
            }
            if (Outcome != 0)
            {
                hash ^= Outcome.GetHashCode();
            }
            if (CheckpointFailRound != 0)
            {
                hash ^= CheckpointFailRound.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Example #8
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (PokemonId != 0)
            {
                hash ^= PokemonId.GetHashCode();
            }
            if (DistanceInMeters != 0F)
            {
                hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(DistanceInMeters);
            }
            if (EncounterId != 0UL)
            {
                hash ^= EncounterId.GetHashCode();
            }
            if (FortId.Length != 0)
            {
                hash ^= FortId.GetHashCode();
            }
            if (FortImageUrl.Length != 0)
            {
                hash ^= FortImageUrl.GetHashCode();
            }
            if (pokemonDisplay_ != null)
            {
                hash ^= PokemonDisplay.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Example #9
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (EncounterId.Length != 0)
            {
                hash ^= EncounterId.GetHashCode();
            }
            if (AttemptNumber != 0)
            {
                hash ^= AttemptNumber.GetHashCode();
            }
            if (PlayerLevel != 0)
            {
                hash ^= PlayerLevel.GetHashCode();
            }
            if (EncounterProtoId.Length != 0)
            {
                hash ^= EncounterProtoId.GetHashCode();
            }
            if (SpellPattern.Length != 0)
            {
                hash ^= SpellPattern.GetHashCode();
            }
            if (ArMode != 0)
            {
                hash ^= ArMode.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Example #10
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (FortId.Length != 0)
            {
                hash ^= FortId.GetHashCode();
            }
            if (EncounterId != 0UL)
            {
                hash ^= EncounterId.GetHashCode();
            }
            if (ActivePokemonId != 0)
            {
                hash ^= ActivePokemonId.GetHashCode();
            }
            if (LureExpiresTimestampMs != 0L)
            {
                hash ^= LureExpiresTimestampMs.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Example #11
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (EncounterId != 0UL)
            {
                hash ^= EncounterId.GetHashCode();
            }
            if (SpawnPointId.Length != 0)
            {
                hash ^= SpawnPointId.GetHashCode();
            }
            if (PlayerLatitude != 0D)
            {
                hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(PlayerLatitude);
            }
            if (PlayerLongitude != 0D)
            {
                hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(PlayerLongitude);
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (pokemon_ != null)
            {
                hash ^= Pokemon.GetHashCode();
            }
            if (EncounterId != 0L)
            {
                hash ^= EncounterId.GetHashCode();
            }
            if (SpawnpointId.Length != 0)
            {
                hash ^= SpawnpointId.GetHashCode();
            }
            if (captureProbabilities_ != null)
            {
                hash ^= CaptureProbabilities.GetHashCode();
            }
            if (ThrowsRemaining != 0)
            {
                hash ^= ThrowsRemaining.GetHashCode();
            }
            if (RaidLevel != 0)
            {
                hash ^= RaidLevel.GetHashCode();
            }
            if (FortId.Length != 0)
            {
                hash ^= FortId.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (Result != 0)
            {
                hash ^= Result.GetHashCode();
            }
            if (PokemonId != 0)
            {
                hash ^= PokemonId.GetHashCode();
            }
            if (Latitude != 0D)
            {
                hash ^= Latitude.GetHashCode();
            }
            if (Longitude != 0D)
            {
                hash ^= Longitude.GetHashCode();
            }
            if (EncounterLocation.Length != 0)
            {
                hash ^= EncounterLocation.GetHashCode();
            }
            if (EncounterId != 0UL)
            {
                hash ^= EncounterId.GetHashCode();
            }
            if (DisappearTimestampMs != 0L)
            {
                hash ^= DisappearTimestampMs.GetHashCode();
            }
            return(hash);
        }
Example #14
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (EncounterId != 0UL)
            {
                hash ^= EncounterId.GetHashCode();
            }
            if (LastModifiedTimestampMs != 0L)
            {
                hash ^= LastModifiedTimestampMs.GetHashCode();
            }
            if (Latitude != 0D)
            {
                hash ^= Latitude.GetHashCode();
            }
            if (Longitude != 0D)
            {
                hash ^= Longitude.GetHashCode();
            }
            if (SpawnPointId.Length != 0)
            {
                hash ^= SpawnPointId.GetHashCode();
            }
            if (pokemonData_ != null)
            {
                hash ^= PokemonData.GetHashCode();
            }
            if (TimeTillHiddenMs != 0)
            {
                hash ^= TimeTillHiddenMs.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (SpawnPointId.Length != 0)
            {
                hash ^= SpawnPointId.GetHashCode();
            }
            if (EncounterId != 0UL)
            {
                hash ^= EncounterId.GetHashCode();
            }
            if (PokemonId != 0)
            {
                hash ^= PokemonId.GetHashCode();
            }
            if (ExpirationTimestampMs != 0L)
            {
                hash ^= ExpirationTimestampMs.GetHashCode();
            }
            if (Latitude != 0D)
            {
                hash ^= Latitude.GetHashCode();
            }
            if (Longitude != 0D)
            {
                hash ^= Longitude.GetHashCode();
            }
            return(hash);
        }
 public override int GetHashCode() {
   int hash = 1;
   if (ItemId != 0) hash ^= ItemId.GetHashCode();
   if (EncounterId != 0UL) hash ^= EncounterId.GetHashCode();
   if (SpawnPointId.Length != 0) hash ^= SpawnPointId.GetHashCode();
   if (_unknownFields != null) {
     hash ^= _unknownFields.GetHashCode();
   }
   return hash;
 }
        public override int GetHashCode()
        {
            int hash = 1;

            if (EncounterId.Length != 0)
            {
                hash ^= EncounterId.GetHashCode();
            }
            if (AttemptNumber != 0)
            {
                hash ^= AttemptNumber.GetHashCode();
            }
            if (Success != false)
            {
                hash ^= Success.GetHashCode();
            }
            if (FailReason != 0)
            {
                hash ^= FailReason.GetHashCode();
            }
            if (CastTime != 0D)
            {
                hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(CastTime);
            }
            if (FailedCheckpointNumber != 0)
            {
                hash ^= FailedCheckpointNumber.GetHashCode();
            }
            if (AverageDrawingError != 0D)
            {
                hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(AverageDrawingError);
            }
            if (MedianDrawingError != 0D)
            {
                hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(MedianDrawingError);
            }
            if (FinalSpellbarScore != 0D)
            {
                hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(FinalSpellbarScore);
            }
            if (EncounterProtoId.Length != 0)
            {
                hash ^= EncounterProtoId.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Example #18
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (EncounterId != 0UL)
            {
                hash ^= EncounterId.GetHashCode();
            }
            if (EncounterLocation.Length != 0)
            {
                hash ^= EncounterLocation.GetHashCode();
            }
            return(hash);
        }
Example #19
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (EncounterId.Length != 0)
            {
                hash ^= EncounterId.GetHashCode();
            }
            if (stageOptions_ != null)
            {
                hash ^= StageOptions.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Example #20
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (EncounterId.Length != 0)
            {
                hash ^= EncounterId.GetHashCode();
            }
            if (RemainingCharges != 0)
            {
                hash ^= RemainingCharges.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (ItemId != 0)
            {
                hash ^= ItemId.GetHashCode();
            }
            if (EncounterId != 0UL)
            {
                hash ^= EncounterId.GetHashCode();
            }
            if (SpawnPointId.Length != 0)
            {
                hash ^= SpawnPointId.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (EncounterId != 0UL)
            {
                hash ^= EncounterId.GetHashCode();
            }
            if (EncounterLocation.Length != 0)
            {
                hash ^= EncounterLocation.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (EncounterId.Length != 0)
            {
                hash ^= EncounterId.GetHashCode();
            }
            hash ^= energyGmtId_.GetHashCode();
            if (AccuracyBonus != 0F)
            {
                hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(AccuracyBonus);
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Example #24
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Result != 0)
            {
                hash ^= Result.GetHashCode();
            }
            if (PokemonId != 0)
            {
                hash ^= PokemonId.GetHashCode();
            }
            if (Latitude != 0D)
            {
                hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(Latitude);
            }
            if (Longitude != 0D)
            {
                hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(Longitude);
            }
            if (EncounterLocation.Length != 0)
            {
                hash ^= EncounterLocation.GetHashCode();
            }
            if (EncounterId != 0UL)
            {
                hash ^= EncounterId.GetHashCode();
            }
            if (DisappearTimestampMs != 0L)
            {
                hash ^= DisappearTimestampMs.GetHashCode();
            }
            if (pokemonDisplay_ != null)
            {
                hash ^= PokemonDisplay.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Example #25
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (EncounterId != 0UL)
            {
                hash ^= EncounterId.GetHashCode();
            }
            if (Pokeball != 0)
            {
                hash ^= Pokeball.GetHashCode();
            }
            if (NormalizedReticleSize != 0D)
            {
                hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(NormalizedReticleSize);
            }
            if (SpawnPointId.Length != 0)
            {
                hash ^= SpawnPointId.GetHashCode();
            }
            if (HitPokemon != false)
            {
                hash ^= HitPokemon.GetHashCode();
            }
            if (SpinModifier != 0D)
            {
                hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(SpinModifier);
            }
            if (NormalizedHitPosition != 0D)
            {
                hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(NormalizedHitPosition);
            }
            if (arPlusValues_ != null)
            {
                hash ^= ArPlusValues.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (PlayerLevel != 0)
            {
                hash ^= PlayerLevel.GetHashCode();
            }
            if (EncounterId.Length != 0)
            {
                hash ^= EncounterId.GetHashCode();
            }
            if (Attempt != 0)
            {
                hash ^= Attempt.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (EncounterId != 0UL)
            {
                hash ^= EncounterId.GetHashCode();
            }
            if (SpawnPointId.Length != 0)
            {
                hash ^= SpawnPointId.GetHashCode();
            }
            if (PlayerLatitude != 0D)
            {
                hash ^= PlayerLatitude.GetHashCode();
            }
            if (PlayerLongitude != 0D)
            {
                hash ^= PlayerLongitude.GetHashCode();
            }
            return(hash);
        }
Example #28
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (EncounterId != 0UL)
            {
                hash ^= EncounterId.GetHashCode();
            }
            if (LastModifiedTimestampMs != 0L)
            {
                hash ^= LastModifiedTimestampMs.GetHashCode();
            }
            if (Latitude != 0D)
            {
                hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(Latitude);
            }
            if (Longitude != 0D)
            {
                hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(Longitude);
            }
            if (SpawnPointId.Length != 0)
            {
                hash ^= SpawnPointId.GetHashCode();
            }
            if (pokemonData_ != null)
            {
                hash ^= PokemonData.GetHashCode();
            }
            if (TimeTillHiddenMs != 0)
            {
                hash ^= TimeTillHiddenMs.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
Example #29
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Status != 0)
            {
                hash ^= Status.GetHashCode();
            }
            if (EncounterId.Length != 0)
            {
                hash ^= EncounterId.GetHashCode();
            }
            hash ^= stages_.GetHashCode();
            if (firstStageCombatResults_ != null)
            {
                hash ^= FirstStageCombatResults.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }