SERVER_FORMATTERS = {_SM_TYPE.serverReboot.index(): _sc.ServerRebootFormatter(),
 _SM_TYPE.serverRebootCancelled.index(): _sc.ServerRebootCancelledFormatter(),
 _SM_TYPE.battleResults.index(): _sc.BattleResultsFormatter(),
 _SM_TYPE.goldReceived.index(): _sc.GoldReceivedFormatter(),
 _SM_TYPE.invoiceReceived.index(): _sc.InvoiceReceivedFormatter(),
 _SM_TYPE.adminTextMessage.index(): _sc.AdminMessageFormatter(),
 _SM_TYPE.accountTypeChanged.index(): _sc.AccountTypeChangedFormatter(),
 _SM_TYPE.giftReceived.index(): _sc.GiftReceivedFormatter(),
 _SM_TYPE.autoMaintenance.index(): _sc.AutoMaintenanceFormatter(),
 _SM_TYPE.premiumBought.index(): _sc.PremiumBoughtFormatter(),
 _SM_TYPE.premiumExtended.index(): _sc.PremiumExtendedFormatter(),
 _SM_TYPE.premiumExpired.index(): _sc.PremiumExpiredFormatter(),
 _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(),
Ejemplo n.º 2
0
 _SM_TYPE.waresBought.index():
 _sc.WaresBoughtFormatter(),
 _SM_TYPE.premiumBought.index():
 _sc.PremiumBoughtFormatter(),
 _SM_TYPE.premiumExtended.index():
 _sc.PremiumExtendedFormatter(),
 _SM_TYPE.premiumExpired.index():
 _sc.PremiumExpiredFormatter(),
 _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.historicalCostsReserved.index():
Ejemplo n.º 3
0
    SYS_MESSAGE_TYPE.waresBought.index():
    sch_formatters.WaresBoughtFormatter(),
    SYS_MESSAGE_TYPE.premiumBought.index():
    sch_formatters.PremiumBoughtFormatter(),
    SYS_MESSAGE_TYPE.premiumExtended.index():
    sch_formatters.PremiumExtendedFormatter(),
    SYS_MESSAGE_TYPE.premiumExpired.index():
    sch_formatters.PremiumExpiredFormatter(),
    SYS_MESSAGE_TYPE.prbArenaFinish.index():
    sch_formatters.PrebattleArenaFinishFormatter(),
    SYS_MESSAGE_TYPE.prbKick.index():
    sch_formatters.PrebattleKickFormatter(),
    SYS_MESSAGE_TYPE.prbDestruction.index():
    sch_formatters.PrebattleDestructionFormatter(),
    SYS_MESSAGE_TYPE.vehicleCamouflageTimedOut.index():
    sch_formatters.VehCamouflageTimedOutFormatter(),
    SYS_MESSAGE_TYPE.vehiclePlayerEmblemTimedOut.index():
    sch_formatters.VehEmblemTimedOutFormatter(),
    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()
}