Exemplo n.º 1
0
    _SM_TYPE.notificationsCenter.index():
    _sc.NCMessageFormatter(),
    _SM_TYPE.clanEvent.index():
    _sc.ClanMessageFormatter(),
    _SM_TYPE.fortEvent.index():
    _sc.FortMessageFormatter(),
    _SM_TYPE.fortBattleEnd.index():
    _sc.FortBattleResultsFormatter(),
    _SM_TYPE.fortBattleRoundEnd.index():
    _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:
 _SM_TYPE.prbArenaFinish.index(): _sc.PrebattleArenaFinishFormatter(),
 _SM_TYPE.prbKick.index(): _sc.PrebattleKickFormatter(),
 _SM_TYPE.prbDestruction.index(): _sc.PrebattleDestructionFormatter(),
 _SM_TYPE.vehicleCamouflageTimedOut.index(): _sc.VehCamouflageTimedOutFormatter(),
 _SM_TYPE.vehiclePlayerEmblemTimedOut.index(): _sc.VehEmblemTimedOutFormatter(),
 _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(),