Ejemplo n.º 1
0
def getViewSettings():
    from gui.Scaleform.daapi.view.battle.shared import battle_timers
    from gui.Scaleform.daapi.view.battle.shared import damage_info_panel
    from gui.Scaleform.daapi.view.battle.shared import damage_panel
    from gui.Scaleform.daapi.view.battle.shared import debug_panel
    from gui.Scaleform.daapi.view.battle.shared import indicators
    from gui.Scaleform.daapi.view.battle.shared import ingame_help
    from gui.Scaleform.daapi.view.battle.shared import ingame_menu
    from gui.Scaleform.daapi.view.battle.shared import messages
    from gui.Scaleform.daapi.view.battle.shared import radial_menu
    from gui.Scaleform.daapi.view.battle.shared import battle_ticker
    from gui.Scaleform.daapi.view.dialogs import deserter_dialog
    from gui.Scaleform.daapi.view.battle.shared import postmortem_panel
    from gui.Scaleform.daapi.view.battle.shared import damage_log_panel
    from gui.Scaleform.daapi.view.battle.shared import battle_loading_minimap
    return (ViewSettings(VIEW_ALIAS.INGAME_MENU, ingame_menu.IngameMenu, 'ingameMenu.swf', ViewTypes.TOP_WINDOW, None, ScopeTemplates.DEFAULT_SCOPE, isModal=True, canClose=False, canDrag=False),
     ViewSettings(VIEW_ALIAS.INGAME_DESERTER, deserter_dialog.IngameDeserterDialog, 'deserterDialog.swf', ViewTypes.TOP_WINDOW, None, ScopeTemplates.DYNAMIC_SCOPE, isModal=True, canDrag=False),
     ViewSettings(BATTLE_VIEW_ALIASES.BATTLE_DAMAGE_LOG_PANEL, damage_log_panel.DamageLogPanel, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE),
     ViewSettings(VIEW_ALIAS.INGAME_HELP, ingame_help.IngameHelpWindow, 'ingameHelpWindow.swf', ViewTypes.WINDOW, None, ScopeTemplates.DEFAULT_SCOPE, canClose=False, canDrag=False),
     ViewSettings(BATTLE_VIEW_ALIASES.DAMAGE_PANEL, damage_panel.DamagePanel, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE),
     ViewSettings(BATTLE_VIEW_ALIASES.DEBUG_PANEL, debug_panel.DebugPanel, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE),
     ConditionalViewSettings(BATTLE_VIEW_ALIASES.PREBATTLE_TIMER, BootcampComponentOverride(battle_timers.PreBattleTimer, BCPreBattleTimer), None, ViewTypes.COMPONENT, None, None, ScopeTemplates.DEFAULT_SCOPE),
     ConditionalViewSettings(BATTLE_VIEW_ALIASES.VEHICLE_MESSAGES, BootcampComponentOverride(messages.VehicleMessages, BCVehicleMessages), None, ViewTypes.COMPONENT, None, None, ScopeTemplates.DEFAULT_SCOPE),
     ViewSettings(BATTLE_VIEW_ALIASES.VEHICLE_ERROR_MESSAGES, messages.VehicleErrorMessages, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE),
     ViewSettings(BATTLE_VIEW_ALIASES.PLAYER_MESSAGES, messages.PlayerMessages, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE),
     ViewSettings(BATTLE_VIEW_ALIASES.RADIAL_MENU, radial_menu.RadialMenu, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE),
     ViewSettings(BATTLE_VIEW_ALIASES.DAMAGE_INFO_PANEL, damage_info_panel.DamageInfoPanel, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE),
     ViewSettings(BATTLE_VIEW_ALIASES.SIXTH_SENSE, indicators.SixthSenseIndicator, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE),
     ViewSettings(BATTLE_VIEW_ALIASES.TICKER, battle_ticker.BattleTicker, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE),
     ViewSettings(BATTLE_VIEW_ALIASES.POSTMORTEM_PANEL, postmortem_panel.PostmortemPanel, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE),
     ViewSettings(VIEW_ALIAS.MINIMAP_ON_BATTLE_LOADING, battle_loading_minimap.BattleLoadingMinimapComponent, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE),
     ViewSettings(BATTLE_VIEW_ALIASES.SIEGE_MODE_INDICATOR, indicators.SiegeModeIndicator, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE))
Ejemplo n.º 2
0
def getViewSettings():
    from gui.Scaleform.daapi.view.lobby.header.AccountPopover import AccountPopover
    from gui.Scaleform.daapi.view.lobby.header.BattleTypeSelectPopover import BattleTypeSelectPopover
    from gui.Scaleform.daapi.view.lobby.header.SquadTypeSelectPopover import SquadTypeSelectPopover
    from gui.Scaleform.daapi.view.lobby.header.LobbyTicker import LobbyTicker
    from gui.Scaleform.daapi.view.lobby.header.LobbyHeader import LobbyHeader
    from gui.Scaleform.daapi.view.bootcamp.BCLobbyHeader import BCLobbyHeader
    from gui.Scaleform.daapi.view.bootcamp.BCBattleSelector import BCBattleSelector
    return (GroupedViewSettings(VIEW_ALIAS.ACCOUNT_POPOVER, AccountPopover, 'accountPopover.swf', ViewTypes.WINDOW, 'accountPopover', VIEW_ALIAS.ACCOUNT_POPOVER, ScopeTemplates.DEFAULT_SCOPE),
     ConditionalViewSettings(VIEW_ALIAS.BATTLE_TYPE_SELECT_POPOVER, BootcampComponentOverride(BattleTypeSelectPopover, BCBattleSelector), 'itemSelectorPopover.swf', ViewTypes.WINDOW, VIEW_ALIAS.BATTLE_TYPE_SELECT_POPOVER, VIEW_ALIAS.BATTLE_TYPE_SELECT_POPOVER, ScopeTemplates.DEFAULT_SCOPE),
     GroupedViewSettings(VIEW_ALIAS.SQUAD_TYPE_SELECT_POPOVER, SquadTypeSelectPopover, 'itemSelectorPopover.swf', ViewTypes.WINDOW, VIEW_ALIAS.SQUAD_TYPE_SELECT_POPOVER, VIEW_ALIAS.SQUAD_TYPE_SELECT_POPOVER, ScopeTemplates.DEFAULT_SCOPE),
     ConditionalViewSettings(VIEW_ALIAS.LOBBY_HEADER, BootcampComponentOverride(LobbyHeader, BCLobbyHeader), None, ViewTypes.COMPONENT, None, None, ScopeTemplates.DEFAULT_SCOPE),
     ViewSettings(VIEW_ALIAS.TICKER, LobbyTicker, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE))
Ejemplo n.º 3
0
def getViewSettings():
    from gui.Scaleform.daapi.view.lobby.techtree.research_page import Research
    from gui.Scaleform.daapi.view.lobby.techtree.techtree_page import TechTree
    from gui.Scaleform.daapi.view.bootcamp.BCTechTree import BCTechTree
    from gui.Scaleform.daapi.view.bootcamp.BCResearch import BCResearch
    return (ConditionalViewSettings(
        VIEW_ALIAS.LOBBY_TECHTREE,
        BootcampComponentOverride(TechTree, BCTechTree), 'techtree.swf',
        ViewTypes.LOBBY_SUB, None, VIEW_ALIAS.LOBBY_TECHTREE,
        ScopeTemplates.DEFAULT_SCOPE, True),
            ConditionalViewSettings(
                VIEW_ALIAS.LOBBY_RESEARCH,
                BootcampComponentOverride(Research, BCResearch),
                'research.swf', ViewTypes.LOBBY_SUB, None,
                VIEW_ALIAS.LOBBY_RESEARCH, ScopeTemplates.DEFAULT_SCOPE, True))
Ejemplo n.º 4
0
def getViewSettings():
    from gui.Scaleform.daapi.view.lobby.header.BattleTypeSelectPopover import BattleTypeSelectPopover
    from gui.Scaleform.daapi.view.lobby.header.SquadTypeSelectPopover import SquadTypeSelectPopover
    from gui.Scaleform.daapi.view.lobby.header.LobbyHeader import LobbyHeader
    from gui.Scaleform.daapi.view.bootcamp.BCLobbyHeader import BCLobbyHeader
    from gui.Scaleform.daapi.view.bootcamp.BCBattleSelector import BCBattleSelector
    return (ConditionalViewSettings(
        VIEW_ALIAS.BATTLE_TYPE_SELECT_POPOVER,
        BootcampComponentOverride(BattleTypeSelectPopover,
                                  BCBattleSelector), 'itemSelectorPopover.swf',
        WindowLayer.WINDOW, VIEW_ALIAS.BATTLE_TYPE_SELECT_POPOVER,
        VIEW_ALIAS.BATTLE_TYPE_SELECT_POPOVER, ScopeTemplates.DEFAULT_SCOPE),
            GroupedViewSettings(VIEW_ALIAS.SQUAD_TYPE_SELECT_POPOVER,
                                SquadTypeSelectPopover,
                                'itemSelectorPopover.swf', WindowLayer.WINDOW,
                                VIEW_ALIAS.SQUAD_TYPE_SELECT_POPOVER,
                                VIEW_ALIAS.SQUAD_TYPE_SELECT_POPOVER,
                                ScopeTemplates.DEFAULT_SCOPE),
            ConditionalViewSettings(
                VIEW_ALIAS.LOBBY_HEADER,
                BootcampComponentOverride(LobbyHeader, BCLobbyHeader), None,
                WindowLayer.UNDEFINED, None, None,
                ScopeTemplates.DEFAULT_SCOPE))
Ejemplo n.º 5
0
def getViewSettings():
    from gui.Scaleform.daapi.view.lobby.SandboxQueueDialog import SandboxQueueDialog
    from gui.Scaleform.daapi.view.battle_results_window import BattleResultsWindow
    from gui.Scaleform.daapi.view.dialogs.CheckBoxDialog import CheckBoxDialog
    from gui.Scaleform.daapi.view.dialogs.ConfirmModuleDialog import ConfirmModuleDialog
    from gui.Scaleform.daapi.view.dialogs.ConfirmBoosterDialog import ConfirmBoosterDialog
    from gui.Scaleform.daapi.view.dialogs.DemountDeviceDialog import DemountDeviceDialog
    from gui.Scaleform.daapi.view.dialogs.TankmanOperationDialog import DismissTankmanDialog
    from gui.Scaleform.daapi.view.dialogs.FreeXPInfoWindow import FreeXPInfoWindow
    from gui.Scaleform.daapi.view.dialogs.IconDialog import IconDialog
    from gui.Scaleform.daapi.view.dialogs.IconPriceDialog import IconPriceDialog
    from gui.Scaleform.daapi.view.dialogs.PunishmentDialog import PunishmentDialog
    from gui.Scaleform.daapi.view.dialogs.TankmanOperationDialog import RestoreTankmanDialog
    from gui.Scaleform.daapi.view.dialogs.SystemMessageDialog import SystemMessageDialog
    from gui.Scaleform.daapi.view.lobby.eliteWindow.EliteWindow import EliteWindow
    from gui.Scaleform.daapi.view.lobby.AwardWindow import AwardWindow
    from gui.Scaleform.daapi.view.lobby.AwardWindow import MissionAwardWindow
    from gui.Scaleform.daapi.view.lobby.battle_queue import BattleQueue, BattleStrongholdsQueue
    from gui.Scaleform.daapi.view.lobby.BrowserWindow import BrowserWindow
    from gui.Scaleform.daapi.view.lobby.Browser import Browser
    from gui.Scaleform.daapi.view.lobby.components.CalendarComponent import CalendarComponent
    from gui.Scaleform.daapi.view.lobby.customization.main_view import MainView as CustomizationMainView
    from gui.Scaleform.daapi.view.lobby.DemonstratorWindow import DemonstratorWindow
    from gui.Scaleform.daapi.view.lobby.GetPremiumPopover import GetPremiumPopover
    from gui.Scaleform.daapi.view.lobby.GoldFishWindow import GoldFishWindow
    from gui.Scaleform.daapi.view.lobby.LobbyMenu import LobbyMenu
    from gui.Scaleform.daapi.view.lobby.lobby_vehicle_marker_view import LobbyVehicleMarkerView
    from gui.Scaleform.daapi.view.lobby.LobbyView import LobbyView
    from gui.Scaleform.daapi.view.lobby.MinimapLobby import MinimapLobby
    from gui.Scaleform.daapi.view.lobby.MinimapGrid import MinimapGrid
    from gui.Scaleform.daapi.view.lobby.ModuleInfoWindow import ModuleInfoWindow
    from gui.Scaleform.daapi.view.lobby.PersonalCase import PersonalCase
    from gui.Scaleform.daapi.view.lobby.PremiumWindow import PremiumWindow
    from gui.Scaleform.daapi.view.lobby.PromoPremiumIgrWindow import PromoPremiumIgrWindow
    from gui.Scaleform.daapi.view.lobby.recruitWindow.RecruitParamsComponent import RecruitParamsComponent
    from gui.Scaleform.daapi.view.lobby.recruitWindow.RecruitWindow import RecruitWindow
    from gui.Scaleform.daapi.view.lobby.recruitWindow.QuestsRecruitWindow import QuestsRecruitWindow
    from gui.Scaleform.daapi.view.lobby.ReferralManagementWindow import ReferralManagementWindow
    from gui.Scaleform.daapi.view.lobby.ReferralReferralsIntroWindow import ReferralReferralsIntroWindow
    from gui.Scaleform.daapi.view.lobby.ReferralReferrerIntroWindow import ReferralReferrerIntroWindow
    from gui.Scaleform.daapi.view.lobby.RoleChangeWindow import RoleChangeWindow
    from gui.Scaleform.daapi.view.lobby.ServerStats import ServerStats
    from gui.Scaleform.daapi.view.lobby.SkillDropWindow import SkillDropWindow
    from gui.Scaleform.daapi.view.lobby.vehicle_obtain_windows import VehicleBuyWindow
    from gui.Scaleform.daapi.view.lobby.vehicle_obtain_windows import VehicleRestoreWindow
    from gui.Scaleform.daapi.view.lobby.VehicleInfoWindow import VehicleInfoWindow
    from gui.Scaleform.daapi.view.lobby.CrystalPromoWindow import CrystalsPromoWindow
    from gui.Scaleform.daapi.view.lobby.VehicleSellDialog import VehicleSellDialog
    from gui.Scaleform.daapi.view.lobby.vehiclePreview.VehiclePreview import VehiclePreview
    from gui.Scaleform.daapi.view.lobby.vehiclePreview.hero_vehicle_preview import HeroVehiclePreview
    from gui.Scaleform.daapi.view.lobby.vehicle_compare.cmp_view import VehicleCompareView
    from gui.Scaleform.daapi.view.lobby.vehicle_compare.cmp_configurator_view import VehicleCompareConfiguratorMain
    from gui.Scaleform.daapi.view.meta.MiniClientComponentMeta import MiniClientComponentMeta
    from gui.Scaleform.daapi.view.lobby.BadgesPage import BadgesPage
    from gui.Scaleform.daapi.view.lobby.tradein.TradeInPopup import TradeInPopup
    from gui.Scaleform.daapi.view.bootcamp.BCVehicleBuyWindow import BCVehicleBuyWindow
    from gui.Scaleform.daapi.view.bootcamp.BCPersonalCase import BCPersonalCase
    from gui.Scaleform.daapi.view.bootcamp.BCBattleResult import BCBattleResult
    from gui.Scaleform.daapi.view.bootcamp.BCVehiclePreview import BCVehiclePreview
    return (ViewSettings(VIEW_ALIAS.LOBBY, LobbyView, 'lobbyPage.swf', ViewTypes.DEFAULT, None, ScopeTemplates.DEFAULT_SCOPE, False, (ContainerSettings(ViewTypes.LOBBY_SUB, containers.DefaultContainer), ContainerSettings(ViewTypes.LOBBY_TOP_SUB, containers.PopUpContainer))),
     ViewSettings(VIEW_ALIAS.LOBBY_VEHICLE_MARKER_VIEW, LobbyVehicleMarkerView, 'lobbyVehicleMarkerView.swf', ViewTypes.MARKER, VIEW_ALIAS.LOBBY_VEHICLE_MARKER_VIEW, ScopeTemplates.DEFAULT_SCOPE),
     ViewSettings(VIEW_ALIAS.BATTLE_QUEUE, BattleQueue, 'battleQueue.swf', ViewTypes.LOBBY_SUB, VIEW_ALIAS.BATTLE_QUEUE, ScopeTemplates.DEFAULT_SCOPE),
     ViewSettings(VIEW_ALIAS.BATTLE_STRONGHOLDS_QUEUE, BattleStrongholdsQueue, 'battleStrongholdsQueue.swf', ViewTypes.LOBBY_SUB, VIEW_ALIAS.BATTLE_STRONGHOLDS_QUEUE, ScopeTemplates.DEFAULT_SCOPE),
     ViewSettings(VIEW_ALIAS.LOBBY_CUSTOMIZATION, CustomizationMainView, 'customizationMainView.swf', ViewTypes.LOBBY_SUB, VIEW_ALIAS.LOBBY_CUSTOMIZATION, ScopeTemplates.LOBBY_SUB_SCOPE),
     ConditionalViewSettings(VIEW_ALIAS.VEHICLE_PREVIEW, BootcampComponentOverride(VehiclePreview, BCVehiclePreview), 'vehiclePreview.swf', ViewTypes.LOBBY_SUB, None, VIEW_ALIAS.VEHICLE_PREVIEW, ScopeTemplates.LOBBY_SUB_SCOPE),
     ConditionalViewSettings(VIEW_ALIAS.HERO_VEHICLE_PREVIEW, BootcampComponentOverride(HeroVehiclePreview, BCVehiclePreview), 'vehiclePreview.swf', ViewTypes.LOBBY_SUB, None, VIEW_ALIAS.HERO_VEHICLE_PREVIEW, ScopeTemplates.LOBBY_SUB_SCOPE),
     ViewSettings(VIEW_ALIAS.AUTHORS_VIEW, AuthorsView, 'authorsView.swf', ViewTypes.OVERLAY, VIEW_ALIAS.AUTHORS_VIEW, ScopeTemplates.LOBBY_TOP_SUB_SCOPE, True),
     ViewSettings(VIEW_ALIAS.VEHICLE_COMPARE, VehicleCompareView, 'vehicleCompareView.swf', ViewTypes.LOBBY_SUB, VIEW_ALIAS.VEHICLE_COMPARE, ScopeTemplates.LOBBY_SUB_SCOPE),
     ViewSettings(VIEW_ALIAS.VEHICLE_COMPARE_MAIN_CONFIGURATOR, VehicleCompareConfiguratorMain, 'vehicleCompareConfiguratorMain.swf', ViewTypes.LOBBY_SUB, VIEW_ALIAS.VEHICLE_COMPARE_MAIN_CONFIGURATOR, ScopeTemplates.LOBBY_SUB_SCOPE),
     GroupedViewSettings(VIEW_ALIAS.CHECK_BOX_DIALOG, CheckBoxDialog, 'confirmDialog.swf', ViewTypes.TOP_WINDOW, 'confirmDialog', None, ScopeTemplates.DYNAMIC_SCOPE, isModal=True, canDrag=False),
     GroupedViewSettings(VIEW_ALIAS.CONFIRM_MODULE_DIALOG, ConfirmModuleDialog, 'confirmModuleWindow.swf', ViewTypes.TOP_WINDOW, 'confirmModuleDialog', None, ScopeTemplates.DEFAULT_SCOPE, isModal=True, canDrag=False),
     GroupedViewSettings(VIEW_ALIAS.USE_FREEW_AWARD_SHEET_DIALOG, UseAwardSheetWindow, 'useAwardSheetWindow.swf', ViewTypes.TOP_WINDOW, 'useAwardSheetWindow', None, ScopeTemplates.DEFAULT_SCOPE, isModal=True, canDrag=False),
     GroupedViewSettings(VIEW_ALIAS.CONFIRM_BOOSTER_DIALOG, ConfirmBoosterDialog, 'confirmBoostersWindow.swf', ViewTypes.TOP_WINDOW, 'confirmBoosterDialog', None, ScopeTemplates.DEFAULT_SCOPE, isModal=True, canDrag=False),
     GroupedViewSettings(VIEW_ALIAS.DEMOUNT_DEVICE_DIALOG, DemountDeviceDialog, 'demountDeviceDialog.swf', ViewTypes.TOP_WINDOW, '', None, ScopeTemplates.DYNAMIC_SCOPE, isModal=True, canDrag=False),
     GroupedViewSettings(VIEW_ALIAS.DESTROY_DEVICE_DIALOG, IconDialog, 'destroyDeviceDialog.swf', ViewTypes.TOP_WINDOW, '', None, ScopeTemplates.DYNAMIC_SCOPE, isModal=True, canDrag=False),
     GroupedViewSettings(VIEW_ALIAS.DISMISS_TANKMAN_DIALOG, DismissTankmanDialog, 'tankmanOperationDialog.swf', ViewTypes.TOP_WINDOW, '', None, ScopeTemplates.DYNAMIC_SCOPE, isModal=True, canDrag=False),
     GroupedViewSettings(VIEW_ALIAS.RESTORE_TANKMAN_DIALOG, RestoreTankmanDialog, 'tankmanOperationDialog.swf', ViewTypes.TOP_WINDOW, '', None, ScopeTemplates.DYNAMIC_SCOPE, isModal=True, canDrag=False),
     GroupedViewSettings(VIEW_ALIAS.ICON_DIALOG, IconDialog, 'iconDialog.swf', ViewTypes.WINDOW, '', None, ScopeTemplates.DYNAMIC_SCOPE, isModal=True, canDrag=False),
     GroupedViewSettings(VIEW_ALIAS.ICON_PRICE_DIALOG, IconPriceDialog, 'iconPriceDialog.swf', ViewTypes.WINDOW, '', None, ScopeTemplates.DYNAMIC_SCOPE, isModal=True, canDrag=False),
     GroupedViewSettings(VIEW_ALIAS.PUNISHMENT_DIALOG, PunishmentDialog, 'punishmentDialog.swf', ViewTypes.TOP_WINDOW, '', None, ScopeTemplates.DYNAMIC_SCOPE, isModal=True, canDrag=False),
     GroupedViewSettings(VIEW_ALIAS.SYSTEM_MESSAGE_DIALOG, SystemMessageDialog, 'systemMessageDialog.swf', ViewTypes.WINDOW, 'systemMessageDialog', None, ScopeTemplates.DEFAULT_SCOPE, isModal=True),
     GroupedViewSettings(VIEW_ALIAS.FREE_X_P_INFO_WINDOW, FreeXPInfoWindow, 'freeXPInfoWindow.swf', ViewTypes.TOP_WINDOW, 'freeXPInfoWindow', None, ScopeTemplates.DEFAULT_SCOPE, isModal=True, canClose=False, canDrag=False),
     GroupedViewSettings(VIEW_ALIAS.RECRUIT_WINDOW, RecruitWindow, 'recruitWindow.swf', ViewTypes.WINDOW, 'recruitWindow', None, ScopeTemplates.DEFAULT_SCOPE),
     GroupedViewSettings(VIEW_ALIAS.AWARD_WINDOW, AwardWindow, 'awardWindow.swf', ViewTypes.WINDOW, 'awardWindow', None, ScopeTemplates.DEFAULT_SCOPE),
     ConditionalViewSettings(VIEW_ALIAS.BATTLE_RESULTS, BootcampComponentOverride(BattleResultsWindow, BCBattleResult), BootcampComponentOverride('battleResults.swf', 'BCBattleResult.swf'), BootcampComponentOverride(ViewTypes.WINDOW, ViewTypes.TOP_WINDOW), BootcampComponentOverride('BattleResultsWindow', ''), None, BootcampComponentOverride(ScopeTemplates.DEFAULT_SCOPE, ScopeTemplates.TOP_WINDOW_SCOPE)),
     GroupedViewSettings(VIEW_ALIAS.BROWSER_WINDOW, BrowserWindow, 'browserWindow.swf', ViewTypes.WINDOW, '', None, ScopeTemplates.DEFAULT_SCOPE),
     GroupedViewSettings(VIEW_ALIAS.BROWSER_WINDOW_MODAL, BrowserWindow, 'browserWindow.swf', ViewTypes.WINDOW, '', None, ScopeTemplates.DEFAULT_SCOPE, isModal=True, canDrag=False),
     GroupedViewSettings(VIEW_ALIAS.DEMONSTRATOR_WINDOW, DemonstratorWindow, 'demonstratorWindow.swf', ViewTypes.WINDOW, '', None, ScopeTemplates.DEFAULT_SCOPE),
     GroupedViewSettings(VIEW_ALIAS.ELITE_WINDOW, EliteWindow, 'eliteWindow.swf', ViewTypes.WINDOW, 'eliteWindow', None, ScopeTemplates.DEFAULT_SCOPE),
     GroupedViewSettings(VIEW_ALIAS.GOLD_FISH_WINDOW, GoldFishWindow, 'goldFishWindow.swf', ViewTypes.WINDOW, '', None, ScopeTemplates.DEFAULT_SCOPE),
     GroupedViewSettings(VIEW_ALIAS.LOBBY_MENU, LobbyMenu, 'lobbyMenu.swf', ViewTypes.TOP_WINDOW, '', None, ScopeTemplates.LOBBY_SUB_SCOPE, isModal=True, canClose=False, canDrag=False),
     GroupedViewSettings(VIEW_ALIAS.MODULE_INFO_WINDOW, ModuleInfoWindow, 'moduleInfo.swf', ViewTypes.WINDOW, 'moduleInfoWindow', None, ScopeTemplates.DEFAULT_SCOPE),
     ConditionalViewSettings(VIEW_ALIAS.PERSONAL_CASE, BootcampComponentOverride(PersonalCase, BCPersonalCase), 'personalCase.swf', ViewTypes.WINDOW, 'personalCaseWindow', None, ScopeTemplates.LOBBY_SUB_SCOPE),
     GroupedViewSettings(VIEW_ALIAS.PREMIUM_WINDOW, PremiumWindow, 'premiumWindow.swf', ViewTypes.WINDOW, '', None, ScopeTemplates.DEFAULT_SCOPE),
     GroupedViewSettings(VIEW_ALIAS.PROMO_PREMIUM_IGR_WINDOW, PromoPremiumIgrWindow, 'promoPremiumIgrWindow.swf', ViewTypes.TOP_WINDOW, '', None, ScopeTemplates.DEFAULT_SCOPE, isModal=True, canDrag=False),
     GroupedViewSettings(VIEW_ALIAS.QUESTS_RECRUIT_WINDOW, QuestsRecruitWindow, 'questRecruitWindow.swf', ViewTypes.WINDOW, 'questRecruitWindow', None, ScopeTemplates.DEFAULT_SCOPE),
     GroupedViewSettings(VIEW_ALIAS.REFERRAL_MANAGEMENT_WINDOW, ReferralManagementWindow, 'referralManagementWindow.swf', ViewTypes.WINDOW, 'ReferralManagementWindow', None, ScopeTemplates.DEFAULT_SCOPE),
     GroupedViewSettings(VIEW_ALIAS.REFERRAL_REFERRALS_INTRO_WINDOW, ReferralReferralsIntroWindow, 'referralReferralsIntroWindow.swf', ViewTypes.WINDOW, 'referralReferralsIntroWindow', None, ScopeTemplates.DEFAULT_SCOPE),
     GroupedViewSettings(VIEW_ALIAS.REFERRAL_REFERRER_INTRO_WINDOW, ReferralReferrerIntroWindow, 'referralReferrerIntroWindow.swf', ViewTypes.WINDOW, 'referralReferrerIntroWindow', None, ScopeTemplates.DEFAULT_SCOPE),
     GroupedViewSettings(VIEW_ALIAS.ROLE_CHANGE, RoleChangeWindow, 'roleChangeWindow.swf', ViewTypes.WINDOW, 'roleChangeWindow', None, ScopeTemplates.WINDOW_SCOPE, isModal=True, canDrag=False),
     GroupedViewSettings(VIEW_ALIAS.TANKMAN_SKILLS_DROP_WINDOW, SkillDropWindow, 'skillDropWindow.swf', ViewTypes.TOP_WINDOW, '', None, ScopeTemplates.DEFAULT_SCOPE, isModal=True, canDrag=False),
     ConditionalViewSettings(VIEW_ALIAS.VEHICLE_BUY_WINDOW, BootcampComponentOverride(VehicleBuyWindow, BCVehicleBuyWindow), BootcampComponentOverride('vehicleBuyWindow.swf', 'BCVehicleBuyWindow.swf'), ViewTypes.TOP_WINDOW, 'vehicleBuyWindow', None, ScopeTemplates.DEFAULT_SCOPE, isModal=True, canDrag=False),
     GroupedViewSettings(VIEW_ALIAS.VEHICLE_RESTORE_WINDOW, VehicleRestoreWindow, 'vehicleBuyWindow.swf', ViewTypes.TOP_WINDOW, 'vehicleRestoreWindow', None, ScopeTemplates.DEFAULT_SCOPE),
     GroupedViewSettings(VIEW_ALIAS.VEHICLE_INFO_WINDOW, VehicleInfoWindow, 'vehicleInfo.swf', ViewTypes.WINDOW, 'vehicleInfoWindow', None, ScopeTemplates.DEFAULT_SCOPE, isCentered=False),
     GroupedViewSettings(VIEW_ALIAS.VEHICLE_SELL_DIALOG, VehicleSellDialog, 'vehicleSellDialog.swf', ViewTypes.TOP_WINDOW, 'vehicleSellWindow', None, ScopeTemplates.DEFAULT_SCOPE, isModal=True, canDrag=False),
     GroupedViewSettings(VIEW_ALIAS.SANDBOX_QUEUE_DIALOG, SandboxQueueDialog, 'PvESandboxQueueWindow.swf', ViewTypes.TOP_WINDOW, '', None, ScopeTemplates.DEFAULT_SCOPE, isModal=True, canClose=False),
     GroupedViewSettings(VIEW_ALIAS.MISSION_AWARD_WINDOW, MissionAwardWindow, 'missionAwardWindow.swf', ViewTypes.WINDOW, '', None, ScopeTemplates.DEFAULT_SCOPE),
     GroupedViewSettings(VIEW_ALIAS.CRYSTALS_PROMO_WINDOW, CrystalsPromoWindow, 'crystalsPromoWindow.swf', ViewTypes.WINDOW, '', None, ScopeTemplates.DEFAULT_SCOPE),
     GroupedViewSettings(VIEW_ALIAS.GET_PREMIUM_POPOVER, GetPremiumPopover, 'getPremiumPopover.swf', ViewTypes.TOP_WINDOW, 'getPremiumPopover', VIEW_ALIAS.GET_PREMIUM_POPOVER, ScopeTemplates.WINDOW_VIEWED_MULTISCOPE),
     GroupedViewSettings(VIEW_ALIAS.TRADEIN_POPOVER, TradeInPopup, 'TradeInPopover.swf', ViewTypes.TOP_WINDOW, 'TradeInPopover', VIEW_ALIAS.TRADEIN_POPOVER, ScopeTemplates.TOP_WINDOW_SCOPE),
     ViewSettings(VIEW_ALIAS.BADGES_PAGE, BadgesPage, 'badgesPage.swf', ViewTypes.LOBBY_SUB, VIEW_ALIAS.BADGES_PAGE, ScopeTemplates.LOBBY_SUB_SCOPE),
     ViewSettings(VIEW_ALIAS.CALENDAR, CalendarComponent, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE),
     ViewSettings(VIEW_ALIAS.MINIMAP_LOBBY, MinimapLobby, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE),
     ViewSettings(VIEW_ALIAS.MINIMAP_GRID, MinimapGrid, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE),
     ViewSettings(VIEW_ALIAS.MINI_CLIENT_LINKED, MiniClientComponentMeta, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE),
     ViewSettings(VIEW_ALIAS.RECRUIT_PARAMS, RecruitParamsComponent, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE),
     ViewSettings(VIEW_ALIAS.SERVERS_STATS, ServerStats, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE),
     ViewSettings(VIEW_ALIAS.BROWSER, Browser, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE))
Ejemplo n.º 6
0
def getViewSettings():
    from gui.Scaleform.daapi.view.lobby.hangar.AmmunitionPanel import AmmunitionPanel
    from gui.Scaleform.daapi.view.lobby.hangar.Crew import Crew
    from gui.Scaleform.daapi.view.lobby.hangar.CrewAboutDogWindow import CrewAboutDogWindow
    from gui.Scaleform.daapi.view.lobby.hangar.Hangar import Hangar
    from gui.Scaleform.daapi.view.lobby.hangar.ResearchPanel import ResearchPanel
    from gui.Scaleform.daapi.view.lobby.hangar.SwitchModePanel import SwitchModePanel
    from gui.Scaleform.daapi.view.lobby.hangar.TechnicalMaintenance import TechnicalMaintenance
    from gui.Scaleform.daapi.view.lobby.hangar.TmenXpPanel import TmenXpPanel
    from gui.Scaleform.daapi.view.lobby.hangar.VehicleParameters import VehicleParameters
    from gui.Scaleform.daapi.view.common.filter_popover import TankCarouselFilterPopover
    from gui.Scaleform.daapi.view.lobby.hangar.carousels import TankCarousel
    from gui.Scaleform.daapi.view.lobby.hangar.carousels import RankedTankCarousel
    from gui.Scaleform.daapi.view.lobby.hangar.carousels import EpicBattleTankCarousel
    from gui.Scaleform.daapi.view.lobby.hangar.academy import Academy
    from gui.Scaleform.daapi.view.lobby.hangar.StrongholdView import StrongholdView
    from gui.Scaleform.daapi.view.lobby.hangar.BrowserView import BrowserView
    from gui.Scaleform.daapi.view.lobby.hangar.hangar_header import HangarHeader
    from gui.Scaleform.daapi.view.lobby.shared.fitting_select_popover import HangarFittingSelectPopover
    from gui.Scaleform.daapi.view.lobby.shared.fitting_select_popover import BattleAbilitySelectPopover
    from gui.Scaleform.daapi.view.lobby.shared.fitting_select_popover import OptionalDeviceSelectPopover
    from gui.Scaleform.daapi.view.lobby.vehicle_compare.cmp_fitting_popover import VehCmpConfigSelectPopover
    from gui.Scaleform.daapi.view.lobby.vehicle_compare.cmp_fitting_popover import VehCmpBattleBoosterSelectPopover
    from gui.Scaleform.daapi.view.lobby.shared.fitting_select_popover import BattleBoosterSelectPopover
    from gui.Scaleform.daapi.view.lobby.booster_buy_window import BoosterBuyWindow
    from gui.Scaleform.daapi.view.lobby.hangar.ranked_battles_widget import RankedBattlesWidget
    from gui.Scaleform.daapi.view.lobby.hangar.alert_message_block import AlertMessageBlock
    from gui.Scaleform.daapi.view.bootcamp.BCResearchPanel import BCResearchPanel
    from gui.Scaleform.daapi.view.bootcamp.BCTankCarousel import BCTankCarousel
    from gui.Scaleform.daapi.view.bootcamp.BCHangarHeader import BCHangarHeader
    from gui.Scaleform.daapi.view.bootcamp.BCCrew import BCCrew
    from gui.Scaleform.daapi.view.bootcamp.BCHangar import BCHangar
    from gui.Scaleform.daapi.view.bootcamp.BCTechnicalMaintenance import BCTechnicalMaintenance
    from gui.Scaleform.daapi.view.lobby.hangar.epic_battles_widget import EpicBattlesWidget
    return (ConditionalViewSettings(
        VIEW_ALIAS.LOBBY_HANGAR, BootcampComponentOverride(Hangar, BCHangar),
        'hangar.swf', ViewTypes.LOBBY_SUB, None, VIEW_ALIAS.LOBBY_HANGAR,
        ScopeTemplates.LOBBY_SUB_SCOPE),
            ViewSettings(VIEW_ALIAS.LOBBY_ACADEMY, Academy, 'academyView.swf',
                         ViewTypes.LOBBY_SUB, VIEW_ALIAS.LOBBY_ACADEMY,
                         ScopeTemplates.LOBBY_SUB_SCOPE),
            ViewSettings(VIEW_ALIAS.LOBBY_STRONGHOLD, StrongholdView,
                         'StrongholdView.swf', ViewTypes.LOBBY_SUB,
                         VIEW_ALIAS.LOBBY_STRONGHOLD,
                         ScopeTemplates.LOBBY_SUB_SCOPE),
            ViewSettings(VIEW_ALIAS.BROWSER_VIEW, BrowserView,
                         'browserView.swf', ViewTypes.LOBBY_SUB,
                         VIEW_ALIAS.BROWSER_VIEW,
                         ScopeTemplates.LOBBY_SUB_SCOPE, True),
            GroupedViewSettings(VIEW_ALIAS.CREW_ABOUT_DOG_WINDOW,
                                CrewAboutDogWindow, 'simpleWindow.swf',
                                ViewTypes.WINDOW, 'aboutDogWindow', None,
                                ScopeTemplates.DEFAULT_SCOPE),
            ConditionalViewSettings(
                VIEW_ALIAS.TECHNICAL_MAINTENANCE,
                BootcampComponentOverride(TechnicalMaintenance,
                                          BCTechnicalMaintenance),
                'technicalMaintenance.swf', ViewTypes.WINDOW, '', None,
                BootcampComponentOverride(ScopeTemplates.DEFAULT_SCOPE,
                                          ScopeTemplates.LOBBY_SUB_SCOPE)),
            GroupedViewSettings(VIEW_ALIAS.BOOSTER_BUY_WINDOW,
                                BoosterBuyWindow,
                                'boosterBuyWindow.swf',
                                ViewTypes.WINDOW,
                                VIEW_ALIAS.BOOSTER_BUY_WINDOW,
                                None,
                                ScopeTemplates.DEFAULT_SCOPE,
                                isModal=True,
                                canDrag=False),
            GroupedViewSettings(VIEW_ALIAS.TANK_CAROUSEL_FILTER_POPOVER,
                                TankCarouselFilterPopover,
                                'filtersPopoverView.swf', ViewTypes.WINDOW,
                                VIEW_ALIAS.TANK_CAROUSEL_FILTER_POPOVER,
                                VIEW_ALIAS.TANK_CAROUSEL_FILTER_POPOVER,
                                ScopeTemplates.DEFAULT_SCOPE),
            GroupedViewSettings(VIEW_ALIAS.FITTING_SELECT_POPOVER,
                                HangarFittingSelectPopover,
                                'fittingSelectPopover.swf', ViewTypes.WINDOW,
                                VIEW_ALIAS.FITTING_SELECT_POPOVER,
                                VIEW_ALIAS.FITTING_SELECT_POPOVER,
                                ScopeTemplates.DEFAULT_SCOPE),
            GroupedViewSettings(VIEW_ALIAS.FITTING_CMP_SELECT_POPOVER,
                                VehCmpConfigSelectPopover,
                                'fittingSelectPopover.swf', ViewTypes.WINDOW,
                                VIEW_ALIAS.FITTING_CMP_SELECT_POPOVER,
                                VIEW_ALIAS.FITTING_CMP_SELECT_POPOVER,
                                ScopeTemplates.DEFAULT_SCOPE),
            GroupedViewSettings(VIEW_ALIAS.BOOSTER_CMP_SELECT_POPOVER,
                                VehCmpBattleBoosterSelectPopover,
                                'fittingSelectPopover.swf', ViewTypes.WINDOW,
                                VIEW_ALIAS.BOOSTER_CMP_SELECT_POPOVER,
                                VIEW_ALIAS.BOOSTER_CMP_SELECT_POPOVER,
                                ScopeTemplates.DEFAULT_SCOPE),
            GroupedViewSettings(VIEW_ALIAS.BOOSTER_SELECT_POPOVER,
                                BattleBoosterSelectPopover,
                                'fittingSelectPopover.swf', ViewTypes.WINDOW,
                                VIEW_ALIAS.BOOSTER_SELECT_POPOVER,
                                VIEW_ALIAS.BOOSTER_SELECT_POPOVER,
                                ScopeTemplates.DEFAULT_SCOPE),
            GroupedViewSettings(VIEW_ALIAS.OPT_DEVICES_SELECT_POPOVER,
                                OptionalDeviceSelectPopover,
                                'fittingSelectPopover.swf', ViewTypes.WINDOW,
                                VIEW_ALIAS.OPT_DEVICES_SELECT_POPOVER,
                                VIEW_ALIAS.OPT_DEVICES_SELECT_POPOVER,
                                ScopeTemplates.DEFAULT_SCOPE),
            GroupedViewSettings(VIEW_ALIAS.BATTLE_ABILITY_SELECT_POPOVER,
                                BattleAbilitySelectPopover,
                                'fittingSelectPopover.swf', ViewTypes.WINDOW,
                                VIEW_ALIAS.BATTLE_ABILITY_SELECT_POPOVER,
                                VIEW_ALIAS.BATTLE_ABILITY_SELECT_POPOVER,
                                ScopeTemplates.DEFAULT_SCOPE),
            ViewSettings(HANGAR_ALIASES.AMMUNITION_PANEL, AmmunitionPanel,
                         None, ViewTypes.COMPONENT, None,
                         ScopeTemplates.DEFAULT_SCOPE),
            ConditionalViewSettings(
                HANGAR_ALIASES.RESEARCH_PANEL,
                BootcampComponentOverride(ResearchPanel,
                                          BCResearchPanel), None,
                ViewTypes.COMPONENT, None, None, ScopeTemplates.DEFAULT_SCOPE),
            ConditionalViewSettings(
                HANGAR_ALIASES.HEADER,
                BootcampComponentOverride(HangarHeader, BCHangarHeader), None,
                ViewTypes.COMPONENT, None, None, ScopeTemplates.DEFAULT_SCOPE),
            ViewSettings(VIEW_ALIAS.SWITCH_MODE_PANEL, SwitchModePanel, None,
                         ViewTypes.COMPONENT, None,
                         ScopeTemplates.DEFAULT_SCOPE),
            ConditionalViewSettings(
                HANGAR_ALIASES.TANK_CAROUSEL,
                BootcampComponentOverride(TankCarousel, BCTankCarousel), None,
                ViewTypes.COMPONENT, None, None, ScopeTemplates.DEFAULT_SCOPE),
            ViewSettings(HANGAR_ALIASES.RANKED_TANK_CAROUSEL,
                         RankedTankCarousel, None, ViewTypes.COMPONENT, None,
                         ScopeTemplates.DEFAULT_SCOPE),
            ViewSettings(HANGAR_ALIASES.EPICBATTLE_TANK_CAROUSEL,
                         EpicBattleTankCarousel, None, ViewTypes.COMPONENT,
                         None, ScopeTemplates.DEFAULT_SCOPE),
            ViewSettings(HANGAR_ALIASES.TMEN_XP_PANEL, TmenXpPanel, None,
                         ViewTypes.COMPONENT, None,
                         ScopeTemplates.DEFAULT_SCOPE),
            ViewSettings(HANGAR_ALIASES.VEHICLE_PARAMETERS, VehicleParameters,
                         None, ViewTypes.COMPONENT, None,
                         ScopeTemplates.DEFAULT_SCOPE),
            ConditionalViewSettings(HANGAR_ALIASES.CREW,
                                    BootcampComponentOverride(Crew, BCCrew),
                                    None, ViewTypes.COMPONENT, None, None,
                                    ScopeTemplates.DEFAULT_SCOPE),
            ViewSettings(HANGAR_ALIASES.RANKED_WIDGET, RankedBattlesWidget,
                         None, ViewTypes.COMPONENT, None,
                         ScopeTemplates.DEFAULT_SCOPE),
            ViewSettings(HANGAR_ALIASES.ALERT_MESSAGE_BLOCK, AlertMessageBlock,
                         None, ViewTypes.COMPONENT, None,
                         ScopeTemplates.DEFAULT_SCOPE),
            ViewSettings(HANGAR_ALIASES.EPIC_WIDGET, EpicBattlesWidget, None,
                         ViewTypes.COMPONENT, None,
                         ScopeTemplates.DEFAULT_SCOPE))
Ejemplo n.º 7
0
def getViewSettings():
    from gui.impl.lobby.battle_pass.battle_pass_browser_view import BattlePassBrowserView
    from gui.Scaleform.daapi.view.lobby.SandboxQueueDialog import SandboxQueueDialog
    from gui.Scaleform.daapi.view.battle_results_window import BattleResultsWindow
    from gui.Scaleform.daapi.view.dialogs.CheckBoxDialog import CheckBoxDialog
    from gui.Scaleform.daapi.view.dialogs.ConfirmModuleDialog import ConfirmModuleDialog
    from gui.Scaleform.daapi.view.dialogs.TankmanOperationDialog import DismissTankmanDialog
    from gui.Scaleform.daapi.view.dialogs.FreeXPInfoWindow import FreeXPInfoWindow
    from gui.Scaleform.daapi.view.dialogs.IconDialog import IconDialog
    from gui.Scaleform.daapi.view.dialogs.IconPriceDialog import IconPriceDialog
    from gui.Scaleform.daapi.view.dialogs.CrewSkinsCompensationDialog import CrewSkinsCompensationDialog
    from gui.Scaleform.daapi.view.dialogs.PunishmentDialog import PunishmentDialog
    from gui.Scaleform.daapi.view.dialogs.TankmanOperationDialog import RestoreTankmanDialog
    from gui.Scaleform.daapi.view.dialogs.SystemMessageDialog import SystemMessageDialog
    from gui.Scaleform.daapi.view.lobby.AwardWindow import AwardWindow
    from gui.Scaleform.daapi.view.lobby.AwardWindow import MissionAwardWindow
    from gui.Scaleform.daapi.view.lobby.battle_queue import BattleQueue, BattleStrongholdsQueue
    from gui.Scaleform.daapi.view.lobby.BrowserWindow import BrowserWindow
    from gui.Scaleform.daapi.view.lobby.Browser import Browser
    from gui.Scaleform.daapi.view.lobby.components.CalendarComponent import CalendarComponent
    from gui.Scaleform.daapi.view.lobby.customization.main_view import MainView as CustomizationMainView
    from gui.Scaleform.daapi.view.lobby.DemonstratorWindow import DemonstratorWindow
    from gui.Scaleform.daapi.view.lobby.GoldFishWindow import GoldFishWindow
    from gui.Scaleform.daapi.view.lobby.LobbyMenu import LobbyMenu
    from gui.Scaleform.daapi.view.lobby.lobby_vehicle_marker_view import LobbyVehicleMarkerView
    from gui.Scaleform.daapi.view.lobby.LobbyView import LobbyView
    from gui.Scaleform.daapi.view.lobby.MinimapLobby import MinimapLobby
    from gui.Scaleform.daapi.view.lobby.MinimapGrid import MinimapGrid
    from gui.Scaleform.daapi.view.lobby.ModuleInfoWindow import ModuleInfoWindow
    from gui.Scaleform.daapi.view.lobby.PersonalCase import PersonalCase
    from gui.Scaleform.daapi.view.lobby.PromoPremiumIgrWindow import PromoPremiumIgrWindow
    from gui.Scaleform.daapi.view.lobby.recruitWindow.RecruitParamsComponent import RecruitParamsComponent
    from gui.Scaleform.daapi.view.lobby.recruitWindow.RecruitWindow import RecruitWindow
    from gui.Scaleform.daapi.view.lobby.recruitWindow.QuestsRecruitWindow import QuestsRecruitWindow
    from gui.Scaleform.daapi.view.lobby.recruitWindow.token_recruit_window import TokenRecruitWindow
    from gui.Scaleform.daapi.view.lobby.RoleChangeWindow import RoleChangeWindow
    from gui.Scaleform.daapi.view.lobby.ServerStats import ServerStats
    from gui.Scaleform.daapi.view.lobby.shared.web_view import WebView
    from gui.Scaleform.daapi.view.lobby.SkillDropWindow import SkillDropWindow
    from gui.Scaleform.daapi.view.lobby.vehicle_obtain_windows import VehicleBuyWindow
    from gui.Scaleform.daapi.view.lobby.vehicle_obtain_windows import VehicleRestoreWindow
    from gui.Scaleform.daapi.view.lobby.VehicleInfoWindow import VehicleInfoWindow
    from gui.Scaleform.daapi.view.lobby.vehicle_sell_dialog import VehicleSellDialog
    from gui.Scaleform.daapi.view.lobby.vehicle_preview.vehicle_preview import VehiclePreview
    from gui.Scaleform.daapi.view.lobby.trade_in.trade_in_vehicle_preview import TradeInVehiclePreview
    from gui.Scaleform.daapi.view.lobby.vehicle_preview.marathon_vehicle_preview import MarathonVehiclePreview
    from gui.Scaleform.daapi.view.lobby.vehicle_preview.configurable_vehicle_preview import ConfigurableVehiclePreview
    from gui.Scaleform.daapi.view.lobby.vehicle_preview.offer_gift_vehicle_preview import OfferGiftVehiclePreview
    from gui.Scaleform.daapi.view.lobby.vehicle_compare.cmp_view import VehicleCompareView
    from gui.Scaleform.daapi.view.lobby.vehicle_compare.cmp_configurator_view import VehicleCompareConfiguratorMain
    from gui.Scaleform.daapi.view.meta.MiniClientComponentMeta import MiniClientComponentMeta
    from gui.Scaleform.daapi.view.lobby.BadgesPage import BadgesPage
    from gui.Scaleform.daapi.view.lobby.trade_in.trade_in_popup import TradeInPopup
    from gui.Scaleform.daapi.view.bootcamp.BCVehicleBuyWindow import BCVehicleBuyWindow
    from gui.Scaleform.daapi.view.bootcamp.BCPersonalCase import BCPersonalCase
    from gui.Scaleform.daapi.view.bootcamp.BCBattleResult import BCBattleResult
    from gui.Scaleform.daapi.view.lobby.vehicle_preview.style_preview import VehicleStylePreview
    from gui.Scaleform.daapi.view.lobby.vehicle_preview.progression_styles_style_preview import ProgressionStylesStylePreview
    from gui.Scaleform.daapi.view.lobby.trade_in.personal_trade_in_vehicle_preview import PersonalTradeInVehiclePreview
    from gui.Scaleform.daapi.view.lobby.vehicle_preview.bp_exchange_vehicle_preview import BlueprintsExchangeVehicleStypePreview
    from gui.impl.lobby.new_year.popovers.ny_select_vehicle_popover import NySelectVehiclePopover
    from gui.impl.lobby.new_year.ny_browser_view import NyBrowserView
    from gui.impl.new_year.views.ny_select_vehicle_for_discount_popover import NYSelectVehicleForDiscountPopover
    from gui.Scaleform.daapi.view.bootcamp.bootcamp_progress_component import BootcampProgressComponent
    from gui.Scaleform.daapi.view.lobby.vehicle_preview.wot_plus_vehicle_preview import WotPlusVehiclePreview
    from gui.Scaleform.daapi.view.lobby.loot_box_shop import LootBoxShopOverlay
    from gui.Scaleform.daapi.view.lobby.telecom_rentals.telecom_rentals_browser_pages import VehicleTelecomRentalView
    return (
        ViewSettings(VIEW_ALIAS.LOBBY, LobbyView, 'lobbyPage.swf',
                     WindowLayer.VIEW, None, ScopeTemplates.DEFAULT_SCOPE,
                     False, (ContainerSettings(WindowLayer.SUB_VIEW,
                                               containers.DefaultContainer),
                             ContainerSettings(WindowLayer.TOP_SUB_VIEW,
                                               containers.PopUpContainer))),
        ViewSettings(VIEW_ALIAS.LOBBY_VEHICLE_MARKER_VIEW,
                     LobbyVehicleMarkerView, 'lobbyVehicleMarkerView.swf',
                     WindowLayer.MARKER, VIEW_ALIAS.LOBBY_VEHICLE_MARKER_VIEW,
                     ScopeTemplates.DEFAULT_SCOPE),
        ViewSettings(VIEW_ALIAS.BATTLE_QUEUE, BattleQueue, 'battleQueue.swf',
                     WindowLayer.SUB_VIEW, VIEW_ALIAS.BATTLE_QUEUE,
                     ScopeTemplates.DEFAULT_SCOPE),
        ViewSettings(VIEW_ALIAS.BATTLE_STRONGHOLDS_QUEUE,
                     BattleStrongholdsQueue, 'battleStrongholdsQueue.swf',
                     WindowLayer.SUB_VIEW, VIEW_ALIAS.BATTLE_STRONGHOLDS_QUEUE,
                     ScopeTemplates.DEFAULT_SCOPE),
        ViewSettings(VIEW_ALIAS.LOBBY_CUSTOMIZATION, CustomizationMainView,
                     'customizationMainView.swf', WindowLayer.SUB_VIEW,
                     VIEW_ALIAS.LOBBY_CUSTOMIZATION,
                     ScopeTemplates.LOBBY_SUB_SCOPE),
        ViewSettings(VIEW_ALIAS.VEHICLE_PREVIEW, VehiclePreview,
                     'vehiclePreview.swf', WindowLayer.SUB_VIEW,
                     VIEW_ALIAS.VEHICLE_PREVIEW,
                     ScopeTemplates.LOBBY_SUB_SCOPE),
        ViewSettings(VIEW_ALIAS.HERO_VEHICLE_PREVIEW, VehiclePreview,
                     'vehiclePreview.swf', WindowLayer.SUB_VIEW,
                     VIEW_ALIAS.HERO_VEHICLE_PREVIEW,
                     ScopeTemplates.LOBBY_SUB_SCOPE),
        ViewSettings(VIEW_ALIAS.CONFIGURABLE_VEHICLE_PREVIEW,
                     ConfigurableVehiclePreview, 'vehiclePreview.swf',
                     WindowLayer.SUB_VIEW,
                     VIEW_ALIAS.CONFIGURABLE_VEHICLE_PREVIEW,
                     ScopeTemplates.LOBBY_SUB_SCOPE),
        ViewSettings(VIEW_ALIAS.WOT_PLUS_VEHICLE_PREVIEW,
                     WotPlusVehiclePreview, 'vehiclePreview.swf',
                     WindowLayer.SUB_VIEW, VIEW_ALIAS.WOT_PLUS_VEHICLE_PREVIEW,
                     ScopeTemplates.LOBBY_SUB_SCOPE),
        ViewSettings(VIEW_ALIAS.STYLE_PREVIEW, VehicleStylePreview,
                     'vehicleBasePreview.swf', WindowLayer.SUB_VIEW,
                     VIEW_ALIAS.STYLE_PREVIEW, ScopeTemplates.LOBBY_SUB_SCOPE),
        ViewSettings(VIEW_ALIAS.PROGRESSION_STYLES_STYLE_PREVIEW,
                     ProgressionStylesStylePreview, 'vehicleBasePreview.swf',
                     WindowLayer.SUB_VIEW,
                     VIEW_ALIAS.PROGRESSION_STYLES_STYLE_PREVIEW,
                     ScopeTemplates.LOBBY_SUB_SCOPE),
        ViewSettings(VIEW_ALIAS.BLUEPRINTS_EXCHANGE_STYLE_PREVIEW,
                     BlueprintsExchangeVehicleStypePreview,
                     'vehicleBasePreview.swf', WindowLayer.SUB_VIEW,
                     VIEW_ALIAS.BLUEPRINTS_EXCHANGE_STYLE_PREVIEW,
                     ScopeTemplates.LOBBY_SUB_SCOPE),
        ViewSettings(VIEW_ALIAS.TRADE_IN_VEHICLE_PREVIEW,
                     TradeInVehiclePreview, 'vehiclePreview.swf',
                     WindowLayer.SUB_VIEW, VIEW_ALIAS.TRADE_IN_VEHICLE_PREVIEW,
                     ScopeTemplates.LOBBY_SUB_SCOPE),
        ViewSettings(VIEW_ALIAS.PERSONAL_TRADE_IN_VEHICLE_PREVIEW,
                     PersonalTradeInVehiclePreview, 'vehiclePreview.swf',
                     WindowLayer.SUB_VIEW,
                     VIEW_ALIAS.PERSONAL_TRADE_IN_VEHICLE_PREVIEW,
                     ScopeTemplates.LOBBY_SUB_SCOPE),
        ViewSettings(VIEW_ALIAS.MARATHON_VEHICLE_PREVIEW,
                     MarathonVehiclePreview, 'vehiclePreview.swf',
                     WindowLayer.SUB_VIEW, VIEW_ALIAS.MARATHON_VEHICLE_PREVIEW,
                     ScopeTemplates.LOBBY_SUB_SCOPE),
        ViewSettings(VIEW_ALIAS.OFFER_GIFT_VEHICLE_PREVIEW,
                     OfferGiftVehiclePreview, 'vehiclePreview.swf',
                     WindowLayer.SUB_VIEW,
                     VIEW_ALIAS.OFFER_GIFT_VEHICLE_PREVIEW,
                     ScopeTemplates.LOBBY_SUB_SCOPE),
        ViewSettings(VIEW_ALIAS.IMAGE_VIEW, ImageView, 'imageView.swf',
                     WindowLayer.FULLSCREEN_WINDOW, VIEW_ALIAS.IMAGE_VIEW,
                     ScopeTemplates.LOBBY_TOP_SUB_SCOPE, True),
        ViewSettings(VIEW_ALIAS.VEHICLE_COMPARE, VehicleCompareView,
                     'vehicleCompareView.swf', WindowLayer.SUB_VIEW,
                     VIEW_ALIAS.VEHICLE_COMPARE,
                     ScopeTemplates.LOBBY_SUB_SCOPE),
        ViewSettings(VIEW_ALIAS.VEHICLE_COMPARE_MAIN_CONFIGURATOR,
                     VehicleCompareConfiguratorMain,
                     'vehicleCompareConfiguratorMain.swf',
                     WindowLayer.SUB_VIEW,
                     VIEW_ALIAS.VEHICLE_COMPARE_MAIN_CONFIGURATOR,
                     ScopeTemplates.LOBBY_SUB_SCOPE),
        ViewSettings(VIEW_ALIAS.BROWSER_LOBBY_TOP_SUB, WebView,
                     'browserScreen.swf', WindowLayer.TOP_SUB_VIEW,
                     VIEW_ALIAS.BROWSER_LOBBY_TOP_SUB,
                     ScopeTemplates.LOBBY_SUB_SCOPE),
        ViewSettings(VIEW_ALIAS.BROWSER_OVERLAY, WebView, 'browserScreen.swf',
                     WindowLayer.FULLSCREEN_WINDOW, VIEW_ALIAS.BROWSER_OVERLAY,
                     ScopeTemplates.LOBBY_SUB_SCOPE),
        ViewSettings(VIEW_ALIAS.BATTLE_PASS_BROWSER_VIEW,
                     BattlePassBrowserView, 'browserScreen.swf',
                     WindowLayer.TOP_SUB_VIEW,
                     VIEW_ALIAS.BATTLE_PASS_BROWSER_VIEW,
                     ScopeTemplates.LOBBY_SUB_SCOPE),
        ViewSettings(VIEW_ALIAS.WOT_PLUS_INFO_VIEW, WotPlusInfoView,
                     'browserScreen.swf', WindowLayer.FULLSCREEN_WINDOW,
                     VIEW_ALIAS.WOT_PLUS_INFO_VIEW,
                     ScopeTemplates.LOBBY_SUB_SCOPE),
        ViewSettings(VIEW_ALIAS.VEHICLE_RENTAL_VIEW, VehicleRentalView,
                     'browserScreen.swf', WindowLayer.TOP_SUB_VIEW,
                     VIEW_ALIAS.VEHICLE_RENTAL_VIEW,
                     ScopeTemplates.LOBBY_SUB_SCOPE),
        ViewSettings(VIEW_ALIAS.TELECOM_RENTAL_VIEW, VehicleTelecomRentalView,
                     'browserScreen.swf', WindowLayer.TOP_SUB_VIEW,
                     VIEW_ALIAS.TELECOM_RENTAL_VIEW,
                     ScopeTemplates.LOBBY_SUB_SCOPE),
        ViewSettings(VIEW_ALIAS.NY_BROWSER_VIEW, NyBrowserView,
                     'browserScreen.swf', WindowLayer.FULLSCREEN_WINDOW,
                     VIEW_ALIAS.NY_BROWSER_VIEW,
                     ScopeTemplates.LOBBY_SUB_SCOPE),
        GroupedViewSettings(VIEW_ALIAS.CHECK_BOX_DIALOG,
                            CheckBoxDialog,
                            'confirmDialog.swf',
                            WindowLayer.TOP_WINDOW,
                            'confirmDialog',
                            None,
                            ScopeTemplates.DYNAMIC_SCOPE,
                            isModal=True,
                            canDrag=False),
        GroupedViewSettings(VIEW_ALIAS.CONFIRM_MODULE_DIALOG,
                            ConfirmModuleDialog,
                            'confirmModuleWindow.swf',
                            WindowLayer.TOP_WINDOW,
                            'confirmModuleDialog',
                            None,
                            ScopeTemplates.DEFAULT_SCOPE,
                            isModal=True,
                            canDrag=False),
        GroupedViewSettings(VIEW_ALIAS.USE_FREEW_AWARD_SHEET_DIALOG,
                            UseAwardSheetWindow,
                            'useAwardSheetWindow.swf',
                            WindowLayer.TOP_WINDOW,
                            'useAwardSheetWindow',
                            None,
                            ScopeTemplates.DEFAULT_SCOPE,
                            isModal=True,
                            canDrag=False),
        GroupedViewSettings(VIEW_ALIAS.PM_CONFIRMATION_DIALOG,
                            IconDialog,
                            'pmConfirmationDialog.swf',
                            WindowLayer.TOP_WINDOW,
                            '',
                            None,
                            ScopeTemplates.DYNAMIC_SCOPE,
                            isModal=True,
                            canDrag=False),
        GroupedViewSettings(VIEW_ALIAS.DISMISS_TANKMAN_DIALOG,
                            DismissTankmanDialog,
                            'tankmanOperationDialog.swf',
                            WindowLayer.TOP_WINDOW,
                            '',
                            None,
                            ScopeTemplates.DYNAMIC_SCOPE,
                            isModal=True,
                            canDrag=False),
        GroupedViewSettings(VIEW_ALIAS.RESTORE_TANKMAN_DIALOG,
                            RestoreTankmanDialog,
                            'tankmanOperationDialog.swf',
                            WindowLayer.TOP_WINDOW,
                            '',
                            None,
                            ScopeTemplates.DYNAMIC_SCOPE,
                            isModal=True,
                            canDrag=False),
        GroupedViewSettings(VIEW_ALIAS.ICON_DIALOG,
                            IconDialog,
                            'iconDialog.swf',
                            WindowLayer.WINDOW,
                            '',
                            None,
                            ScopeTemplates.DYNAMIC_SCOPE,
                            isModal=True,
                            canDrag=False),
        GroupedViewSettings(VIEW_ALIAS.ICON_PRICE_DIALOG,
                            IconPriceDialog,
                            'iconPriceDialog.swf',
                            WindowLayer.WINDOW,
                            '',
                            None,
                            ScopeTemplates.DYNAMIC_SCOPE,
                            isModal=True,
                            canDrag=False),
        GroupedViewSettings(VIEW_ALIAS.CREW_SKINS_COMPENSATION_DIALOG,
                            CrewSkinsCompensationDialog,
                            'crewSkinsCompensationDialog.swf',
                            WindowLayer.TOP_WINDOW,
                            '',
                            None,
                            ScopeTemplates.DYNAMIC_SCOPE,
                            isModal=True,
                            canDrag=False),
        GroupedViewSettings(VIEW_ALIAS.PUNISHMENT_DIALOG,
                            PunishmentDialog,
                            'punishmentDialog.swf',
                            WindowLayer.TOP_WINDOW,
                            '',
                            None,
                            ScopeTemplates.DYNAMIC_SCOPE,
                            isModal=True,
                            canDrag=False),
        GroupedViewSettings(VIEW_ALIAS.SYSTEM_MESSAGE_DIALOG,
                            SystemMessageDialog,
                            'systemMessageDialog.swf',
                            WindowLayer.WINDOW,
                            'systemMessageDialog',
                            None,
                            ScopeTemplates.DEFAULT_SCOPE,
                            isModal=True),
        GroupedViewSettings(VIEW_ALIAS.FREE_X_P_INFO_WINDOW,
                            FreeXPInfoWindow,
                            'freeXPInfoWindow.swf',
                            WindowLayer.TOP_WINDOW,
                            'freeXPInfoWindow',
                            None,
                            ScopeTemplates.DEFAULT_SCOPE,
                            isModal=True,
                            canClose=False,
                            canDrag=False),
        GroupedViewSettings(VIEW_ALIAS.RECRUIT_WINDOW, RecruitWindow,
                            'recruitWindow.swf', WindowLayer.WINDOW,
                            'recruitWindow', None,
                            ScopeTemplates.DEFAULT_SCOPE),
        GroupedViewSettings(VIEW_ALIAS.ADVENT_CALENDAR,
                            BrowserWindow,
                            'browserWindow.swf',
                            WindowLayer.WINDOW,
                            '',
                            None,
                            ScopeTemplates.DEFAULT_SCOPE,
                            canDrag=True,
                            isModal=False),
        GroupedViewSettings(VIEW_ALIAS.AWARD_WINDOW, AwardWindow,
                            'awardWindow.swf', WindowLayer.WINDOW,
                            'awardWindow', None, ScopeTemplates.DEFAULT_SCOPE),
        GroupedViewSettings(VIEW_ALIAS.AWARD_WINDOW_MODAL,
                            AwardWindow,
                            'awardWindow.swf',
                            WindowLayer.WINDOW,
                            'awardWindow',
                            None,
                            ScopeTemplates.DEFAULT_SCOPE,
                            isModal=True),
        ConditionalViewSettings(
            VIEW_ALIAS.BATTLE_RESULTS,
            BootcampComponentOverride(BattleResultsWindow, BCBattleResult),
            BootcampComponentOverride('battleResults.swf',
                                      'BCBattleResult.swf'),
            WindowLayer.WINDOW,
            BootcampComponentOverride('BattleResultsWindow',
                                      ''), None, ScopeTemplates.DEFAULT_SCOPE),
        GroupedViewSettings(VIEW_ALIAS.BROWSER_WINDOW, BrowserWindow,
                            'browserWindow.swf', WindowLayer.WINDOW, '', None,
                            ScopeTemplates.DEFAULT_SCOPE),
        GroupedViewSettings(VIEW_ALIAS.BROWSER_WINDOW_MODAL,
                            BrowserWindow,
                            'browserWindow.swf',
                            WindowLayer.WINDOW,
                            '',
                            None,
                            ScopeTemplates.DEFAULT_SCOPE,
                            isModal=True,
                            canDrag=False),
        GroupedViewSettings(VIEW_ALIAS.DEMONSTRATOR_WINDOW, DemonstratorWindow,
                            'demonstratorWindow.swf', WindowLayer.WINDOW, '',
                            None, ScopeTemplates.DEFAULT_SCOPE),
        GroupedViewSettings(VIEW_ALIAS.GOLD_FISH_WINDOW, GoldFishWindow,
                            'goldFishWindow.swf', WindowLayer.WINDOW, '', None,
                            ScopeTemplates.DEFAULT_SCOPE),
        GroupedViewSettings(VIEW_ALIAS.LOBBY_MENU,
                            LobbyMenu,
                            'lobbyMenu.swf',
                            WindowLayer.TOP_WINDOW,
                            '',
                            None,
                            ScopeTemplates.LOBBY_SUB_SCOPE,
                            isModal=True,
                            canClose=False,
                            canDrag=False),
        GroupedViewSettings(VIEW_ALIAS.MODULE_INFO_WINDOW, ModuleInfoWindow,
                            'moduleInfo.swf', WindowLayer.WINDOW,
                            VIEW_ALIAS.MODULE_INFO_WINDOW, None,
                            ScopeTemplates.DEFAULT_SCOPE),
        GroupedViewSettings(VIEW_ALIAS.BOOSTER_INFO_WINDOW, BoosterInfoWindow,
                            'boosterInfo.swf', WindowLayer.WINDOW,
                            VIEW_ALIAS.BOOSTER_INFO_WINDOW, None,
                            ScopeTemplates.DEFAULT_SCOPE),
        GroupedViewSettings(VIEW_ALIAS.DEMOUNT_KIT_INFO_WINDOW,
                            DemountKitInfoWindow, 'demountKitInfo.swf',
                            WindowLayer.WINDOW,
                            VIEW_ALIAS.DEMOUNT_KIT_INFO_WINDOW, None,
                            ScopeTemplates.DEFAULT_SCOPE),
        ConditionalViewSettings(
            VIEW_ALIAS.PERSONAL_CASE,
            BootcampComponentOverride(PersonalCase, BCPersonalCase),
            'personalCase.swf', WindowLayer.WINDOW, 'personalCaseWindow', None,
            ScopeTemplates.LOBBY_SUB_SCOPE),
        GroupedViewSettings(VIEW_ALIAS.PROMO_PREMIUM_IGR_WINDOW,
                            PromoPremiumIgrWindow,
                            'promoPremiumIgrWindow.swf',
                            WindowLayer.TOP_WINDOW,
                            '',
                            None,
                            ScopeTemplates.DEFAULT_SCOPE,
                            isModal=True,
                            canDrag=False),
        GroupedViewSettings(VIEW_ALIAS.QUESTS_RECRUIT_WINDOW,
                            QuestsRecruitWindow, 'questRecruitWindow.swf',
                            WindowLayer.WINDOW, 'questRecruitWindow', None,
                            ScopeTemplates.DEFAULT_SCOPE),
        GroupedViewSettings(VIEW_ALIAS.TOKEN_RECRUIT_WINDOW,
                            TokenRecruitWindow, 'questRecruitWindow.swf',
                            WindowLayer.WINDOW, 'questRecruitWindow', None,
                            ScopeTemplates.DEFAULT_SCOPE),
        GroupedViewSettings(VIEW_ALIAS.ROLE_CHANGE,
                            RoleChangeWindow,
                            'roleChangeWindow.swf',
                            WindowLayer.WINDOW,
                            'roleChangeWindow',
                            None,
                            ScopeTemplates.DEFAULT_SCOPE,
                            isModal=True,
                            canDrag=False),
        GroupedViewSettings(VIEW_ALIAS.TANKMAN_SKILLS_DROP_WINDOW,
                            SkillDropWindow,
                            'skillDropWindow.swf',
                            WindowLayer.TOP_WINDOW,
                            '',
                            None,
                            ScopeTemplates.DEFAULT_SCOPE,
                            isModal=True,
                            canDrag=False),
        ConditionalViewSettings(
            VIEW_ALIAS.VEHICLE_BUY_WINDOW,
            BootcampComponentOverride(VehicleBuyWindow, BCVehicleBuyWindow),
            BootcampComponentOverride('vehicleBuyWindow.swf',
                                      'BCVehicleBuyWindow.swf'),
            WindowLayer.TOP_WINDOW,
            'vehicleBuyWindow',
            None,
            ScopeTemplates.DEFAULT_SCOPE,
            isModal=True,
            canDrag=False),
        GroupedViewSettings(VIEW_ALIAS.VEHICLE_RESTORE_WINDOW,
                            VehicleRestoreWindow, 'vehicleBuyWindow.swf',
                            WindowLayer.TOP_WINDOW, 'vehicleRestoreWindow',
                            None, ScopeTemplates.DEFAULT_SCOPE),
        GroupedViewSettings(VIEW_ALIAS.VEHICLE_INFO_WINDOW,
                            VehicleInfoWindow,
                            'vehicleInfo.swf',
                            WindowLayer.WINDOW,
                            'vehicleInfoWindow',
                            None,
                            ScopeTemplates.DEFAULT_SCOPE,
                            isCentered=False),
        GroupedViewSettings(VIEW_ALIAS.VEHICLE_SELL_DIALOG,
                            VehicleSellDialog,
                            'vehicleSellDialog.swf',
                            WindowLayer.TOP_WINDOW,
                            'vehicleSellWindow',
                            None,
                            ScopeTemplates.DEFAULT_SCOPE,
                            isModal=True,
                            canDrag=False),
        GroupedViewSettings(VIEW_ALIAS.SANDBOX_QUEUE_DIALOG,
                            SandboxQueueDialog,
                            'PvESandboxQueueWindow.swf',
                            WindowLayer.TOP_WINDOW,
                            '',
                            None,
                            ScopeTemplates.DEFAULT_SCOPE,
                            isModal=True,
                            canClose=False),
        GroupedViewSettings(VIEW_ALIAS.MISSION_AWARD_WINDOW,
                            MissionAwardWindow, 'missionAwardWindow.swf',
                            WindowLayer.WINDOW, '', None,
                            ScopeTemplates.DEFAULT_SCOPE),
        GroupedViewSettings(VIEW_ALIAS.TRADEIN_POPOVER, TradeInPopup,
                            'TradeInPopover.swf', WindowLayer.TOP_WINDOW,
                            'TradeInPopover', VIEW_ALIAS.TRADEIN_POPOVER,
                            ScopeTemplates.TOP_WINDOW_SCOPE),
        GroupedViewSettings(VIEW_ALIAS.NY_SELECT_VEHICLE_POPOVER,
                            NySelectVehiclePopover,
                            'NYSelectVehiclePopover.swf',
                            WindowLayer.TOP_WINDOW,
                            VIEW_ALIAS.NY_SELECT_VEHICLE_POPOVER,
                            VIEW_ALIAS.NY_SELECT_VEHICLE_POPOVER,
                            ScopeTemplates.TOP_WINDOW_SCOPE),
        GroupedViewSettings(VIEW_ALIAS.NY_SELECT_VEHICLE_FOR_DISCOUNT_POPOVER,
                            NYSelectVehicleForDiscountPopover,
                            'NYSelectVehiclePopover.swf',
                            WindowLayer.TOP_WINDOW,
                            VIEW_ALIAS.NY_SELECT_VEHICLE_FOR_DISCOUNT_POPOVER,
                            VIEW_ALIAS.NY_SELECT_VEHICLE_FOR_DISCOUNT_POPOVER,
                            ScopeTemplates.TOP_WINDOW_SCOPE),
        ViewSettings(VIEW_ALIAS.REFERRAL_PROGRAM_WINDOW, BrowserView,
                     'browserScreen.swf', WindowLayer.SUB_VIEW,
                     VIEW_ALIAS.BROWSER_VIEW, ScopeTemplates.LOBBY_SUB_SCOPE,
                     True),
        ViewSettings(VIEW_ALIAS.CLAN_NOTIFICATION_WINDOW, BrowserView,
                     'browserScreen.swf', WindowLayer.SUB_VIEW,
                     VIEW_ALIAS.BROWSER_VIEW, ScopeTemplates.LOBBY_SUB_SCOPE,
                     True),
        ViewSettings(VIEW_ALIAS.BADGES_PAGE, BadgesPage, 'badgesPage.swf',
                     WindowLayer.TOP_SUB_VIEW, VIEW_ALIAS.BADGES_PAGE,
                     ScopeTemplates.LOBBY_SUB_SCOPE),
        ViewSettings(VIEW_ALIAS.LOOT_BOX_SHOP_OVERLAY, LootBoxShopOverlay,
                     'browserScreen.swf', WindowLayer.OVERLAY,
                     VIEW_ALIAS.BROWSER_OVERLAY,
                     ScopeTemplates.LOBBY_SUB_SCOPE),
        ComponentSettings(VIEW_ALIAS.CALENDAR, CalendarComponent,
                          ScopeTemplates.DEFAULT_SCOPE),
        ComponentSettings(VIEW_ALIAS.MINIMAP_LOBBY, MinimapLobby,
                          ScopeTemplates.DEFAULT_SCOPE),
        ComponentSettings(VIEW_ALIAS.MINIMAP_GRID, MinimapGrid,
                          ScopeTemplates.DEFAULT_SCOPE),
        ComponentSettings(VIEW_ALIAS.MINI_CLIENT_LINKED,
                          MiniClientComponentMeta,
                          ScopeTemplates.DEFAULT_SCOPE),
        ComponentSettings(VIEW_ALIAS.RECRUIT_PARAMS, RecruitParamsComponent,
                          ScopeTemplates.DEFAULT_SCOPE),
        ComponentSettings(VIEW_ALIAS.SERVERS_STATS, ServerStats,
                          ScopeTemplates.DEFAULT_SCOPE),
        ComponentSettings(VIEW_ALIAS.BROWSER, Browser,
                          ScopeTemplates.DEFAULT_SCOPE),
        ComponentSettings(VIEW_ALIAS.BOOTCAMP_PROGRESS,
                          BootcampProgressComponent,
                          ScopeTemplates.DEFAULT_SCOPE))
Ejemplo n.º 8
0
def getViewSettings():
    from gui.Scaleform.daapi.view.lobby.hangar.ammunition_panel import AmmunitionPanel
    from gui.Scaleform.daapi.view.lobby.hangar.Crew import Crew
    from gui.Scaleform.daapi.view.lobby.hangar.CrewAboutDogWindow import CrewAboutDogWindow
    from gui.Scaleform.daapi.view.lobby.hangar.Hangar import Hangar
    from gui.Scaleform.daapi.view.lobby.hangar.ResearchPanel import ResearchPanel
    from gui.Scaleform.daapi.view.lobby.hangar.SwitchModePanel import SwitchModePanel
    from gui.Scaleform.daapi.view.lobby.hangar.TmenXpPanel import TmenXpPanel
    from gui.Scaleform.daapi.view.lobby.hangar.VehicleParameters import VehicleParameters
    from gui.Scaleform.daapi.view.common.filter_popover import TankCarouselFilterPopover, BattlePassCarouselFilterPopover, BattleRoyaleCarouselFilterPopover
    from gui.Scaleform.daapi.view.lobby.hangar.carousels import TankCarousel
    from gui.Scaleform.daapi.view.lobby.hangar.carousels import RankedTankCarousel
    from gui.Scaleform.daapi.view.lobby.hangar.carousels import EpicBattleTankCarousel
    from gui.Scaleform.daapi.view.lobby.hangar.carousels import BattlePassTankCarousel
    from gui.Scaleform.daapi.view.lobby.hangar.carousels import RoyaleTankCarousel
    from gui.Scaleform.daapi.view.lobby.hangar.carousels import MapboxTankCarousel
    from gui.Scaleform.daapi.view.lobby.hangar.StrongholdView import StrongholdView, StrongholdAdsView
    from gui.Scaleform.daapi.view.lobby.hangar.BrowserView import BrowserView
    from gui.Scaleform.daapi.view.lobby.hangar.hangar_header import HangarHeader
    from gui.Scaleform.daapi.view.lobby.shared.fitting_select_popover import ModuleFittingSelectPopover
    from gui.Scaleform.daapi.view.lobby.hangar.ranked_battles_widget import RankedBattlesHangarWidget
    from gui.Scaleform.daapi.view.lobby.hangar.battle_royale_widget import BattleRoyaleHangarWidget
    from gui.Scaleform.daapi.view.lobby.hangar.battle_royale_tournament_widget import BattleRoyaleTournamentHangarWidget
    from gui.Scaleform.daapi.view.lobby.hangar.alert_message_block import AlertMessageBlock
    from gui.Scaleform.daapi.view.bootcamp.BCResearchPanel import BCResearchPanel
    from gui.Scaleform.daapi.view.bootcamp.BCTankCarousel import BCTankCarousel
    from gui.Scaleform.daapi.view.bootcamp.BCHangarHeader import BCHangarHeader
    from gui.Scaleform.daapi.view.bootcamp.BCCrew import BCCrew
    from gui.Scaleform.daapi.view.bootcamp.BCHangar import BCHangar
    from gui.Scaleform.daapi.view.bootcamp.bootcamp_quest_component import BootcampQuestComponent
    from gui.Scaleform.daapi.view.lobby.hangar.epic_battles_widget import EpicBattlesWidget
    from gui.Scaleform.daapi.view.lobby.manual.manual_main_view import ManualMainView
    from gui.Scaleform.daapi.view.lobby.manual.manual_chapter_view import ManualChapterView
    from gui.Scaleform.daapi.view.lobby.hangar.daily_quest_widget import DailyQuestWidget
    from gui.impl.lobby.new_year.widgets.ny_main_widget import NyMainWidgetInject
    from gui.impl.lobby.loot_box.loot_box_entry_point import LootboxesEntrancePointInjectWidget
    from gui.Scaleform.daapi.view.lobby.hangar.progressive_reward_widget import ProgressiveRewardWidget
    from gui.Scaleform.daapi.view.lobby.hangar.ammunition_panel_inject import AmmunitionPanelInject
    from gui.impl.lobby.battle_pass.battle_pass_entry_point_view import BattlePassEntryPointComponent
    from gui.impl.lobby.battle_pass.battle_pass_secondary_entry_point import BattlePassSecondaryEntryPointWidget
    from gui.Scaleform.daapi.view.lobby.hangar.event_entry_points_container import EventEntryPointsContainer
    from gui.Scaleform.daapi.view.lobby.hangar.craftmachine_entry_point import CraftMachineEntryPoint
    from gui.Scaleform.daapi.view.lobby.hangar.mapbox_entry_point import MapBoxEntryPoint
    from gui.Scaleform.daapi.view.lobby.hangar.marathon_entry_point import MarathonEntryPoint
    return (ConditionalViewSettings(
        VIEW_ALIAS.LOBBY_HANGAR, BootcampComponentOverride(Hangar, BCHangar),
        'hangar.swf', WindowLayer.SUB_VIEW, None, VIEW_ALIAS.LOBBY_HANGAR,
        ScopeTemplates.LOBBY_SUB_SCOPE),
            ViewSettings(VIEW_ALIAS.LOBBY_STRONGHOLD, StrongholdView,
                         'StrongholdView.swf', WindowLayer.SUB_VIEW,
                         VIEW_ALIAS.LOBBY_STRONGHOLD,
                         ScopeTemplates.LOBBY_SUB_SCOPE),
            ViewSettings(VIEW_ALIAS.STRONGHOLD_ADS, StrongholdAdsView,
                         'browserScreen.swf', WindowLayer.TOP_SUB_VIEW,
                         VIEW_ALIAS.STRONGHOLD_ADS,
                         ScopeTemplates.LOBBY_SUB_SCOPE),
            ViewSettings(VIEW_ALIAS.BROWSER_VIEW, BrowserView,
                         'browserScreen.swf', WindowLayer.SUB_VIEW,
                         VIEW_ALIAS.BROWSER_VIEW,
                         ScopeTemplates.LOBBY_SUB_SCOPE, True),
            ViewSettings(VIEW_ALIAS.WIKI_VIEW, ManualMainView, 'manual.swf',
                         WindowLayer.SUB_VIEW, VIEW_ALIAS.WIKI_VIEW,
                         ScopeTemplates.LOBBY_SUB_SCOPE),
            ViewSettings(VIEW_ALIAS.MANUAL_BROWSER_VIEW, ManualBrowserView,
                         'browserScreen.swf', WindowLayer.TOP_SUB_VIEW,
                         VIEW_ALIAS.MANUAL_BROWSER_VIEW,
                         ScopeTemplates.LOBBY_SUB_SCOPE),
            ViewSettings(VIEW_ALIAS.MANUAL_CHAPTER_VIEW, ManualChapterView,
                         'manualChapterView.swf', WindowLayer.TOP_SUB_VIEW,
                         VIEW_ALIAS.MANUAL_CHAPTER_VIEW,
                         ScopeTemplates.LOBBY_SUB_SCOPE, True),
            GroupedViewSettings(VIEW_ALIAS.CREW_ABOUT_DOG_WINDOW,
                                CrewAboutDogWindow, 'simpleWindow.swf',
                                WindowLayer.WINDOW, 'aboutDogWindow', None,
                                ScopeTemplates.DEFAULT_SCOPE),
            GroupedViewSettings(VIEW_ALIAS.TANK_CAROUSEL_FILTER_POPOVER,
                                TankCarouselFilterPopover,
                                'filtersPopoverView.swf', WindowLayer.WINDOW,
                                VIEW_ALIAS.TANK_CAROUSEL_FILTER_POPOVER,
                                VIEW_ALIAS.TANK_CAROUSEL_FILTER_POPOVER,
                                ScopeTemplates.DEFAULT_SCOPE),
            GroupedViewSettings(VIEW_ALIAS.BATTLEPASS_CAROUSEL_FILTER_POPOVER,
                                BattlePassCarouselFilterPopover,
                                'filtersPopoverView.swf', WindowLayer.WINDOW,
                                VIEW_ALIAS.BATTLEPASS_CAROUSEL_FILTER_POPOVER,
                                VIEW_ALIAS.BATTLEPASS_CAROUSEL_FILTER_POPOVER,
                                ScopeTemplates.DEFAULT_SCOPE),
            GroupedViewSettings(
                VIEW_ALIAS.BATTLEROYALE_CAROUSEL_FILTER_POPOVER,
                BattleRoyaleCarouselFilterPopover, 'filtersPopoverView.swf',
                WindowLayer.WINDOW,
                VIEW_ALIAS.BATTLEROYALE_CAROUSEL_FILTER_POPOVER,
                VIEW_ALIAS.BATTLEROYALE_CAROUSEL_FILTER_POPOVER,
                ScopeTemplates.DEFAULT_SCOPE),
            GroupedViewSettings(VIEW_ALIAS.FITTING_SELECT_POPOVER,
                                ModuleFittingSelectPopover,
                                'fittingSelectPopover.swf', WindowLayer.WINDOW,
                                VIEW_ALIAS.FITTING_SELECT_POPOVER,
                                VIEW_ALIAS.FITTING_SELECT_POPOVER,
                                ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(HANGAR_ALIASES.AMMUNITION_PANEL, AmmunitionPanel,
                              ScopeTemplates.DEFAULT_SCOPE),
            ConditionalViewSettings(
                HANGAR_ALIASES.RESEARCH_PANEL,
                BootcampComponentOverride(ResearchPanel, BCResearchPanel),
                None, WindowLayer.UNDEFINED, None, None,
                ScopeTemplates.DEFAULT_SCOPE),
            ConditionalViewSettings(
                HANGAR_ALIASES.HEADER,
                BootcampComponentOverride(HangarHeader, BCHangarHeader), None,
                WindowLayer.UNDEFINED, None, None,
                ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(VIEW_ALIAS.SWITCH_MODE_PANEL, SwitchModePanel,
                              ScopeTemplates.DEFAULT_SCOPE),
            ConditionalViewSettings(
                HANGAR_ALIASES.TANK_CAROUSEL,
                BootcampComponentOverride(TankCarousel, BCTankCarousel), None,
                WindowLayer.UNDEFINED, None, None,
                ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(HANGAR_ALIASES.RANKED_TANK_CAROUSEL,
                              RankedTankCarousel,
                              ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(HANGAR_ALIASES.EPICBATTLE_TANK_CAROUSEL,
                              EpicBattleTankCarousel,
                              ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(HANGAR_ALIASES.ROYALE_TANK_CAROUSEL,
                              RoyaleTankCarousel,
                              ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(HANGAR_ALIASES.MAPBOX_TANK_CAROUSEL,
                              MapboxTankCarousel,
                              ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(HANGAR_ALIASES.TMEN_XP_PANEL, TmenXpPanel,
                              ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(HANGAR_ALIASES.VEHICLE_PARAMETERS,
                              VehicleParameters, ScopeTemplates.DEFAULT_SCOPE),
            ConditionalViewSettings(HANGAR_ALIASES.CREW,
                                    BootcampComponentOverride(Crew, BCCrew),
                                    None, WindowLayer.UNDEFINED, None, None,
                                    ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(HANGAR_ALIASES.RANKED_WIDGET,
                              RankedBattlesHangarWidget,
                              ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(HANGAR_ALIASES.ALERT_MESSAGE_BLOCK,
                              AlertMessageBlock, ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(HANGAR_ALIASES.EPIC_WIDGET, EpicBattlesWidget,
                              ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(HANGAR_ALIASES.BATTLE_ROYALE_ENTRY_POINT,
                              BattleRoyaleHangarWidget,
                              ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(HANGAR_ALIASES.BATTLE_ROYALE_TOURNAMENT,
                              BattleRoyaleTournamentHangarWidget,
                              ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(HANGAR_ALIASES.PROGRESSIVE_REWARD_WIDGET,
                              ProgressiveRewardWidget,
                              ScopeTemplates.DEFAULT_SCOPE),
            ConditionalViewSettings(
                HANGAR_ALIASES.DAILY_QUEST_WIDGET,
                BootcampComponentOverride(DailyQuestWidget,
                                          BootcampQuestComponent), None,
                WindowLayer.UNDEFINED, None, None,
                ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(HANGAR_ALIASES.BATTLEPASS_TANK_CAROUSEL,
                              BattlePassTankCarousel,
                              ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(HANGAR_ALIASES.BATTLE_PASSS_ENTRY_POINT,
                              BattlePassEntryPointComponent,
                              ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(HANGAR_ALIASES.SECONDARY_ENTRY_POINT,
                              BattlePassSecondaryEntryPointWidget,
                              ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(HANGAR_ALIASES.AMMUNITION_PANEL_INJECT,
                              AmmunitionPanelInject,
                              ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(HANGAR_ALIASES.CREW_XP_PANEL_INJECT,
                              CrewXPPanelInject, ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(HANGAR_ALIASES.ENTRIES_CONTAINER,
                              EventEntryPointsContainer,
                              ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(HANGAR_ALIASES.CRAFT_MACHINE_ENTRY_POINT,
                              CraftMachineEntryPoint,
                              ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(HANGAR_ALIASES.MAPBOX_ENTRY_POINT,
                              MapBoxEntryPoint, ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(HANGAR_ALIASES.MARATHON_ENTRY_POINT,
                              MarathonEntryPoint,
                              ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(HANGAR_ALIASES.NY_MAIN_WIDGET_UI,
                              NyMainWidgetInject, None),
            ComponentSettings(HANGAR_ALIASES.LOOTBOXES_ENTRANCE_POINT,
                              LootboxesEntrancePointInjectWidget, None))
def getViewSettings():
    from gui.Scaleform.daapi.view.battle.shared import battle_timers
    from gui.Scaleform.daapi.view.battle.shared import damage_info_panel
    from gui.Scaleform.daapi.view.battle.shared import damage_panel
    from gui.Scaleform.daapi.view.battle.shared import debug_panel
    from gui.Scaleform.daapi.view.battle.shared import indicators
    from gui.Scaleform.daapi.view.battle.shared import ingame_help
    from gui.Scaleform.daapi.view.battle.shared import ingame_menu
    from gui.Scaleform.daapi.view.battle.shared import messages
    from gui.Scaleform.daapi.view.battle.shared import radial_menu
    from gui.Scaleform.daapi.view.dialogs import deserter_dialog
    from gui.Scaleform.daapi.view.battle.shared import damage_log_panel
    from gui.Scaleform.daapi.view.battle.shared import battle_loading_minimap
    from gui.Scaleform.daapi.view.battle.shared.vehicles import dualgun_component
    from gui.Scaleform.daapi.view.battle.shared import callout_panel
    from gui.Scaleform.daapi.view.battle.shared import battle_notifier
    return (ViewSettings(VIEW_ALIAS.INGAME_MENU,
                         ingame_menu.IngameMenu,
                         'ingameMenu.swf',
                         WindowLayer.TOP_WINDOW,
                         None,
                         ScopeTemplates.DEFAULT_SCOPE,
                         isModal=True,
                         canClose=False,
                         canDrag=False),
            ViewSettings(VIEW_ALIAS.INGAME_DESERTER,
                         deserter_dialog.IngameDeserterDialog,
                         'deserterDialog.swf',
                         WindowLayer.TOP_WINDOW,
                         None,
                         ScopeTemplates.DYNAMIC_SCOPE,
                         isModal=True,
                         canDrag=False),
            ComponentSettings(BATTLE_VIEW_ALIASES.BATTLE_DAMAGE_LOG_PANEL,
                              damage_log_panel.DamageLogPanel,
                              ScopeTemplates.DEFAULT_SCOPE),
            ViewSettings(VIEW_ALIAS.INGAME_HELP,
                         ingame_help.IngameHelpWindow,
                         'ingameHelpWindow.swf',
                         WindowLayer.WINDOW,
                         None,
                         ScopeTemplates.DEFAULT_SCOPE,
                         canClose=False,
                         canDrag=False,
                         isModal=True),
            ViewSettings(VIEW_ALIAS.INGAME_DETAILS_HELP,
                         ingame_help.IngameDetailsHelpWindow,
                         'ingameDetailsHelpWindow.swf',
                         WindowLayer.WINDOW,
                         None,
                         ScopeTemplates.DEFAULT_SCOPE,
                         canClose=False,
                         canDrag=False,
                         isModal=True),
            ComponentSettings(BATTLE_VIEW_ALIASES.DAMAGE_PANEL,
                              damage_panel.DamagePanel,
                              ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(BATTLE_VIEW_ALIASES.DEBUG_PANEL,
                              debug_panel.DebugPanel,
                              ScopeTemplates.DEFAULT_SCOPE),
            ConditionalViewSettings(
                BATTLE_VIEW_ALIASES.PREBATTLE_TIMER,
                BootcampComponentOverride(battle_timers.PreBattleTimer,
                                          BCPreBattleTimer), None,
                WindowLayer.UNDEFINED, None, None,
                ScopeTemplates.DEFAULT_SCOPE),
            ConditionalViewSettings(
                BATTLE_VIEW_ALIASES.VEHICLE_MESSAGES,
                BootcampComponentOverride(messages.VehicleMessages,
                                          BCVehicleMessages), None,
                WindowLayer.UNDEFINED, None, None,
                ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(BATTLE_VIEW_ALIASES.VEHICLE_ERROR_MESSAGES,
                              messages.VehicleErrorMessages,
                              ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(BATTLE_VIEW_ALIASES.PLAYER_MESSAGES,
                              messages.PlayerMessages,
                              ScopeTemplates.DEFAULT_SCOPE),
            ViewSettings(BATTLE_VIEW_ALIASES.RADIAL_MENU,
                         radial_menu.RadialMenu, None, WindowLayer.UNDEFINED,
                         None, ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(BATTLE_VIEW_ALIASES.DAMAGE_INFO_PANEL,
                              damage_info_panel.DamageInfoPanel,
                              ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(BATTLE_VIEW_ALIASES.SIXTH_SENSE,
                              indicators.SixthSenseIndicator,
                              ScopeTemplates.DEFAULT_SCOPE),
            ViewSettings(VIEW_ALIAS.MINIMAP_ON_BATTLE_LOADING,
                         battle_loading_minimap.BattleLoadingMinimapComponent,
                         ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(BATTLE_VIEW_ALIASES.SIEGE_MODE_INDICATOR,
                              indicators.SiegeModeIndicator,
                              ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(BATTLE_VIEW_ALIASES.DUAL_GUN_PANEL,
                              dualgun_component.DualGunComponent,
                              ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(BATTLE_VIEW_ALIASES.CALLOUT_PANEL,
                              callout_panel.CalloutPanel,
                              ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(BATTLE_VIEW_ALIASES.BATTLE_NOTIFIER,
                              battle_notifier.BattleNotifier,
                              ScopeTemplates.DEFAULT_SCOPE))
Ejemplo n.º 10
0
def getViewSettings():
    from gui.Scaleform.daapi.view.lobby.hangar.ammunition_panel import AmmunitionPanel
    from gui.Scaleform.daapi.view.lobby.hangar.Crew import Crew
    from gui.Scaleform.daapi.view.lobby.hangar.CrewAboutDogWindow import CrewAboutDogWindow
    from gui.Scaleform.daapi.view.lobby.hangar.Hangar import Hangar
    from gui.Scaleform.daapi.view.lobby.hangar.ResearchPanel import ResearchPanel
    from gui.Scaleform.daapi.view.lobby.hangar.SwitchModePanel import SwitchModePanel
    from gui.Scaleform.daapi.view.lobby.hangar.TmenXpPanel import TmenXpPanel
    from gui.Scaleform.daapi.view.lobby.hangar.VehicleParameters import VehicleParameters
    from gui.Scaleform.daapi.view.common.filter_popover import TankCarouselFilterPopover, BattlePassCarouselFilterPopover, BattleRoyaleCarouselFilterPopover
    from gui.Scaleform.daapi.view.lobby.hangar.carousels import TankCarousel
    from gui.Scaleform.daapi.view.lobby.hangar.carousels import RankedTankCarousel
    from gui.Scaleform.daapi.view.lobby.hangar.carousels import EpicBattleTankCarousel
    from gui.Scaleform.daapi.view.lobby.hangar.carousels import BattlePassTankCarousel
    from gui.Scaleform.daapi.view.lobby.hangar.carousels import RoyaleTankCarousel
    from gui.Scaleform.daapi.view.lobby.hangar.StrongholdView import StrongholdView
    from gui.Scaleform.daapi.view.lobby.hangar.BrowserView import BrowserView
    from gui.Scaleform.daapi.view.lobby.hangar.hangar_header import HangarHeader
    from gui.Scaleform.daapi.view.lobby.shared.fitting_select_popover import ModuleFittingSelectPopover
    from gui.Scaleform.daapi.view.lobby.hangar.ranked_battles_widget import RankedBattlesHangarWidget
    from gui.Scaleform.daapi.view.lobby.hangar.alert_message_block import AlertMessageBlock
    from gui.Scaleform.daapi.view.bootcamp.BCResearchPanel import BCResearchPanel
    from gui.Scaleform.daapi.view.bootcamp.BCTankCarousel import BCTankCarousel
    from gui.Scaleform.daapi.view.bootcamp.BCHangarHeader import BCHangarHeader
    from gui.Scaleform.daapi.view.bootcamp.BCCrew import BCCrew
    from gui.Scaleform.daapi.view.bootcamp.BCHangar import BCHangar
    from gui.Scaleform.daapi.view.lobby.hangar.epic_battles_widget import EpicBattlesWidget
    from gui.Scaleform.daapi.view.lobby.manual.manual_main_view import ManualMainView
    from gui.Scaleform.daapi.view.lobby.manual.manual_chapter_view import ManualChapterView
    from gui.Scaleform.daapi.view.lobby.hangar.seniority_awards import SeniorityAwardsHangarEntryPoint
    from gui.Scaleform.daapi.view.lobby.hangar.daily_quest_widget import DailyQuestWidget
    from gui.Scaleform.daapi.view.lobby.hangar.progressive_reward_widget import ProgressiveRewardWidget
    from gui.Scaleform.daapi.view.lobby.hangar.ammunition_panel_inject import AmmunitionPanelInject
    from gui.impl.lobby.battle_pass.battle_pass_entry_point_view import BattlePassEntryPointComponent
    from gui.Scaleform.daapi.view.lobby.hangar.ten_years_countdown_entry_point_inject import TenYearsCountdownEntryPointInject
    return (ConditionalViewSettings(
        VIEW_ALIAS.LOBBY_HANGAR, BootcampComponentOverride(Hangar, BCHangar),
        'hangar.swf', ViewTypes.LOBBY_SUB, None, VIEW_ALIAS.LOBBY_HANGAR,
        ScopeTemplates.LOBBY_SUB_SCOPE),
            ViewSettings(VIEW_ALIAS.LOBBY_STRONGHOLD, StrongholdView,
                         'StrongholdView.swf', ViewTypes.LOBBY_SUB,
                         VIEW_ALIAS.LOBBY_STRONGHOLD,
                         ScopeTemplates.LOBBY_SUB_SCOPE),
            ViewSettings(VIEW_ALIAS.BROWSER_VIEW, BrowserView,
                         'browserScreen.swf', ViewTypes.LOBBY_SUB,
                         VIEW_ALIAS.BROWSER_VIEW,
                         ScopeTemplates.LOBBY_SUB_SCOPE, True),
            ViewSettings(VIEW_ALIAS.WIKI_VIEW, ManualMainView, 'manual.swf',
                         ViewTypes.LOBBY_SUB, VIEW_ALIAS.WIKI_VIEW,
                         ScopeTemplates.LOBBY_SUB_SCOPE),
            ViewSettings(VIEW_ALIAS.MANUAL_CHAPTER_VIEW, ManualChapterView,
                         'manualChapterView.swf', ViewTypes.LOBBY_TOP_SUB,
                         VIEW_ALIAS.MANUAL_CHAPTER_VIEW,
                         ScopeTemplates.LOBBY_SUB_SCOPE, True),
            GroupedViewSettings(VIEW_ALIAS.CREW_ABOUT_DOG_WINDOW,
                                CrewAboutDogWindow, 'simpleWindow.swf',
                                ViewTypes.WINDOW, 'aboutDogWindow', None,
                                ScopeTemplates.DEFAULT_SCOPE),
            GroupedViewSettings(VIEW_ALIAS.TANK_CAROUSEL_FILTER_POPOVER,
                                TankCarouselFilterPopover,
                                'filtersPopoverView.swf', ViewTypes.WINDOW,
                                VIEW_ALIAS.TANK_CAROUSEL_FILTER_POPOVER,
                                VIEW_ALIAS.TANK_CAROUSEL_FILTER_POPOVER,
                                ScopeTemplates.DEFAULT_SCOPE),
            GroupedViewSettings(VIEW_ALIAS.BATTLEPASS_CAROUSEL_FILTER_POPOVER,
                                BattlePassCarouselFilterPopover,
                                'filtersPopoverView.swf', ViewTypes.WINDOW,
                                VIEW_ALIAS.BATTLEPASS_CAROUSEL_FILTER_POPOVER,
                                VIEW_ALIAS.BATTLEPASS_CAROUSEL_FILTER_POPOVER,
                                ScopeTemplates.DEFAULT_SCOPE),
            GroupedViewSettings(
                VIEW_ALIAS.BATTLEROYALE_CAROUSEL_FILTER_POPOVER,
                BattleRoyaleCarouselFilterPopover, 'filtersPopoverView.swf',
                ViewTypes.WINDOW,
                VIEW_ALIAS.BATTLEROYALE_CAROUSEL_FILTER_POPOVER,
                VIEW_ALIAS.BATTLEROYALE_CAROUSEL_FILTER_POPOVER,
                ScopeTemplates.DEFAULT_SCOPE),
            GroupedViewSettings(VIEW_ALIAS.FITTING_SELECT_POPOVER,
                                ModuleFittingSelectPopover,
                                'fittingSelectPopover.swf', ViewTypes.WINDOW,
                                VIEW_ALIAS.FITTING_SELECT_POPOVER,
                                VIEW_ALIAS.FITTING_SELECT_POPOVER,
                                ScopeTemplates.DEFAULT_SCOPE),
            ViewSettings(HANGAR_ALIASES.AMMUNITION_PANEL, AmmunitionPanel,
                         None, ViewTypes.COMPONENT, None,
                         ScopeTemplates.DEFAULT_SCOPE),
            ConditionalViewSettings(
                HANGAR_ALIASES.RESEARCH_PANEL,
                BootcampComponentOverride(ResearchPanel,
                                          BCResearchPanel), None,
                ViewTypes.COMPONENT, None, None, ScopeTemplates.DEFAULT_SCOPE),
            ConditionalViewSettings(
                HANGAR_ALIASES.HEADER,
                BootcampComponentOverride(HangarHeader, BCHangarHeader), None,
                ViewTypes.COMPONENT, None, None, ScopeTemplates.DEFAULT_SCOPE),
            ViewSettings(VIEW_ALIAS.SWITCH_MODE_PANEL, SwitchModePanel, None,
                         ViewTypes.COMPONENT, None,
                         ScopeTemplates.DEFAULT_SCOPE),
            ConditionalViewSettings(
                HANGAR_ALIASES.TANK_CAROUSEL,
                BootcampComponentOverride(TankCarousel, BCTankCarousel), None,
                ViewTypes.COMPONENT, None, None, ScopeTemplates.DEFAULT_SCOPE),
            ViewSettings(HANGAR_ALIASES.RANKED_TANK_CAROUSEL,
                         RankedTankCarousel, None, ViewTypes.COMPONENT, None,
                         ScopeTemplates.DEFAULT_SCOPE),
            ViewSettings(HANGAR_ALIASES.EPICBATTLE_TANK_CAROUSEL,
                         EpicBattleTankCarousel, None, ViewTypes.COMPONENT,
                         None, ScopeTemplates.DEFAULT_SCOPE),
            ViewSettings(HANGAR_ALIASES.ROYALE_TANK_CAROUSEL,
                         RoyaleTankCarousel, None, ViewTypes.COMPONENT, None,
                         ScopeTemplates.DEFAULT_SCOPE),
            ViewSettings(HANGAR_ALIASES.TMEN_XP_PANEL, TmenXpPanel, None,
                         ViewTypes.COMPONENT, None,
                         ScopeTemplates.DEFAULT_SCOPE),
            ViewSettings(HANGAR_ALIASES.VEHICLE_PARAMETERS, VehicleParameters,
                         None, ViewTypes.COMPONENT, None,
                         ScopeTemplates.DEFAULT_SCOPE),
            ConditionalViewSettings(HANGAR_ALIASES.CREW,
                                    BootcampComponentOverride(Crew, BCCrew),
                                    None, ViewTypes.COMPONENT, None, None,
                                    ScopeTemplates.DEFAULT_SCOPE),
            ViewSettings(HANGAR_ALIASES.RANKED_WIDGET,
                         RankedBattlesHangarWidget, None, ViewTypes.COMPONENT,
                         None, ScopeTemplates.DEFAULT_SCOPE),
            ViewSettings(HANGAR_ALIASES.ALERT_MESSAGE_BLOCK, AlertMessageBlock,
                         None, ViewTypes.COMPONENT, None,
                         ScopeTemplates.DEFAULT_SCOPE),
            ViewSettings(HANGAR_ALIASES.EPIC_WIDGET, EpicBattlesWidget, None,
                         ViewTypes.COMPONENT, None,
                         ScopeTemplates.DEFAULT_SCOPE),
            ViewSettings(HANGAR_ALIASES.PROGRESSIVE_REWARD_WIDGET,
                         ProgressiveRewardWidget, None, ViewTypes.COMPONENT,
                         None, ScopeTemplates.DEFAULT_SCOPE),
            ViewSettings(HANGAR_ALIASES.SENIORITY_AWARDS_ENTRY_POINT,
                         SeniorityAwardsHangarEntryPoint, None,
                         ViewTypes.COMPONENT, None,
                         ScopeTemplates.DEFAULT_SCOPE),
            ViewSettings(HANGAR_ALIASES.DAILY_QUEST_WIDGET, DailyQuestWidget,
                         None, ViewTypes.COMPONENT, None,
                         ScopeTemplates.DEFAULT_SCOPE),
            ViewSettings(HANGAR_ALIASES.BATTLEPASS_TANK_CAROUSEL,
                         BattlePassTankCarousel, None, ViewTypes.COMPONENT,
                         None, ScopeTemplates.DEFAULT_SCOPE),
            ViewSettings(HANGAR_ALIASES.BATTLE_PASSS_ENTRY_POINT,
                         BattlePassEntryPointComponent, None,
                         ViewTypes.COMPONENT, None,
                         ScopeTemplates.DEFAULT_SCOPE),
            ViewSettings(HANGAR_ALIASES.TEN_YEARS_COUNTDOWN_ENTRY_POINT_INJECT,
                         TenYearsCountdownEntryPointInject, None,
                         ViewTypes.COMPONENT, None,
                         ScopeTemplates.DEFAULT_SCOPE),
            ViewSettings(HANGAR_ALIASES.AMMUNITION_PANEL_INJECT,
                         AmmunitionPanelInject, None, ViewTypes.COMPONENT,
                         None, ScopeTemplates.DEFAULT_SCOPE))
def getViewSettings():
    return (ConditionalViewSettings(
        VIEW_ALIAS.LOBBY_HANGAR,
        BootcampComponentOverride(EventHangar, BCHangar), 'hangar.swf',
        WindowLayer.SUB_VIEW, None, VIEW_ALIAS.LOBBY_HANGAR,
        ScopeTemplates.LOBBY_SUB_SCOPE), )