Exemplo n.º 1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (S2CellId != 0UL)
            {
                hash ^= S2CellId.GetHashCode();
            }
            if (CurrentTimestampMs != 0L)
            {
                hash ^= CurrentTimestampMs.GetHashCode();
            }
            hash ^= forts_.GetHashCode();
            hash ^= spawnPoints_.GetHashCode();
            hash ^= deletedObjects_.GetHashCode();
            if (IsTruncatedList != false)
            {
                hash ^= IsTruncatedList.GetHashCode();
            }
            hash ^= fortSummaries_.GetHashCode();
            hash ^= decimatedSpawnPoints_.GetHashCode();
            hash ^= wildPokemons_.GetHashCode();
            hash ^= catchablePokemons_.GetHashCode();
            hash ^= nearbyPokemons_.GetHashCode();
            return(hash);
        }
Exemplo n.º 2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (S2CellId != 0L)
            {
                hash ^= S2CellId.GetHashCode();
            }
            if (displayWeather_ != null)
            {
                hash ^= DisplayWeather.GetHashCode();
            }
            if (gameplayWeather_ != null)
            {
                hash ^= GameplayWeather.GetHashCode();
            }
            hash ^= alerts_.GetHashCode();
            return(hash);
        }
Exemplo n.º 3
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);
        }