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

            if (FamilyId != 0)
            {
                hash ^= FamilyId.GetHashCode();
            }
            if (Candy != 0)
            {
                hash ^= Candy.GetHashCode();
            }
            return(hash);
        }
示例#2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (FamilyId.Length != 0)
            {
                hash ^= FamilyId.GetHashCode();
            }
            if (Amount != 0)
            {
                hash ^= Amount.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
示例#3
0
        public override int GetHashCode()
        {
            int hash = 1;

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

            if (Id.Length != 0)
            {
                hash ^= Id.GetHashCode();
            }
            if (FamilyId.Length != 0)
            {
                hash ^= FamilyId.GetHashCode();
            }
            if (ShardCount != 0)
            {
                hash ^= ShardCount.GetHashCode();
            }
            if (Rarity != 0)
            {
                hash ^= Rarity.GetHashCode();
            }
            if (oneTimeRewards_ != null)
            {
                hash ^= OneTimeRewards.GetHashCode();
            }
            if (PageId.Length != 0)
            {
                hash ^= PageId.GetHashCode();
            }
            if (unlockRequirements_ != null)
            {
                hash ^= UnlockRequirements.GetHashCode();
            }
            hash ^= shardCounts_.GetHashCode();
            if (StickerDisabled != false)
            {
                hash ^= StickerDisabled.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
示例#5
0
        public override int GetHashCode()
        {
            int hash = 1;

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

            if (Id.Length != 0)
            {
                hash ^= Id.GetHashCode();
            }
            if (FamilyId.Length != 0)
            {
                hash ^= FamilyId.GetHashCode();
            }
            hash ^= items_.GetHashCode();
            hash ^= completionRewards_.GetHashCode();
            if (unlockRequirements_ != null)
            {
                hash ^= UnlockRequirements.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
示例#7
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (PokemonId != 0)
            {
                hash ^= PokemonId.GetHashCode();
            }
            if (ModelScale != 0F)
            {
                hash ^= ModelScale.GetHashCode();
            }
            if (Type != 0)
            {
                hash ^= Type.GetHashCode();
            }
            if (Type2 != 0)
            {
                hash ^= Type2.GetHashCode();
            }
            if (camera_ != null)
            {
                hash ^= Camera.GetHashCode();
            }
            if (encounter_ != null)
            {
                hash ^= Encounter.GetHashCode();
            }
            if (stats_ != null)
            {
                hash ^= Stats.GetHashCode();
            }
            hash ^= quickMoves_.GetHashCode();
            hash ^= cinematicMoves_.GetHashCode();
            hash ^= animationTime_.GetHashCode();
            hash ^= evolutionIds_.GetHashCode();
            if (EvolutionPips != 0)
            {
                hash ^= EvolutionPips.GetHashCode();
            }
            if (Rarity != 0)
            {
                hash ^= Rarity.GetHashCode();
            }
            if (PokedexHeightM != 0F)
            {
                hash ^= PokedexHeightM.GetHashCode();
            }
            if (PokedexWeightKg != 0F)
            {
                hash ^= PokedexWeightKg.GetHashCode();
            }
            if (ParentPokemonId != 0)
            {
                hash ^= ParentPokemonId.GetHashCode();
            }
            if (HeightStdDev != 0F)
            {
                hash ^= HeightStdDev.GetHashCode();
            }
            if (WeightStdDev != 0F)
            {
                hash ^= WeightStdDev.GetHashCode();
            }
            if (KmDistanceToHatch != 0F)
            {
                hash ^= KmDistanceToHatch.GetHashCode();
            }
            if (FamilyId != 0)
            {
                hash ^= FamilyId.GetHashCode();
            }
            if (CandyToEvolve != 0)
            {
                hash ^= CandyToEvolve.GetHashCode();
            }
            return(hash);
        }
示例#8
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (PokemonId != global::POGOProtos.Enums.PokemonId.Missingno)
            {
                hash ^= PokemonId.GetHashCode();
            }
            if (ModelScale != 0F)
            {
                hash ^= ModelScale.GetHashCode();
            }
            if (Type != global::POGOProtos.Enums.PokemonType.None)
            {
                hash ^= Type.GetHashCode();
            }
            if (Type2 != global::POGOProtos.Enums.PokemonType.None)
            {
                hash ^= Type2.GetHashCode();
            }
            if (camera_ != null)
            {
                hash ^= Camera.GetHashCode();
            }
            if (encounter_ != null)
            {
                hash ^= Encounter.GetHashCode();
            }
            if (stats_ != null)
            {
                hash ^= Stats.GetHashCode();
            }
            hash ^= quickMoves_.GetHashCode();
            hash ^= cinematicMoves_.GetHashCode();
            hash ^= animationTime_.GetHashCode();
            hash ^= evolutionIds_.GetHashCode();
            if (EvolutionPips != 0)
            {
                hash ^= EvolutionPips.GetHashCode();
            }
            if (Rarity != global::POGOProtos.Enums.PokemonRarity.Normal)
            {
                hash ^= Rarity.GetHashCode();
            }
            if (PokedexHeightM != 0F)
            {
                hash ^= PokedexHeightM.GetHashCode();
            }
            if (PokedexWeightKg != 0F)
            {
                hash ^= PokedexWeightKg.GetHashCode();
            }
            if (ParentPokemonId != global::POGOProtos.Enums.PokemonId.Missingno)
            {
                hash ^= ParentPokemonId.GetHashCode();
            }
            if (HeightStdDev != 0F)
            {
                hash ^= HeightStdDev.GetHashCode();
            }
            if (WeightStdDev != 0F)
            {
                hash ^= WeightStdDev.GetHashCode();
            }
            if (KmDistanceToHatch != 0F)
            {
                hash ^= KmDistanceToHatch.GetHashCode();
            }
            if (FamilyId != global::POGOProtos.Enums.PokemonFamilyId.FamilyUnset)
            {
                hash ^= FamilyId.GetHashCode();
            }
            if (CandyToEvolve != 0)
            {
                hash ^= CandyToEvolve.GetHashCode();
            }
            if (KmBuddyDistance != 0F)
            {
                hash ^= KmBuddyDistance.GetHashCode();
            }
            if (BuddySize != global::POGOProtos.Settings.Master.PokemonSettings.Types.BuddySize.BUDDY_MEDIUM)
            {
                hash ^= BuddySize.GetHashCode();
            }
            return(hash);
        }