_SM_TYPE.achievementReceived.index(): _sc.AchievementFormatter(), _SM_TYPE.converter.index(): _sc.ConverterFormatter(), _SM_TYPE.tokenQuests.index(): _sc.TokenQuestsFormatter(), _SM_TYPE.notificationsCenter.index(): _sc.NCMessageFormatter(), _SM_TYPE.clanEvent.index(): _sc.ClanMessageFormatter(), _SM_TYPE.fortEvent.index(): _sc.StrongholdMessageFormatter(), _SM_TYPE.vehicleRented.index(): _sc.VehicleRentedFormatter(), _SM_TYPE.rentalsExpired.index(): _sc.RentalsExpiredFormatter(), _SM_TYPE.refSystemQuests.index(): _sc.RefSystemQuestsFormatter(), _SM_TYPE.refSystemReferralBoughtVehicle.index(): _sc.RefSystemReferralBoughtVehicleFormatter(), _SM_TYPE.refSystemReferralContributedXP.index(): _sc.RefSystemReferralContributedXPFormatter(), _SM_TYPE.potapovQuestBonus.index(): _sc.PersonalMissionsFormatter(), _SM_TYPE.goodieRemoved.index(): _sc.GoodieRemovedFormatter(), _SM_TYPE.goodieDisabled.index(): _sc.GoodieDisabledFormatter(), _SM_TYPE.telecomOrderCreated.index(): _sc.TelecomReceivedInvoiceFormatter(), _SM_TYPE.telecomOrderUpdated.index(): _sc.TelecomStatusFormatter(), _SM_TYPE.telecomOrderDeleted.index(): _sc.TelecomRemovedInvoiceFormatter(), _SM_TYPE.prbVehicleKick.index(): _sc.PrbVehicleKickFormatter(), _SM_TYPE.vehicleGroupLocked.index(): _sc.RotationGroupLockFormatter(), _SM_TYPE.vehicleGroupUnlocked.index(): _sc.RotationGroupUnlockFormatter(), _SM_TYPE.rankedQuests.index(): _sc.RankedQuestFormatter(), _SM_TYPE.bootcamp.index(): _sc.BootcampResultsFormatter(), _SM_TYPE.prbVehicleMaxSpgKick.index(): _sc.PrbVehicleMaxSpgKickFormatter(), _SM_TYPE.hangarQuests.index(): _sc.TokenQuestsFormatter()} CLIENT_FORMATTERS = {SCH_CLIENT_MSG_TYPE.SYS_MSG_TYPE: _sc.ClientSysMessageFormatter(), SCH_CLIENT_MSG_TYPE.PREMIUM_ACCOUNT_EXPIRY_MSG: _sc.PremiumAccountExpiryFormatter(), SCH_CLIENT_MSG_TYPE.AOGAS_NOTIFY_TYPE: _sc.AOGASNotifyFormatter(), SCH_CLIENT_MSG_TYPE.ACTION_NOTIFY_TYPE: _sc.ActionNotificationFormatter(), SCH_CLIENT_MSG_TYPE.BATTLE_TUTORIAL_RESULTS_TYPE: _sc.BattleTutorialResultsFormatter(), SCH_CLIENT_MSG_TYPE.KOREA_PARENTAL_CONTROL_TYPE: _sc.KoreaParentalControlFormatter()}
_sc.FortBattleRoundEndFormatter(), _SM_TYPE.fortBattleInvite.index(): _sc.FortBattleInviteFormatter(), _SM_TYPE.vehicleRented.index(): _sc.VehicleRentedFormatter(), _SM_TYPE.rentalsExpired.index(): _sc.RentalsExpiredFormatter(), _SM_TYPE.refSystemQuests.index(): _sc.RefSystemQuestsFormatter(), _SM_TYPE.refSystemReferralBoughtVehicle.index(): _sc.RefSystemReferralBoughtVehicleFormatter(), _SM_TYPE.refSystemReferralContributedXP.index(): _sc.RefSystemReferralContributedXPFormatter(), _SM_TYPE.potapovQuestBonus.index(): _sc.PotapovQuestsFormatter(), _SM_TYPE.goodieRemoved.index(): _sc.GoodieRemovedFormatter() } CLIENT_FORMATTERS = { SCH_CLIENT_MSG_TYPE.SYS_MSG_TYPE: _sc.ClientSysMessageFormatter(), SCH_CLIENT_MSG_TYPE.PREMIUM_ACCOUNT_EXPIRY_MSG: _sc.PremiumAccountExpiryFormatter(), SCH_CLIENT_MSG_TYPE.AOGAS_NOTIFY_TYPE: _sc.AOGASNotifyFormatter(), SCH_CLIENT_MSG_TYPE.ACTION_NOTIFY_TYPE: _sc.ActionNotificationFormatter(), SCH_CLIENT_MSG_TYPE.BATTLE_TUTORIAL_RESULTS_TYPE: _sc.BattleTutorialResultsFormatter() }
SYS_MESSAGE_TYPE.vehiclePlayerInscriptionTimedOut.index(): sch_formatters.VehInscriptionTimedOutFormatter(), SYS_MESSAGE_TYPE.vehTypeLockExpired.index(): sch_formatters.VehicleTypeLockExpired(), SYS_MESSAGE_TYPE.serverDowntimeCompensation.index(): sch_formatters.ServerDowntimeCompensation(), SYS_MESSAGE_TYPE.achievementReceived.index(): sch_formatters.AchievementFormatter(), SYS_MESSAGE_TYPE.converter.index(): sch_formatters.ConverterFormatter() } class SCH_CLIENT_MSG_TYPE(object): SYS_MSG_TYPE, PREMIUM_ACCOUNT_EXPIRY_MSG, AOGAS_NOTIFY_TYPE, ACTION_NOTIFY_TYPE, BATTLE_TUTORIAL_RESULTS_TYPE = range( 5) SCH_CLIENT_FORMATTERS_DICT = { SCH_CLIENT_MSG_TYPE.SYS_MSG_TYPE: sch_formatters.ClientSysMessageFormatter(), SCH_CLIENT_MSG_TYPE.PREMIUM_ACCOUNT_EXPIRY_MSG: sch_formatters.PremiumAccountExpiryFormatter(), SCH_CLIENT_MSG_TYPE.AOGAS_NOTIFY_TYPE: sch_formatters.AOGASNotifyFormatter(), SCH_CLIENT_MSG_TYPE.ACTION_NOTIFY_TYPE: sch_formatters.ActionNotificationFormatter(), SCH_CLIENT_MSG_TYPE.BATTLE_TUTORIAL_RESULTS_TYPE: sch_formatters.BattleTutorialResultsFormatter() }