コード例 #1
0
# Python bytecode 2.7 (decompiled from Python 2.7)
# Embedded file name: scripts/client/messenger/formatters/collections_by_type.py
from chat_shared import SYS_MESSAGE_TYPE as _SM_TYPE
from messenger.formatters import service_channel as _sc
from messenger.m_constants import SCH_CLIENT_MSG_TYPE
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(),
コード例 #2
0
 _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.waresSold.index():
 _sc.WaresSoldFormatter(),
 _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():
コード例 #3
0
ファイル: __init__.py プロジェクト: v3ss0n/WOTDecompiled
 SYS_MESSAGE_TYPE.adminTextMessage.index():
 sch_formatters.AdminMessageFormatter(),
 SYS_MESSAGE_TYPE.accountTypeChanged.index():
 sch_formatters.AccountTypeChangedFormatter(),
 SYS_MESSAGE_TYPE.giftReceived.index():
 sch_formatters.GiftReceivedFormatter(),
 SYS_MESSAGE_TYPE.autoMaintenance.index():
 sch_formatters.AutoMaintenanceFormatter(),
 SYS_MESSAGE_TYPE.waresSold.index():
 sch_formatters.WaresSoldFormatter(),
 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():