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

            if (fortSettings_ != null)
            {
                hash ^= FortSettings.GetHashCode();
            }
            if (mapSettings_ != null)
            {
                hash ^= MapSettings.GetHashCode();
            }
            if (levelSettings_ != null)
            {
                hash ^= LevelSettings.GetHashCode();
            }
            if (inventorySettings_ != null)
            {
                hash ^= InventorySettings.GetHashCode();
            }
            if (MinimumClientVersion.Length != 0)
            {
                hash ^= MinimumClientVersion.GetHashCode();
            }
            if (gpsSettings_ != null)
            {
                hash ^= GpsSettings.GetHashCode();
            }
            if (festivalSettings_ != null)
            {
                hash ^= FestivalSettings.GetHashCode();
            }
            if (eventSettings_ != null)
            {
                hash ^= EventSettings.GetHashCode();
            }
            if (MaxPokemonTypes != 0)
            {
                hash ^= MaxPokemonTypes.GetHashCode();
            }
            if (sfidaSettings_ != null)
            {
                hash ^= SfidaSettings.GetHashCode();
            }
            if (newsSettings_ != null)
            {
                hash ^= NewsSettings.GetHashCode();
            }
            if (translationSettings_ != null)
            {
                hash ^= TranslationSettings.GetHashCode();
            }
            if (passcodeSettings_ != null)
            {
                hash ^= PasscodeSettings.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (fortSettings_ != null)
            {
                hash ^= FortSettings.GetHashCode();
            }
            if (mapSettings_ != null)
            {
                hash ^= MapSettings.GetHashCode();
            }
            if (levelSettings_ != null)
            {
                hash ^= LevelSettings.GetHashCode();
            }
            if (inventorySettings_ != null)
            {
                hash ^= InventorySettings.GetHashCode();
            }
            if (MinimumClientVersion.Length != 0)
            {
                hash ^= MinimumClientVersion.GetHashCode();
            }
            if (gpsSettings_ != null)
            {
                hash ^= GpsSettings.GetHashCode();
            }
            if (festivalSettings_ != null)
            {
                hash ^= FestivalSettings.GetHashCode();
            }
            if (eventSettings_ != null)
            {
                hash ^= EventSettings.GetHashCode();
            }
            if (MaxPokemonTypes != 0)
            {
                hash ^= MaxPokemonTypes.GetHashCode();
            }
            if (sfidaSettings_ != null)
            {
                hash ^= SfidaSettings.GetHashCode();
            }
            if (newsSettings_ != null)
            {
                hash ^= NewsSettings.GetHashCode();
            }
            if (translationSettings_ != null)
            {
                hash ^= TranslationSettings.GetHashCode();
            }
            if (passcodeSettings_ != null)
            {
                hash ^= PasscodeSettings.GetHashCode();
            }
            if (notificationSettings_ != null)
            {
                hash ^= NotificationSettings.GetHashCode();
            }
            hash ^= clientAppBlacklist_.GetHashCode();
            if (clientPerfSettings_ != null)
            {
                hash ^= ClientPerfSettings.GetHashCode();
            }
            if (newsGlobalSettings_ != null)
            {
                hash ^= NewsGlobalSettings.GetHashCode();
            }
            if (telemetryGlobalSettings_ != null)
            {
                hash ^= TelemetryGlobalSettings.GetHashCode();
            }
            if (loginSettings_ != null)
            {
                hash ^= LoginSettings.GetHashCode();
            }
            if (questGlobalSettings_ != null)
            {
                hash ^= QuestGlobalSettings.GetHashCode();
            }
            if (socialSettings_ != null)
            {
                hash ^= SocialSettings.GetHashCode();
            }
            if (tradingGlobalSettings_ != null)
            {
                hash ^= TradingGlobalSettings.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }