Exemple #1
0
    _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()
}
 _SM_TYPE.vehiclePlayerInscriptionTimedOut.index(): _sc.VehInscriptionTimedOutFormatter(),
 _SM_TYPE.vehTypeLockExpired.index(): _sc.VehicleTypeLockExpired(),
 _SM_TYPE.serverDowntimeCompensation.index(): _sc.ServerDowntimeCompensation(),
 _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(),