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

            if (Result != 0)
            {
                hash ^= Result.GetHashCode();
            }
            hash ^= itemsAwarded_.GetHashCode();
            if (GemsAwarded != 0)
            {
                hash ^= GemsAwarded.GetHashCode();
            }
            if (pokemonDataEgg_ != null)
            {
                hash ^= PokemonDataEgg.GetHashCode();
            }
            if (ExperienceAwarded != 0)
            {
                hash ^= ExperienceAwarded.GetHashCode();
            }
            if (CooldownCompleteTimestampMs != 0L)
            {
                hash ^= CooldownCompleteTimestampMs.GetHashCode();
            }
            if (ChainHackSequenceNumber != 0)
            {
                hash ^= ChainHackSequenceNumber.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (Result != global::POGOProtos.Networking.Responses.FortSearchResponse.Types.Result.NoResultSet)
            {
                hash ^= Result.GetHashCode();
            }
            hash ^= itemsAwarded_.GetHashCode();
            if (GemsAwarded != 0)
            {
                hash ^= GemsAwarded.GetHashCode();
            }
            if (pokemonDataEgg_ != null)
            {
                hash ^= PokemonDataEgg.GetHashCode();
            }
            if (ExperienceAwarded != 0)
            {
                hash ^= ExperienceAwarded.GetHashCode();
            }
            if (CooldownCompleteTimestampMs != 0L)
            {
                hash ^= CooldownCompleteTimestampMs.GetHashCode();
            }
            if (ChainHackSequenceNumber != 0)
            {
                hash ^= ChainHackSequenceNumber.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (Result != 0)
            {
                hash ^= Result.GetHashCode();
            }
            hash ^= itemsAwarded_.GetHashCode();
            if (GemsAwarded != 0)
            {
                hash ^= GemsAwarded.GetHashCode();
            }
            if (pokemonDataEgg_ != null)
            {
                hash ^= PokemonDataEgg.GetHashCode();
            }
            if (ExperienceAwarded != 0)
            {
                hash ^= ExperienceAwarded.GetHashCode();
            }
            if (CooldownCompleteTimestampMs != 0L)
            {
                hash ^= CooldownCompleteTimestampMs.GetHashCode();
            }
            if (ChainHackSequenceNumber != 0)
            {
                hash ^= ChainHackSequenceNumber.GetHashCode();
            }
            if (awardedGymBadge_ != null)
            {
                hash ^= AwardedGymBadge.GetHashCode();
            }
            if (loot_ != null)
            {
                hash ^= Loot.GetHashCode();
            }
            if (bonusLoot_ != null)
            {
                hash ^= BonusLoot.GetHashCode();
            }
            if (RaidTickets != 0)
            {
                hash ^= RaidTickets.GetHashCode();
            }
            if (teamBonusLoot_ != null)
            {
                hash ^= TeamBonusLoot.GetHashCode();
            }
            if (FortId.Length != 0)
            {
                hash ^= FortId.GetHashCode();
            }
            return(hash);
        }
示例#4
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Id.Length != 0)
            {
                hash ^= Id.GetHashCode();
            }
            if (LastModifiedTimestampMs != 0L)
            {
                hash ^= LastModifiedTimestampMs.GetHashCode();
            }
            if (Latitude != 0D)
            {
                hash ^= Latitude.GetHashCode();
            }
            if (Longitude != 0D)
            {
                hash ^= Longitude.GetHashCode();
            }
            if (Enabled != false)
            {
                hash ^= Enabled.GetHashCode();
            }
            if (Type != 0)
            {
                hash ^= Type.GetHashCode();
            }
            if (OwnedByTeam != 0)
            {
                hash ^= OwnedByTeam.GetHashCode();
            }
            if (GuardPokemonId != 0)
            {
                hash ^= GuardPokemonId.GetHashCode();
            }
            if (GuardPokemonCp != 0)
            {
                hash ^= GuardPokemonCp.GetHashCode();
            }
            if (GymPoints != 0L)
            {
                hash ^= GymPoints.GetHashCode();
            }
            if (IsInBattle != false)
            {
                hash ^= IsInBattle.GetHashCode();
            }
            if (CooldownCompleteTimestampMs != 0L)
            {
                hash ^= CooldownCompleteTimestampMs.GetHashCode();
            }
            if (Sponsor != 0)
            {
                hash ^= Sponsor.GetHashCode();
            }
            if (RenderingType != 0)
            {
                hash ^= RenderingType.GetHashCode();
            }
            if (ActiveFortModifier.Length != 0)
            {
                hash ^= ActiveFortModifier.GetHashCode();
            }
            if (lureInfo_ != null)
            {
                hash ^= LureInfo.GetHashCode();
            }
            return(hash);
        }
示例#5
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Id.Length != 0)
            {
                hash ^= Id.GetHashCode();
            }
            if (LastModifiedTimestampMs != 0L)
            {
                hash ^= LastModifiedTimestampMs.GetHashCode();
            }
            if (Latitude != 0D)
            {
                hash ^= Latitude.GetHashCode();
            }
            if (Longitude != 0D)
            {
                hash ^= Longitude.GetHashCode();
            }
            if (OwnedByTeam != 0)
            {
                hash ^= OwnedByTeam.GetHashCode();
            }
            if (GuardPokemonId != 0)
            {
                hash ^= GuardPokemonId.GetHashCode();
            }
            if (GuardPokemonCp != 0)
            {
                hash ^= GuardPokemonCp.GetHashCode();
            }
            if (Enabled != false)
            {
                hash ^= Enabled.GetHashCode();
            }
            if (Type != 0)
            {
                hash ^= Type.GetHashCode();
            }
            if (GymPoints != 0L)
            {
                hash ^= GymPoints.GetHashCode();
            }
            if (IsInBattle != false)
            {
                hash ^= IsInBattle.GetHashCode();
            }
            hash ^= activeFortModifier_.GetHashCode();
            if (lureInfo_ != null)
            {
                hash ^= LureInfo.GetHashCode();
            }
            if (CooldownCompleteTimestampMs != 0L)
            {
                hash ^= CooldownCompleteTimestampMs.GetHashCode();
            }
            if (Sponsor != 0)
            {
                hash ^= Sponsor.GetHashCode();
            }
            if (RenderingType != 0)
            {
                hash ^= RenderingType.GetHashCode();
            }
            if (DeployLockoutEndMs != 0L)
            {
                hash ^= DeployLockoutEndMs.GetHashCode();
            }
            if (guardPokemonDisplay_ != null)
            {
                hash ^= GuardPokemonDisplay.GetHashCode();
            }
            if (Closed != false)
            {
                hash ^= Closed.GetHashCode();
            }
            if (raidInfo_ != null)
            {
                hash ^= RaidInfo.GetHashCode();
            }
            if (gymDisplay_ != null)
            {
                hash ^= GymDisplay.GetHashCode();
            }
            if (Visited != false)
            {
                hash ^= Visited.GetHashCode();
            }
            if (SameTeamDeployLockoutEndMs != 0L)
            {
                hash ^= SameTeamDeployLockoutEndMs.GetHashCode();
            }
            if (AllowCheckin != false)
            {
                hash ^= AllowCheckin.GetHashCode();
            }
            if (ImageUrl.Length != 0)
            {
                hash ^= ImageUrl.GetHashCode();
            }
            if (InEvent != false)
            {
                hash ^= InEvent.GetHashCode();
            }
            if (BannerUrl.Length != 0)
            {
                hash ^= BannerUrl.GetHashCode();
            }
            return(hash);
        }
示例#6
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Id.Length != 0)
            {
                hash ^= Id.GetHashCode();
            }
            if (LastModifiedTimestampMs != 0L)
            {
                hash ^= LastModifiedTimestampMs.GetHashCode();
            }
            if (Latitude != 0D)
            {
                hash ^= Latitude.GetHashCode();
            }
            if (Longitude != 0D)
            {
                hash ^= Longitude.GetHashCode();
            }
            if (Enabled != false)
            {
                hash ^= Enabled.GetHashCode();
            }
            if (Type != global::POGOProtos.Map.Fort.FortType.Gym)
            {
                hash ^= Type.GetHashCode();
            }
            if (OwnedByTeam != global::POGOProtos.Enums.TeamColor.Neutral)
            {
                hash ^= OwnedByTeam.GetHashCode();
            }
            if (GuardPokemonId != global::POGOProtos.Enums.PokemonId.Missingno)
            {
                hash ^= GuardPokemonId.GetHashCode();
            }
            if (GuardPokemonCp != 0)
            {
                hash ^= GuardPokemonCp.GetHashCode();
            }
            if (GymPoints != 0L)
            {
                hash ^= GymPoints.GetHashCode();
            }
            if (IsInBattle != false)
            {
                hash ^= IsInBattle.GetHashCode();
            }
            hash ^= activeFortModifier_.GetHashCode();
            if (lureInfo_ != null)
            {
                hash ^= LureInfo.GetHashCode();
            }
            if (CooldownCompleteTimestampMs != 0L)
            {
                hash ^= CooldownCompleteTimestampMs.GetHashCode();
            }
            if (Sponsor != global::POGOProtos.Map.Fort.FortSponsor.UnsetSponsor)
            {
                hash ^= Sponsor.GetHashCode();
            }
            if (RenderingType != global::POGOProtos.Map.Fort.FortRenderingType.Default)
            {
                hash ^= RenderingType.GetHashCode();
            }
            return(hash);
        }