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

            if (CreationTimestampMs != 0L)
            {
                hash ^= CreationTimestampMs.GetHashCode();
            }
            if (Username.Length != 0)
            {
                hash ^= Username.GetHashCode();
            }
            if (Team != 0)
            {
                hash ^= Team.GetHashCode();
            }
            hash ^= tutorialState_.GetHashCode();
            if (avatar_ != null)
            {
                hash ^= Avatar.GetHashCode();
            }
            if (MaxPokemonStorage != 0)
            {
                hash ^= MaxPokemonStorage.GetHashCode();
            }
            if (MaxItemStorage != 0)
            {
                hash ^= MaxItemStorage.GetHashCode();
            }
            if (dailyBonus_ != null)
            {
                hash ^= DailyBonus.GetHashCode();
            }
            if (equippedBadge_ != null)
            {
                hash ^= EquippedBadge.GetHashCode();
            }
            if (contactSettings_ != null)
            {
                hash ^= ContactSettings.GetHashCode();
            }
            hash ^= currencies_.GetHashCode();
            if (RemainingCodenameClaims != 0)
            {
                hash ^= RemainingCodenameClaims.GetHashCode();
            }
            if (buddyPokemon_ != null)
            {
                hash ^= BuddyPokemon.GetHashCode();
            }
            if (BattleLockoutEndMs != 0L)
            {
                hash ^= BattleLockoutEndMs.GetHashCode();
            }
            if (secondaryPlayerAvatar_ != null)
            {
                hash ^= SecondaryPlayerAvatar.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (CreationTimestampMs != 0L)
            {
                hash ^= CreationTimestampMs.GetHashCode();
            }
            if (Username.Length != 0)
            {
                hash ^= Username.GetHashCode();
            }
            if (Team != global::POGOProtos.Enums.TeamColor.Neutral)
            {
                hash ^= Team.GetHashCode();
            }
            hash ^= tutorialState_.GetHashCode();
            if (avatar_ != null)
            {
                hash ^= Avatar.GetHashCode();
            }
            if (MaxPokemonStorage != 0)
            {
                hash ^= MaxPokemonStorage.GetHashCode();
            }
            if (MaxItemStorage != 0)
            {
                hash ^= MaxItemStorage.GetHashCode();
            }
            if (dailyBonus_ != null)
            {
                hash ^= DailyBonus.GetHashCode();
            }
            if (equippedBadge_ != null)
            {
                hash ^= EquippedBadge.GetHashCode();
            }
            if (contactSettings_ != null)
            {
                hash ^= ContactSettings.GetHashCode();
            }
            hash ^= currencies_.GetHashCode();
            if (RemainingCodenameClaims != 0)
            {
                hash ^= RemainingCodenameClaims.GetHashCode();
            }
            if (buddyPokemon_ != null)
            {
                hash ^= BuddyPokemon.GetHashCode();
            }
            return(hash);
        }
Exemple #3
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (CreationTimestampMs != 0L)
            {
                hash ^= CreationTimestampMs.GetHashCode();
            }
            if (Username.Length != 0)
            {
                hash ^= Username.GetHashCode();
            }
            if (Team != 0)
            {
                hash ^= Team.GetHashCode();
            }
            hash ^= tutorialState_.GetHashCode();
            if (avatar_ != null)
            {
                hash ^= Avatar.GetHashCode();
            }
            if (MaxPokemonStorage != 0)
            {
                hash ^= MaxPokemonStorage.GetHashCode();
            }
            if (MaxItemStorage != 0)
            {
                hash ^= MaxItemStorage.GetHashCode();
            }
            if (dailyBonus_ != null)
            {
                hash ^= DailyBonus.GetHashCode();
            }
            if (equippedBadge_ != null)
            {
                hash ^= EquippedBadge.GetHashCode();
            }
            if (contactSettings_ != null)
            {
                hash ^= ContactSettings.GetHashCode();
            }
            hash ^= currencies_.GetHashCode();
            return(hash);
        }
Exemple #4
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (QuestType != 0)
            {
                hash ^= QuestType.GetHashCode();
            }
            if (dailyQuest_ != null)
            {
                hash ^= DailyQuest.GetHashCode();
            }
            if (multiPart_ != null)
            {
                hash ^= MultiPart.GetHashCode();
            }
            if (catchPokemon_ != null)
            {
                hash ^= CatchPokemon.GetHashCode();
            }
            if (addFriend_ != null)
            {
                hash ^= AddFriend.GetHashCode();
            }
            if (tradePokemon_ != null)
            {
                hash ^= TradePokemon.GetHashCode();
            }
            if (QuestId.Length != 0)
            {
                hash ^= QuestId.GetHashCode();
            }
            if (QuestSeed != 0L)
            {
                hash ^= QuestSeed.GetHashCode();
            }
            if (QuestContext != 0)
            {
                hash ^= QuestContext.GetHashCode();
            }
            if (TemplateId.Length != 0)
            {
                hash ^= TemplateId.GetHashCode();
            }
            if (Progress != 0)
            {
                hash ^= Progress.GetHashCode();
            }
            if (goal_ != null)
            {
                hash ^= Goal.GetHashCode();
            }
            if (Status != 0)
            {
                hash ^= Status.GetHashCode();
            }
            hash ^= questRewards_.GetHashCode();
            if (CreationTimestampMs != 0L)
            {
                hash ^= CreationTimestampMs.GetHashCode();
            }
            if (LastUpdateTimestampMs != 0L)
            {
                hash ^= LastUpdateTimestampMs.GetHashCode();
            }
            if (CompeletionTimestampMs != 0L)
            {
                hash ^= CompeletionTimestampMs.GetHashCode();
            }
            if (FortId.Length != 0)
            {
                hash ^= FortId.GetHashCode();
            }
            if (AdminGenerated != false)
            {
                hash ^= AdminGenerated.GetHashCode();
            }
            if (StampCountOverrideEnabled != false)
            {
                hash ^= StampCountOverrideEnabled.GetHashCode();
            }
            if (StampCountOverride != 0)
            {
                hash ^= StampCountOverride.GetHashCode();
            }
            if (S2CellId != 0L)
            {
                hash ^= S2CellId.GetHashCode();
            }
            if (StoryQuestTemplateVersion != 0)
            {
                hash ^= StoryQuestTemplateVersion.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }