コード例 #1
0
def getViewSettings():
    return (ViewSettings(BATTLEROYALE_ALIASES.LEVEL_UP,
                         BattleRoyaleLevelUpView,
                         BATTLEROYALE_ALIASES.LEVEL_UP_UI, WindowLayer.OVERLAY,
                         BATTLEROYALE_ALIASES.LEVEL_UP,
                         ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(
                BATTLEROYALE_ALIASES.VEH_MODULES_CONFIGURATOR_CMP,
                HangarVehicleModulesConfigurator,
                ScopeTemplates.DEFAULT_SCOPE),
            ViewSettings(BATTLEROYALE_ALIASES.HANGAR_VEH_INFO_VIEW,
                         HangarVehicleInfo, 'battleRoyaleVehInfo.swf',
                         WindowLayer.SUB_VIEW,
                         BATTLEROYALE_ALIASES.HANGAR_VEH_INFO_VIEW,
                         ScopeTemplates.LOBBY_SUB_SCOPE),
            ComponentSettings(BATTLEROYALE_ALIASES.COMMANDER_COMPONENT,
                              CommanderComponent,
                              ScopeTemplates.LOBBY_SUB_SCOPE),
            ComponentSettings(BATTLEROYALE_ALIASES.TECH_PARAMETERS_COMPONENT,
                              TechParametersComponent,
                              ScopeTemplates.LOBBY_SUB_SCOPE),
            ComponentSettings(BATTLEROYALE_ALIASES.BOTTOM_PANEL_COMPONENT,
                              HangarBottomPanelComponent,
                              ScopeTemplates.LOBBY_SUB_SCOPE),
            ViewSettings(BATTLEROYALE_ALIASES.BATTLE_ROYALE_PRIME_TIME,
                         BattleRoyalePrimeTimeView,
                         HANGAR_ALIASES.EPIC_PRIME_TIME, WindowLayer.SUB_VIEW,
                         BATTLEROYALE_ALIASES.BATTLE_ROYALE_PRIME_TIME,
                         ScopeTemplates.LOBBY_SUB_SCOPE, True))
コード例 #2
0
def getViewSettings():
    from gui.Scaleform.framework import ScopeTemplates
    from gui.Scaleform.daapi.view.lobby.veh_post_progression.veh_post_progression_cfg_view import VehiclePostProgressionCfgView
    from gui.Scaleform.daapi.view.lobby.veh_post_progression.veh_post_progression_base_view import VehPostProgressionVehicleParams
    from gui.Scaleform.daapi.view.lobby.veh_post_progression.veh_post_progression_cmp_view import VehiclePostProgressionCmpView
    from gui.Scaleform.daapi.view.lobby.veh_post_progression.veh_post_progression_view_adaptor import VehiclePostProgressionViewAdaptor
    return (ViewSettings(VIEW_ALIAS.VEH_POST_PROGRESSION,
                         VehiclePostProgressionCfgView,
                         'vehPostProgressionView.swf', WindowLayer.SUB_VIEW,
                         VIEW_ALIAS.VEH_POST_PROGRESSION,
                         ScopeTemplates.LOBBY_SUB_SCOPE),
            ViewSettings(VIEW_ALIAS.VEH_POST_PROGRESSION_CMP,
                         VehiclePostProgressionCmpView,
                         'vehPostProgressionCmpView.swf',
                         WindowLayer.TOP_SUB_VIEW,
                         VIEW_ALIAS.VEH_POST_PROGRESSION_CMP,
                         ScopeTemplates.LOBBY_SUB_SCOPE),
            ComponentSettings(HANGAR_ALIASES.POST_PROGRESSION_INJECT,
                              VehiclePostProgressionViewAdaptor,
                              ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(HANGAR_ALIASES.POST_PROGRESSION_CMP_INJECT,
                              VehiclePostProgressionViewAdaptor,
                              ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(HANGAR_ALIASES.POST_PROGRESSION_VEHICLE_PARAMS,
                              VehPostProgressionVehicleParams,
                              ScopeTemplates.DEFAULT_SCOPE))
コード例 #3
0
def getViewSettings():
    from messenger.gui.Scaleform.view.lobby.ChannelComponent import ChannelComponent
    from messenger.gui.Scaleform.view.lobby.ChannelsManagementWindow import ChannelsManagementWindow
    from messenger.gui.Scaleform.view.lobby.ConnectToSecureChannelWindow import ConnectToSecureChannelWindow
    from messenger.gui.Scaleform.view.lobby.FAQWindow import FAQWindow
    from messenger.gui.Scaleform.view.lobby.LazyChannelWindow import LazyChannelWindow
    from messenger.gui.Scaleform.view.lobby.LobbyChannelWindow import LobbyChannelWindow
    from messenger.gui.Scaleform.view.lobby.contact_manage_note_views import ContactEditNoteView, ContactCreateNoteView
    from messenger.gui.Scaleform.view.lobby.ContactsSettingsView import ContactsSettingsView
    from messenger.gui.Scaleform.view.lobby.ContactsTreeComponent import ContactsTreeComponent
    from messenger.gui.Scaleform.view.lobby.GroupDeleteView import GroupDeleteView
    from messenger.gui.Scaleform.view.lobby.SearchContactView import SearchContactView
    from messenger.gui.Scaleform.view.lobby.ContactsListPopover import ContactsListPopover
    from messenger.gui.Scaleform.view.lobby.group_manage_views import GroupRenameView, GroupCreateView
    return (GroupedViewSettings(MESSENGER_VIEW_ALIAS.FAQ_WINDOW, FAQWindow, 'FAQWindow.swf', WindowLayer.WINDOW, '', None, ScopeTemplates.DEFAULT_SCOPE, True, isCentered=False),
     GroupedViewSettings(MESSENGER_VIEW_ALIAS.CHANNEL_MANAGEMENT_WINDOW, ChannelsManagementWindow, 'channelsManagementWindow.swf', WindowLayer.WINDOW, '', MESSENGER_VIEW_ALIAS.CHANNEL_MANAGEMENT_WINDOW, ScopeTemplates.DEFAULT_SCOPE, True, isCentered=False),
     GroupedViewSettings(MESSENGER_VIEW_ALIAS.LAZY_CHANNEL_WINDOW, LazyChannelWindow, 'lazyChannelWindow.swf', WindowLayer.WINDOW, '', MESSENGER_VIEW_ALIAS.LAZY_CHANNEL_WINDOW, ScopeTemplates.DEFAULT_SCOPE, True, isCentered=False, canClose=False),
     GroupedViewSettings(MESSENGER_VIEW_ALIAS.LOBBY_CHANNEL_WINDOW, LobbyChannelWindow, 'lobbyChannelWindow.swf', WindowLayer.WINDOW, '', MESSENGER_VIEW_ALIAS.LOBBY_CHANNEL_WINDOW, ScopeTemplates.DEFAULT_SCOPE, True, isCentered=False),
     GroupedViewSettings(MESSENGER_VIEW_ALIAS.CONNECT_TO_SECURE_CHANNEL_WINDOW, ConnectToSecureChannelWindow, 'connectToSecureChannelWindow.swf', WindowLayer.WINDOW, '', MESSENGER_VIEW_ALIAS.CONNECT_TO_SECURE_CHANNEL_WINDOW, ScopeTemplates.DEFAULT_SCOPE, True, isCentered=True),
     GroupedViewSettings(CONTACTS_ALIASES.CONTACTS_POPOVER, ContactsListPopover, 'contactsListPopover.swf', WindowLayer.WINDOW, 'contactsListPopover', CONTACTS_ALIASES.CONTACTS_POPOVER, ScopeTemplates.WINDOW_VIEWED_MULTISCOPE),
     ComponentSettings(MESSENGER_VIEW_ALIAS.CHANNEL_COMPONENT, ChannelComponent, ScopeTemplates.DEFAULT_SCOPE),
     ComponentSettings(CONTACTS_ALIASES.FIND_CONTACT_VIEW_ALIAS, SearchContactView, ScopeTemplates.DEFAULT_SCOPE),
     ComponentSettings(CONTACTS_ALIASES.CONTACTS_TREE, ContactsTreeComponent, ScopeTemplates.DEFAULT_SCOPE),
     ComponentSettings(CONTACTS_ALIASES.GROUP_RENAME_VIEW_ALIAS, GroupRenameView, ScopeTemplates.DEFAULT_SCOPE),
     ComponentSettings(CONTACTS_ALIASES.GROUP_CREATE_VIEW_ALIAS, GroupCreateView, ScopeTemplates.DEFAULT_SCOPE),
     ComponentSettings(CONTACTS_ALIASES.CONTACT_EDIT_NOTE_VIEW_ALIAS, ContactEditNoteView, ScopeTemplates.DEFAULT_SCOPE),
     ComponentSettings(CONTACTS_ALIASES.CONTACT_CREATE_NOTE_VIEW_ALIAS, ContactCreateNoteView, ScopeTemplates.DEFAULT_SCOPE),
     ComponentSettings(CONTACTS_ALIASES.GROUP_DELETE_VIEW_ALIAS, GroupDeleteView, ScopeTemplates.DEFAULT_SCOPE),
     ComponentSettings(CONTACTS_ALIASES.CONTACTS_SETTINGS_VIEW_ALIAS, ContactsSettingsView, ScopeTemplates.DEFAULT_SCOPE))
コード例 #4
0
def getViewSettings():
    from gui.Scaleform.daapi.view.lobby.event_boards.event_boards_table_view import EventBoardsTableView
    from gui.Scaleform.daapi.view.lobby.event_boards.event_boards_award_group import EventBoardsAwardGroup
    from gui.Scaleform.daapi.view.lobby.event_boards.event_boards_pagination import EventBoardsPagination
    from gui.Scaleform.daapi.view.lobby.event_boards.event_boards_maintenance import EventBoardsMaintenance
    from gui.Scaleform.daapi.view.lobby.event_boards.event_boards_filter_popover import EventBoardsFilterPopover
    from gui.Scaleform.daapi.view.lobby.event_boards.event_boards_filter_vehicles_popover import EventBoardsFilterVehiclesPopover
    return (ViewSettings(VIEW_ALIAS.LOBBY_EVENT_BOARDS_TABLE, EventBoardsTableView, 'eventBoardsTable.swf', WindowLayer.TOP_SUB_VIEW, VIEW_ALIAS.LOBBY_EVENT_BOARDS_TABLE, ScopeTemplates.LOBBY_SUB_SCOPE, True),
     ComponentSettings(VIEW_ALIAS.LOBBY_EVENT_BOARDS_AWARDGROUP, EventBoardsAwardGroup, ScopeTemplates.DEFAULT_SCOPE),
     ComponentSettings(VIEW_ALIAS.LOBBY_EVENT_BOARDS_PAGINATION, EventBoardsPagination, ScopeTemplates.DEFAULT_SCOPE),
     ComponentSettings(VIEW_ALIAS.LOBBY_EVENT_BOARDS_MAINTENANCE, EventBoardsMaintenance, ScopeTemplates.DEFAULT_SCOPE),
     GroupedViewSettings(EVENTBOARDS_ALIASES.RESULT_FILTER_POPOVER_ALIAS, EventBoardsFilterPopover, 'FilterPopoverView.swf', WindowLayer.WINDOW, VIEW_ALIAS.VEHICLES_FILTER_POPOVER, EVENTBOARDS_ALIASES.RESULT_FILTER_POPOVER_ALIAS, ScopeTemplates.DEFAULT_SCOPE),
     GroupedViewSettings(EVENTBOARDS_ALIASES.RESULT_FILTER_POPOVER_VEHICLES_ALIAS, EventBoardsFilterVehiclesPopover, 'FilterVehiclesPopoverView.swf', WindowLayer.WINDOW, VIEW_ALIAS.VEHICLES_FILTER_POPOVER, EVENTBOARDS_ALIASES.RESULT_FILTER_POPOVER_VEHICLES_ALIAS, ScopeTemplates.DEFAULT_SCOPE))
コード例 #5
0
def getViewSettings():
    from gui.Scaleform.daapi.view.battle.shared import timers_panel
    from gui.Scaleform.daapi.view.battle.shared import battle_timers
    from gui.Scaleform.daapi.view.battle.tutorial import tutorial_battle_loading
    from gui.Scaleform.daapi.view.battle.shared import consumables_panel
    from gui.Scaleform.daapi.view.battle.shared import ribbons_panel
    from gui.Scaleform.daapi.view.battle.shared import game_messages_panel
    return (ViewSettings(VIEW_ALIAS.TUTORIAL_BATTLE_PAGE, TutorialPage,
                         'tutorialPage.swf', WindowLayer.VIEW, None,
                         ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(BATTLE_VIEW_ALIASES.BATTLE_LOADING,
                              tutorial_battle_loading.TutorialBattleLoading,
                              ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(BATTLE_VIEW_ALIASES.BATTLE_TUTORIAL,
                              TutorialComponent, ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(BATTLE_VIEW_ALIASES.TIMERS_PANEL,
                              timers_panel.TimersPanel,
                              ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(BATTLE_VIEW_ALIASES.BATTLE_TIMER,
                              battle_timers.BattleTimer,
                              ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(BATTLE_VIEW_ALIASES.MINIMAP,
                              TutorialMinimapComponent,
                              ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(BATTLE_VIEW_ALIASES.CONSUMABLES_PANEL,
                              consumables_panel.ConsumablesPanel,
                              ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(BATTLE_VIEW_ALIASES.RIBBONS_PANEL,
                              ribbons_panel.BattleRibbonsPanel,
                              ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(BATTLE_VIEW_ALIASES.GAME_MESSAGES_PANEL,
                              game_messages_panel.GameMessagesPanel,
                              ScopeTemplates.DEFAULT_SCOPE))
コード例 #6
0
def getViewSettings():
    from gui.Scaleform.daapi.view.lobby.cyberSport.CyberSportMainWindow import CyberSportMainWindow
    from gui.Scaleform.daapi.view.lobby.cyberSport.CyberSportIntroView import CyberSportIntroView
    from gui.Scaleform.daapi.view.lobby.cyberSport.CyberSportUnitsListView import CyberSportUnitsListView
    from gui.Scaleform.daapi.view.lobby.cyberSport.CyberSportUnitView import CyberSportUnitView
    from gui.Scaleform.daapi.view.dialogs.CyberSportDialog import CyberSportDialog
    from gui.Scaleform.daapi.view.lobby.cyberSport.RosterSlotSettingsWindow import RosterSlotSettingsWindow
    from gui.Scaleform.daapi.view.lobby.cyberSport.VehicleSelectorPopup import VehicleSelectorPopup
    return (GroupedViewSettings(CYBER_SPORT_ALIASES.CYBER_SPORT_WINDOW_PY, CyberSportMainWindow, CYBER_SPORT_ALIASES.CYBER_SPORT_WINDOW_UI, WindowLayer.WINDOW, '', CYBER_SPORT_ALIASES.CYBER_SPORT_WINDOW_PY, ScopeTemplates.DEFAULT_SCOPE, True),
     GroupedViewSettings(CYBER_SPORT_ALIASES.ROSTER_SLOT_SETTINGS_WINDOW_PY, RosterSlotSettingsWindow, CYBER_SPORT_ALIASES.ROSTER_SLOT_SETTINGS_WINDOW_UI, WindowLayer.TOP_WINDOW, '', None, ScopeTemplates.DEFAULT_SCOPE, True, isModal=True),
     GroupedViewSettings(CYBER_SPORT_ALIASES.VEHICLE_SELECTOR_POPUP_PY, VehicleSelectorPopup, CYBER_SPORT_ALIASES.VEHICLE_SELECTOR_POPUP_UI, WindowLayer.TOP_WINDOW, '', None, ScopeTemplates.DEFAULT_SCOPE, True, isModal=True),
     GroupedViewSettings(CYBER_SPORT_ALIASES.CYBER_SPORT_DIALOG_PY, CyberSportDialog, CYBER_SPORT_ALIASES.CYBER_SPORT_DIALOG_UI, WindowLayer.TOP_WINDOW, '', None, ScopeTemplates.DYNAMIC_SCOPE, True, isModal=True),
     ComponentSettings(CYBER_SPORT_ALIASES.INTRO_VIEW_PY, CyberSportIntroView, ScopeTemplates.DEFAULT_SCOPE),
     ComponentSettings(CYBER_SPORT_ALIASES.UNITS_LIST_VIEW_PY, CyberSportUnitsListView, ScopeTemplates.DEFAULT_SCOPE),
     ComponentSettings(CYBER_SPORT_ALIASES.UNIT_VIEW_PY, CyberSportUnitView, ScopeTemplates.DEFAULT_SCOPE))
コード例 #7
0
def getViewSettings():
    from gui.Scaleform.daapi.view.lobby.missions.linked_set.linkedset_details_container_view import LinkedSetDetailsView
    from gui.Scaleform.daapi.view.lobby.missions.linked_set.linkedset_details_overlay import LinkedSetDetailsOverlay
    from gui.Scaleform.daapi.view.lobby.missions.linked_set.linkedset_hints import LinkedSetHintsView
    return (ViewSettings(LINKEDSET_ALIASES.LINKED_SET_DETAILS_CONTAINER_VIEW,
                         LinkedSetDetailsView, 'linkedSetDetails.swf',
                         WindowLayer.TOP_SUB_VIEW,
                         LINKEDSET_ALIASES.LINKED_SET_DETAILS_CONTAINER_VIEW,
                         ScopeTemplates.LOBBY_SUB_SCOPE, True),
            ComponentSettings(LINKEDSET_ALIASES.LINKED_SET_DETAILS_VIEW_ALIAS,
                              LinkedSetDetailsOverlay,
                              ScopeTemplates.DEFAULT_SCOPE),
            ViewSettings(VIEW_ALIAS.LINKEDSET_HINTS, LinkedSetHintsView,
                         'linkedSetHints.swf', WindowLayer.FULLSCREEN_WINDOW,
                         VIEW_ALIAS.LINKEDSET_HINTS,
                         ScopeTemplates.DEFAULT_SCOPE, True),
            GroupedViewSettings(
                LINKEDSET_ALIASES.LINKED_SET_VEHICLE_LIST_POPUP_PY,
                LinkedSetVehicleListPopup,
                LINKEDSET_ALIASES.LINKED_SET_VEHICLE_LIST_POPUP_UI,
                WindowLayer.TOP_WINDOW,
                '',
                None,
                ScopeTemplates.DEFAULT_SCOPE,
                True,
                isModal=True))
コード例 #8
0
def getViewSettings():
    from gui.Scaleform.daapi.view.lobby.fortifications.components.stronghold_battles_list_view import StrongholdBattlesListView
    from gui.Scaleform.daapi.view.lobby.fortifications.stronghold_battle_room import StrongholdBattleRoom
    from gui.Scaleform.daapi.view.lobby.fortifications.stronghold_battle_room_window import StrongholdBattleRoomWindow
    from gui.Scaleform.daapi.view.lobby.fortifications.FortReserveSelectPopover import FortReserveSelectPopover
    from gui.Scaleform.daapi.view.lobby.fortifications.StrongholdSendInvitesWindow import StrongholdSendInvitesWindow
    from gui.Scaleform.daapi.view.lobby.fortifications.fort_vehicle_select_popover import FortVehicleSelectPopover
    return (GroupedViewSettings(
        FORTIFICATION_ALIASES.STRONGHOLD_SEND_INVITES_WINDOW_PY,
        StrongholdSendInvitesWindow, 'sendInvitesWindow.swf',
        WindowLayer.WINDOW, '',
        FORTIFICATION_ALIASES.STRONGHOLD_SEND_INVITES_WINDOW_PY,
        ScopeTemplates.DEFAULT_SCOPE, True),
            GroupedViewSettings(
                FORTIFICATION_ALIASES.FORT_RESERVE_SELECT_POPOVER_ALIAS,
                FortReserveSelectPopover,
                FORTIFICATION_ALIASES.FORT_FITTING_SELECT_POPOVER_UI,
                WindowLayer.WINDOW,
                FORTIFICATION_ALIASES.FORT_RESERVE_SELECT_POPOVER_ALIAS,
                FORTIFICATION_ALIASES.FORT_RESERVE_SELECT_POPOVER_ALIAS,
                ScopeTemplates.DEFAULT_SCOPE),
            GroupedViewSettings(
                FORTIFICATION_ALIASES.FORT_VEHICLE_SELECT_POPOVER_ALIAS,
                FortVehicleSelectPopover,
                FORTIFICATION_ALIASES.FORT_VEHICLE_SELECT_POPOVER_UI,
                WindowLayer.WINDOW,
                FORTIFICATION_ALIASES.FORT_VEHICLE_SELECT_POPOVER_ALIAS,
                FORTIFICATION_ALIASES.FORT_VEHICLE_SELECT_POPOVER_ALIAS,
                ScopeTemplates.WINDOW_VIEWED_MULTISCOPE),
            GroupedViewSettings(
                FORTIFICATION_ALIASES.STRONGHOLD_BATTLE_ROOM_WINDOW_ALIAS,
                StrongholdBattleRoomWindow,
                FORTIFICATION_ALIASES.FORT_BATTLE_ROOM_WINDOW_UI,
                WindowLayer.WINDOW, '',
                FORTIFICATION_ALIASES.STRONGHOLD_BATTLE_ROOM_WINDOW_ALIAS,
                ScopeTemplates.DEFAULT_SCOPE, True),
            ComponentSettings(
                FORTIFICATION_ALIASES.STRONGHOLD_BATTLE_ROOM_LIST_VIEW_PY,
                StrongholdBattlesListView, ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(
                FORTIFICATION_ALIASES.STRONGHOLD_BATTLE_ROOM_VIEW_PY,
                StrongholdBattleRoom, ScopeTemplates.DEFAULT_SCOPE))
コード例 #9
0
def getViewSettings():
    from gui.Scaleform.framework import ScopeTemplates
    from gui.Scaleform.daapi.view.lobby.tank_setup.ammunition_setup_view import AmmunitionSetupView
    from gui.Scaleform.daapi.view.lobby.tank_setup.ammunition_setup_view_veh_params import AmmunitionSetupViewVehicleParams
    from gui.Scaleform.daapi.view.lobby.tank_setup.ammunition_setup_view_adaptor import AmmunitionSetupViewAdaptor
    return (ViewSettings(VIEW_ALIAS.AMMUNITION_SETUP_VIEW,
                         AmmunitionSetupView,
                         'ammunitionSetupView.swf',
                         WindowLayer.TOP_SUB_VIEW,
                         VIEW_ALIAS.AMMUNITION_SETUP_VIEW,
                         ScopeTemplates.LOBBY_SUB_SCOPE,
                         True,
                         isModal=True),
            ComponentSettings(HANGAR_ALIASES.AMMUNITION_SETUP_VIEW_INJECT,
                              AmmunitionSetupViewAdaptor,
                              ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(
                HANGAR_ALIASES.AMMUNITION_SETUP_VIEW_VEHICLE_PARAMS,
                AmmunitionSetupViewVehicleParams,
                ScopeTemplates.DEFAULT_SCOPE))
コード例 #10
0
def getViewSettings():
    from gui.Scaleform.daapi.view.lobby.vehicle_compare.cmp_add_vehicle_popover import VehicleCompareAddVehiclePopover
    from gui.Scaleform.daapi.view.lobby.vehicle_compare.cmp_cart_popover import VehicleCompareCartPopover
    from gui.Scaleform.daapi.view.lobby.vehicle_compare.cmp_modules_view import VehicleModulesView
    from gui.Scaleform.daapi.view.lobby.vehicle_compare.cmp_configurator_parameters import VehicleCompareParameters
    from gui.Scaleform.daapi.view.lobby.vehicle_compare.cmp_configurator_view import VehicleCompareConfiguratorView
    from gui.Scaleform.daapi.view.lobby.vehicle_compare.cmp_configurator_ammo_inject import VehicleCompareConfiguratorAmmoInject
    from gui.Scaleform.daapi.view.lobby.vehicle_compare.cmp_configurator_progression_inject import VehicleCompareConfiguratorProgressionInject
    return (
        ComponentSettings(VEHICLE_COMPARE_CONSTANTS.VEHICLE_MODULES_VIEW,
                          VehicleModulesView, ScopeTemplates.LOBBY_SUB_SCOPE),
        ComponentSettings(VEHICLE_COMPARE_CONSTANTS.VEHICLE_CONFIGURATOR_VIEW,
                          VehicleCompareConfiguratorView,
                          ScopeTemplates.DEFAULT_SCOPE),
        GroupedViewSettings(
            VEHICLE_COMPARE_CONSTANTS.VEHICLE_CMP_ADD_VEHICLE_POPOVER,
            VehicleCompareAddVehiclePopover,
            'vehicleCompareAddVehiclePopover.swf', WindowLayer.WINDOW,
            'VehicleCompareAddVehiclePopover',
            VEHICLE_COMPARE_CONSTANTS.VEHICLE_CMP_ADD_VEHICLE_POPOVER,
            ScopeTemplates.WINDOW_VIEWED_MULTISCOPE),
        GroupedViewSettings(
            VEHICLE_COMPARE_CONSTANTS.VEHICLE_COMPARE_CART_POPOVER,
            VehicleCompareCartPopover, 'vehicleCompareCartPopover.swf',
            WindowLayer.WINDOW, 'vehicleCompareCartPopover',
            VEHICLE_COMPARE_CONSTANTS.VEHICLE_COMPARE_CART_POPOVER,
            ScopeTemplates.WINDOW_VIEWED_MULTISCOPE),
        ComponentSettings(VEHICLE_COMPARE_CONSTANTS.VEHICLE_COMPARE_PARAMS,
                          VehicleCompareParameters,
                          ScopeTemplates.DEFAULT_SCOPE),
        ComponentSettings(
            VEHICLE_COMPARE_CONSTANTS.VEHICLE_CONFIGURATOR_EQUIPMENT_WIDGET,
            VehicleCompareConfiguratorAmmoInject,
            ScopeTemplates.DEFAULT_SCOPE),
        ComponentSettings(
            VEHICLE_COMPARE_CONSTANTS.
            VEHICLE_CONFIGURATOR_MODIFICATIONS_WIDGET,
            VehicleCompareConfiguratorProgressionInject,
            ScopeTemplates.DEFAULT_SCOPE))
コード例 #11
0
def getViewSettings():
    settings = []
    for alias, enable in getComponents():
        try:
            class_name = alias.split("_")[1]
            module_class = getattr(
                import_module(".date_times", package=__package__), class_name)
            settings.append(
                ComponentSettings(alias, module_class,
                                  ScopeTemplates.DEFAULT_SCOPE))
        except Exception as err:
            logWarning("{}, {}, {}".format(__package__, alias, repr(err)))
    return settings
コード例 #12
0
def getViewSettings():
    from gui.Scaleform.daapi.view.login.EULA import EULADlg
    from gui.Scaleform.daapi.view.login.IntroPage import IntroPage
    from gui.Scaleform.daapi.view.login.LegalInfoWindow import LegalInfoWindow
    from gui.Scaleform.daapi.view.login.LoginQueue import LoginQueue
    from gui.Scaleform.daapi.view.login.RssNewsFeed import RssNewsFeed
    from gui.Scaleform.daapi.view.bootcamp.bc_intro_page import BCIntroPage
    if GUI_SETTINGS.socialNetworkLogin['enabled']:
        from SocialLoginView import SocialLoginView as LoginView
    else:
        from LoginView import LoginView
    return (ViewSettings(VIEW_ALIAS.INTRO_VIDEO, IntroPage, 'introPage.swf',
                         WindowLayer.VIEW, None, ScopeTemplates.DEFAULT_SCOPE),
            ViewSettings(VIEW_ALIAS.LOGIN, LoginView, 'login.swf',
                         WindowLayer.VIEW, None, ScopeTemplates.DEFAULT_SCOPE),
            GroupedViewSettings(VIEW_ALIAS.EULA,
                                EULADlg,
                                'EULADlg.swf',
                                WindowLayer.TOP_WINDOW,
                                '',
                                None,
                                ScopeTemplates.DEFAULT_SCOPE,
                                isModal=True,
                                canDrag=False),
            GroupedViewSettings(VIEW_ALIAS.LEGAL_INFO_WINDOW, LegalInfoWindow,
                                'legalInfoWindow.swf', WindowLayer.WINDOW,
                                'legalInfoWindow', None,
                                ScopeTemplates.DEFAULT_SCOPE),
            GroupedViewSettings(VIEW_ALIAS.EULA_FULL,
                                EULADlg,
                                'EULAFullDlg.swf',
                                WindowLayer.TOP_WINDOW,
                                '',
                                None,
                                ScopeTemplates.DEFAULT_SCOPE,
                                isModal=True,
                                canClose=False,
                                canDrag=False),
            GroupedViewSettings(VIEW_ALIAS.LOGIN_QUEUE,
                                LoginQueue,
                                'LoginQueueWindow.swf',
                                WindowLayer.TOP_WINDOW,
                                '',
                                None,
                                ScopeTemplates.DEFAULT_SCOPE,
                                canClose=False),
            ComponentSettings(VIEW_ALIAS.RSS_NEWS_FEED, RssNewsFeed,
                              ScopeTemplates.DEFAULT_SCOPE),
            ViewSettings(VIEW_ALIAS.BOOTCAMP_INTRO, BCIntroPage,
                         'BCIntroVideo.swf', WindowLayer.TOP_WINDOW, None,
                         ScopeTemplates.DEFAULT_SCOPE))
コード例 #13
0
def getViewSettings():
    from gui.Scaleform.daapi.view.lobby.session_stats.session_stats_overview import SessionStatsOverview
    from gui.Scaleform.daapi.view.lobby.session_stats.session_stats_views import SessionBattleStatsView
    from gui.Scaleform.daapi.view.lobby.session_stats.session_stats_views import SessionVehicleStatsView
    from gui.Scaleform.framework import GroupedViewSettings
    from gui.Scaleform.framework import ScopeTemplates
    return (ComponentSettings(
        SESSION_STATS_CONSTANTS.SESSION_BATTLE_STATS_VIEW_PY_ALIAS,
        SessionBattleStatsView, ScopeTemplates.VIEW_SCOPE),
            ComponentSettings(
                SESSION_STATS_CONSTANTS.SESSION_VEHICLE_STATS_VIEW_PY_ALIAS,
                SessionVehicleStatsView, ScopeTemplates.VIEW_SCOPE),
            ComponentSettings(
                SESSION_STATS_CONSTANTS.SESSION_STATS_OVERVIEW_PY_ALIAS,
                SessionStatsOverview, ScopeTemplates.VIEW_SCOPE),
            ComponentSettings(
                SESSION_STATS_CONSTANTS.SESSION_STATS_SETTINGS_PY_ALIAS,
                SessionStatsSettings, ScopeTemplates.VIEW_SCOPE),
            GroupedViewSettings(SESSION_STATS_CONSTANTS.SESSION_STATS_POPOVER,
                                SessionStatsPopover, 'sessionStatsPopover.swf',
                                WindowLayer.WINDOW, 'SessionStatsPopover',
                                SESSION_STATS_CONSTANTS.SESSION_STATS_POPOVER,
                                ScopeTemplates.WINDOW_VIEWED_MULTISCOPE))
コード例 #14
0
ファイル: __init__.py プロジェクト: dnal0411/battle_observer
def getViewSettings():
    settings = []
    for alias in g_settingsGetter.sorted_aliases:
        if g_settingsGetter.getSetting(alias):
            try:
                class_name = alias.split("_")[GLOBAL.ONE]
                file_name = g_settingsGetter.alias_to_path.get(alias)
                module_class = getattr(import_module(file_name, package=__package__), class_name)
                settings.append(ComponentSettings(alias, module_class, ScopeTemplates.DEFAULT_SCOPE))
                _GAME_UI.add(alias)
                _SPECTATOR_UI.add(alias)
            except Exception as err:
                from ..core.bw_utils import logWarning
                logWarning("{}, {}, {}".format(__package__, alias, repr(err)))
    return settings
コード例 #15
0
def getViewSettings():
    from gui.Scaleform.daapi.view.bootcamp.BCOutroVideoPage import BCOutroVideoPage
    from gui.Scaleform.daapi.view.bootcamp.BCTooltipsWindow import BCTooltipsWindow
    from gui.Scaleform.daapi.view.bootcamp.BCHighlights import BCHighlights
    from gui.Scaleform.daapi.view.bootcamp.BCVehicleBuyView import BCVehicleBuyView
    from gui.Scaleform.daapi.view.bootcamp.BCQuestsView import BCQuestsView
    from gui.Scaleform.daapi.view.bootcamp.BCQueueDialog import BCQueueDialog
    from gui.Scaleform.daapi.view.bootcamp.BCSubtitlesWindow import SubtitlesWindow
    from gui.Scaleform.daapi.view.bootcamp.BCInterludeVideoPage import BCInterludeVideoPage
    return (ViewSettings(VIEW_ALIAS.BOOTCAMP_OUTRO_VIDEO, BCOutroVideoPage, 'BCOutroVideo.swf', WindowLayer.TOP_WINDOW, VIEW_ALIAS.BOOTCAMP_OUTRO_VIDEO, ScopeTemplates.TOP_WINDOW_SCOPE, canClose=False, canDrag=True),
     ViewSettings(VIEW_ALIAS.BOOTCAMP_TOOLTIPS_WINDOW, BCTooltipsWindow, 'BCTooltipsWindow.swf', TOOLTIP_WINDOW_LAYER, None, ScopeTemplates.DEFAULT_SCOPE),
     ViewSettings(VIEW_ALIAS.BOOTCAMP_LOBBY_HIGHLIGHTS, BCHighlights, 'BCHighlights.swf', WindowLayer.TOP_SUB_VIEW, VIEW_ALIAS.BOOTCAMP_LOBBY_HIGHLIGHTS, ScopeTemplates.DEFAULT_SCOPE, True),
     ComponentSettings(VIEW_ALIAS.BOOTCAMP_VEHICLE_BUY_VIEW, BCVehicleBuyView, ScopeTemplates.DEFAULT_SCOPE),
     GroupedViewSettings(VIEW_ALIAS.BOOTCAMP_QUEUE_DIALOG, BCQueueDialog, 'BCQueueWindow.swf', WindowLayer.TOP_WINDOW, '', None, ScopeTemplates.DEFAULT_SCOPE),
     ViewSettings(VIEW_ALIAS.BOOTCAMP_QUESTS_VIEW, BCQuestsView, 'missionsDetails.swf', WindowLayer.TOP_SUB_VIEW, VIEW_ALIAS.BOOTCAMP_QUESTS_VIEW, ScopeTemplates.LOBBY_SUB_SCOPE),
     ViewSettings(VIEW_ALIAS.SUBTITLES_WINDOW, SubtitlesWindow, 'SubtitlesWindow.swf', WindowLayer.OVERLAY, VIEW_ALIAS.SUBTITLES_WINDOW, ScopeTemplates.LOBBY_SUB_SCOPE),
     ViewSettings(VIEW_ALIAS.BOOTCAMP_INTERLUDE_VIDEO, BCInterludeVideoPage, 'BCOutroVideo.swf', WindowLayer.TOP_WINDOW, VIEW_ALIAS.BOOTCAMP_INTERLUDE_VIDEO, ScopeTemplates.TOP_WINDOW_SCOPE, canClose=False, canDrag=True))
コード例 #16
0
def getViewSettings():
    from gui.Scaleform.daapi.view.lobby.messengerBar.ChannelCarousel import ChannelCarousel
    from gui.Scaleform.daapi.view.lobby.messengerBar.ContactsListButton import ContactsListButton
    from gui.Scaleform.daapi.view.lobby.messengerBar.messenger_bar import MessengerBar
    from gui.Scaleform.daapi.view.lobby.messengerBar.NotificationListButton import NotificationListButton
    from notification.NotificationListView import NotificationListView
    from notification.NotificationPopUpViewer import NotificationPopUpViewer
    return (GroupedViewSettings(VIEW_ALIAS.NOTIFICATIONS_LIST, NotificationListView, 'notificationsList.swf', WindowLayer.WINDOW, 'notificationsList', VIEW_ALIAS.NOTIFICATIONS_LIST, ScopeTemplates.WINDOW_VIEWED_MULTISCOPE),
     ComponentSettings(VIEW_ALIAS.CHANNEL_CAROUSEL, ChannelCarousel, ScopeTemplates.DEFAULT_SCOPE),
     ComponentSettings(VIEW_ALIAS.CONTACTS_LIST_BUTTON, ContactsListButton, ScopeTemplates.DEFAULT_SCOPE),
     ComponentSettings(VIEW_ALIAS.VEHICLE_COMPARE_CART_BUTTON, VehicleCompareCartButton, ScopeTemplates.DEFAULT_SCOPE),
     ComponentSettings(VIEW_ALIAS.MESSENGER_BAR, MessengerBar, ScopeTemplates.DEFAULT_SCOPE),
     ComponentSettings(VIEW_ALIAS.NOTIFICATION_LIST_BUTTON, NotificationListButton, ScopeTemplates.DEFAULT_SCOPE),
     ComponentSettings(SESSION_STATS_CONSTANTS.SESSION_STATS_BUTTON_ALIAS, SessionStatsButton, ScopeTemplates.DEFAULT_SCOPE),
     ComponentSettings(VIEW_ALIAS.SYSTEM_MESSAGES, NotificationPopUpViewer, ScopeTemplates.DEFAULT_SCOPE))
コード例 #17
0
def getViewSettings():
    settings = []
    for alias in SORTED_ALIASES:
        if view_settings.getSetting(alias):
            try:
                class_name = alias.split("_")[GLOBAL.ONE]
                file_name = ALIAS_TO_PATH.get(alias)
                module_class = getattr(
                    import_module(file_name, package=__package__), class_name)
                settings.append(
                    ComponentSettings(alias, module_class,
                                      ScopeTemplates.DEFAULT_SCOPE))
                _GAME_UI.add(alias)
                _SPECTATOR_UI.add(alias)
            except Exception as err:
                logWarning("{}, {}, {}".format(__package__, alias, repr(err)))
    return settings
コード例 #18
0
def getViewSettings():
    from gui.Scaleform.daapi.view.lobby.epicBattle.epic_battles_after_battle_view import EpicBattlesAfterBattleView
    from gui.Scaleform.daapi.view.lobby.epicBattle.epic_prime_time import EpicBattlesPrimeTimeView
    from gui.Scaleform.daapi.view.lobby.epicBattle.epic_quest_progress_view import EpicQuestProgressView
    return (ViewSettings(EPICBATTLES_ALIASES.EPIC_BATTLES_AFTER_BATTLE_ALIAS,
                         EpicBattlesAfterBattleView,
                         EPICBATTLES_ALIASES.EPIC_BATTLES_AFTER_BATTLE_UI,
                         WindowLayer.FULLSCREEN_WINDOW,
                         EPICBATTLES_ALIASES.EPIC_BATTLES_AFTER_BATTLE_ALIAS,
                         ScopeTemplates.DEFAULT_SCOPE, True),
            ViewSettings(EPICBATTLES_ALIASES.EPIC_BATTLES_PRIME_TIME_ALIAS,
                         EpicBattlesPrimeTimeView,
                         HANGAR_ALIASES.EPIC_PRIME_TIME, WindowLayer.SUB_VIEW,
                         EPICBATTLES_ALIASES.EPIC_BATTLES_PRIME_TIME_ALIAS,
                         ScopeTemplates.LOBBY_SUB_SCOPE, True),
            ComponentSettings(
                EPICBATTLES_ALIASES.EPIC_BATTLES_PROGRESS_INFO_ALIAS,
                EpicQuestProgressView, ScopeTemplates.DEFAULT_SCOPE))
コード例 #19
0
def getViewSettings():
    from gui.Scaleform.daapi.view.common.report_bug import ReportBugPanel
    from gui.Scaleform.daapi.view.common.settings import SettingsWindow
    from gui.Scaleform.daapi.view.common.settings.gamma_wizard import GammaWizardView
    from gui.Scaleform.daapi.view.common.settings.color_settings_view import ColorSettingsView
    from gui.Scaleform.daapi.view.common.settings.acoustic_popover import AcousticPopover
    from gui.Scaleform.daapi.view.dialogs.SimpleDialog import SimpleDialog
    from gui.Scaleform.daapi.view.dialogs.bootcamp_dialogs import ExecutionChooserDialog
    from gui.Scaleform.framework.WaitingView import WaitingView
    SETTINGS_WINDOW_SCOPE = ScopeTemplates.SimpleScope(VIEW_ALIAS.SETTINGS_WINDOW, ScopeTemplates.DEFAULT_SCOPE)
    return (ViewSettings(VIEW_ALIAS.WAITING, WaitingView, 'waiting.swf', WindowLayer.WAITING, None, ScopeTemplates.GLOBAL_SCOPE),
     ComponentSettings(VIEW_ALIAS.REPORT_BUG, ReportBugPanel, ScopeTemplates.DEFAULT_SCOPE),
     GroupedViewSettings(VIEW_ALIAS.SIMPLE_DIALOG, SimpleDialog, 'simpleDialog.swf', WindowLayer.TOP_WINDOW, '', None, ScopeTemplates.DYNAMIC_SCOPE, isModal=True, canDrag=False),
     GroupedViewSettings(VIEW_ALIAS.BUTTON_DIALOG, ButtonDialog, 'buttonDialog.swf', WindowLayer.TOP_WINDOW, '', None, ScopeTemplates.DYNAMIC_SCOPE, isModal=True, canDrag=False),
     GroupedViewSettings(VIEW_ALIAS.SETTINGS_WINDOW, SettingsWindow, 'settingsWindow.swf', WindowLayer.TOP_WINDOW, 'settingsWindow', None, ScopeTemplates.DEFAULT_SCOPE, isModal=True, canDrag=False),
     ViewSettings(VIEW_ALIAS.GAMMA_WIZARD, GammaWizardView, 'gammaWizard.swf', WindowLayer.FULLSCREEN_WINDOW, VIEW_ALIAS.GAMMA_WIZARD, ScopeTemplates.DEFAULT_SCOPE),
     ViewSettings(VIEW_ALIAS.COLOR_SETTING, ColorSettingsView, 'colorSettings.swf', WindowLayer.FULLSCREEN_WINDOW, VIEW_ALIAS.COLOR_SETTING, ScopeTemplates.DEFAULT_SCOPE),
     ViewSettings(VIEW_ALIAS.BOOTCAMP_EXECUTION_CHOOSER, ExecutionChooserDialog, 'BCDialogWindow.swf', WindowLayer.TOP_WINDOW, None, ScopeTemplates.DYNAMIC_SCOPE, isModal=True),
     GroupedViewSettings(VIEW_ALIAS.ACOUSTIC_POPOVER, AcousticPopover, 'acousticPopover.swf', WindowLayer.TOP_WINDOW, VIEW_ALIAS.ACOUSTIC_POPOVER, VIEW_ALIAS.ACOUSTIC_POPOVER, SETTINGS_WINDOW_SCOPE))
コード例 #20
0
def getViewSettings():
    from gui.Scaleform.daapi.view.lobby.profile.ProfileAwards import ProfileAwards
    from gui.Scaleform.daapi.view.lobby.profile.ProfilePage import ProfilePage
    from gui.Scaleform.daapi.view.lobby.profile.ProfileStatistics import ProfileStatistics
    from gui.Scaleform.daapi.view.lobby.profile.ProfileSummaryPage import ProfileSummaryPage
    from gui.Scaleform.daapi.view.lobby.profile.ProfileSummaryWindow import ProfileSummaryWindow
    from gui.Scaleform.daapi.view.lobby.profile.ProfileTabNavigator import ProfileTabNavigator
    from gui.Scaleform.daapi.view.lobby.profile.ProfileTechniquePage import ProfileTechniquePage
    from gui.Scaleform.daapi.view.lobby.profile.ProfileTechniqueWindow import ProfileTechniqueWindow
    from gui.Scaleform.daapi.view.lobby.profile.ProfileWindow import ProfileWindow
    from gui.Scaleform.daapi.view.lobby.profile.ProfileHof import ProfileHof
    return (ViewSettings(VIEW_ALIAS.LOBBY_PROFILE, ProfilePage, 'profile.swf',
                         WindowLayer.SUB_VIEW, VIEW_ALIAS.LOBBY_PROFILE,
                         ScopeTemplates.LOBBY_SUB_SCOPE),
            GroupedViewSettings(VIEW_ALIAS.PROFILE_WINDOW, ProfileWindow,
                                'profileWindow.swf', WindowLayer.WINDOW,
                                'profileWindow', None,
                                ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(VIEW_ALIAS.PROFILE_AWARDS, ProfileAwards,
                              ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(VIEW_ALIAS.PROFILE_STATISTICS, ProfileStatistics,
                              ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(VIEW_ALIAS.PROFILE_SUMMARY_PAGE,
                              ProfileSummaryPage,
                              ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(VIEW_ALIAS.PROFILE_SUMMARY_WINDOW,
                              ProfileSummaryWindow,
                              ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(VIEW_ALIAS.PROFILE_TAB_NAVIGATOR,
                              ProfileTabNavigator,
                              ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(VIEW_ALIAS.PROFILE_TECHNIQUE_PAGE,
                              ProfileTechniquePage,
                              ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(VIEW_ALIAS.PROFILE_TECHNIQUE_WINDOW,
                              ProfileTechniqueWindow,
                              ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(VIEW_ALIAS.PROFILE_HOF, ProfileHof,
                              ScopeTemplates.DEFAULT_SCOPE))
コード例 #21
0
def getViewSettings():
    from commander_cmp import CommanderComponent
    from tech_parameters_cmp import TechParametersComponent
    from hangar_bottom_panel_cmp import HangarBottomPanelComponent
    from proxy_currency_panel import ProxyCurrencyComponentInject
    from hangar_vehicle_info_view import HangarVehicleModulesConfigurator
    from hangar_vehicle_info_view import HangarVehicleInfo
    from level_up_view import BattleRoyaleLevelUpView
    from battle_royale_prime_time import BattleRoyalePrimeTimeView
    from battle_royale.gui.Scaleform.daapi.view.lobby.hangar.carousel.tank import RoyaleTankCarousel
    return (ViewSettings(BATTLEROYALE_ALIASES.LEVEL_UP,
                         BattleRoyaleLevelUpView,
                         BATTLEROYALE_ALIASES.LEVEL_UP_UI, WindowLayer.OVERLAY,
                         BATTLEROYALE_ALIASES.LEVEL_UP,
                         ScopeTemplates.DEFAULT_SCOPE),
            ViewSettings(BATTLEROYALE_ALIASES.HANGAR_VEH_INFO_VIEW,
                         HangarVehicleInfo, 'battleRoyaleVehInfo.swf',
                         WindowLayer.SUB_VIEW,
                         BATTLEROYALE_ALIASES.HANGAR_VEH_INFO_VIEW,
                         ScopeTemplates.LOBBY_SUB_SCOPE),
            ViewSettings(BATTLEROYALE_ALIASES.BATTLE_ROYALE_PRIME_TIME,
                         BattleRoyalePrimeTimeView,
                         HANGAR_ALIASES.EPIC_PRIME_TIME, WindowLayer.SUB_VIEW,
                         BATTLEROYALE_ALIASES.BATTLE_ROYALE_PRIME_TIME,
                         ScopeTemplates.LOBBY_SUB_SCOPE, True),
            ComponentSettings(
                BATTLEROYALE_ALIASES.VEH_MODULES_CONFIGURATOR_CMP,
                HangarVehicleModulesConfigurator,
                ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(BATTLEROYALE_ALIASES.COMMANDER_COMPONENT,
                              CommanderComponent,
                              ScopeTemplates.LOBBY_SUB_SCOPE),
            ComponentSettings(BATTLEROYALE_ALIASES.TECH_PARAMETERS_COMPONENT,
                              TechParametersComponent,
                              ScopeTemplates.LOBBY_SUB_SCOPE),
            ComponentSettings(BATTLEROYALE_ALIASES.BOTTOM_PANEL_COMPONENT,
                              HangarBottomPanelComponent,
                              ScopeTemplates.LOBBY_SUB_SCOPE),
            ComponentSettings(
                BATTLEROYALE_ALIASES.PROXY_CURRENCY_PANEL_COMPONENT,
                ProxyCurrencyComponentInject, ScopeTemplates.LOBBY_SUB_SCOPE),
            ComponentSettings(HANGAR_ALIASES.ROYALE_TANK_CAROUSEL,
                              RoyaleTankCarousel,
                              ScopeTemplates.DEFAULT_SCOPE))
コード例 #22
0
def getViewSettings():
    from gui.Scaleform.daapi.view.lobby.marathon.marathon_entry_point import MarathonEntryPointWrapper
    return (ComponentSettings(HANGAR_ALIASES.MARATHON_ENTRY_POINT,
                              MarathonEntryPointWrapper,
                              ScopeTemplates.DEFAULT_SCOPE), )
コード例 #23
0
def getViewSettings():
    from gui.Scaleform.daapi.view.battle.epic import page
    from gui.Scaleform.daapi.view.battle.epic import score_panel
    from gui.Scaleform.daapi.view.battle.epic import battle_timer
    from gui.Scaleform.daapi.view.battle.epic import respawn
    from gui.Scaleform.daapi.view.battle.epic import minimap
    from gui.Scaleform.daapi.view.battle.epic import deployment_map
    from gui.Scaleform.daapi.view.battle.epic import game_messages_panel
    from gui.Scaleform.daapi.view.battle.epic import full_stats
    from gui.Scaleform.daapi.view.battle.epic import overviewmap_screen
    from gui.Scaleform.daapi.view.battle.epic import stats_exchange
    from gui.Scaleform.daapi.view.battle.epic import missions_panel
    from gui.Scaleform.daapi.view.battle.epic import spectator_view
    from gui.Scaleform.daapi.view.battle.epic import reinforcement_panel
    from gui.Scaleform.daapi.view.battle.epic import battle_loading
    from gui.Scaleform.daapi.view.battle.epic import recovery_panel
    from gui.Scaleform.daapi.view.battle.epic import battle_carousel
    from gui.Scaleform.daapi.view.battle.epic import super_platoon_panel
    from gui.Scaleform.daapi.view.battle.epic import consumables_panel
    from gui.Scaleform.daapi.view.common.filter_popover import BattleTankCarouselFilterPopover
    from gui.Scaleform.daapi.view.battle.shared import ribbons_panel
    from gui.Scaleform.daapi.view.battle.epic import ingame_rank_panel
    from gui.Scaleform.daapi.view.battle.classic import team_bases_panel
    from gui.Scaleform.daapi.view.battle.shared.hint_panel import component
    from gui.impl.battle.battle_page.ammunition_panel import prebattle_ammunition_panel_inject, respawn_ammunition_panel_inject
    return (ViewSettings(VIEW_ALIAS.EPIC_BATTLE_PAGE, page.EpicBattlePage, 'epicBattlePage.swf', WindowLayer.VIEW, None, ScopeTemplates.DEFAULT_SCOPE),
     ComponentSettings(BATTLE_VIEW_ALIASES.TEAM_BASES_PANEL, team_bases_panel.TeamBasesPanel, ScopeTemplates.DEFAULT_SCOPE),
     ComponentSettings(BATTLE_VIEW_ALIASES.BATTLE_LOADING, battle_loading.EpicBattleLoading, ScopeTemplates.DEFAULT_SCOPE),
     ComponentSettings(BATTLE_VIEW_ALIASES.BATTLE_TANK_CAROUSEL, battle_carousel.BattleTankCarousel, ScopeTemplates.DEFAULT_SCOPE),
     GroupedViewSettings(BATTLE_VIEW_ALIASES.BATTLE_TANK_CAROUSEL_FILTER_POPOVER, BattleTankCarouselFilterPopover, 'filtersPopoverView.swf', WindowLayer.TOP_WINDOW, BATTLE_VIEW_ALIASES.BATTLE_TANK_CAROUSEL_FILTER_POPOVER, BATTLE_VIEW_ALIASES.BATTLE_TANK_CAROUSEL_FILTER_POPOVER, SETTINGS_WINDOW_SCOPE),
     ComponentSettings(BATTLE_VIEW_ALIASES.EPIC_REINFORCEMENT_PANEL, reinforcement_panel.EpicReinforcementPanel, ScopeTemplates.DEFAULT_SCOPE),
     ComponentSettings(BATTLE_VIEW_ALIASES.EPIC_SCORE_PANEL, score_panel.EpicScorePanel, ScopeTemplates.DEFAULT_SCOPE),
     ComponentSettings(BATTLE_VIEW_ALIASES.EPIC_MISSIONS_PANEL, missions_panel.EpicMissionsPanel, ScopeTemplates.DEFAULT_SCOPE),
     ComponentSettings(BATTLE_VIEW_ALIASES.RIBBONS_PANEL, ribbons_panel.BattleRibbonsPanel, ScopeTemplates.DEFAULT_SCOPE),
     ComponentSettings(BATTLE_VIEW_ALIASES.BATTLE_TIMER, battle_timer.EpicBattleTimer, ScopeTemplates.DEFAULT_SCOPE),
     ComponentSettings(BATTLE_VIEW_ALIASES.EPIC_RESPAWN_VIEW, respawn.EpicBattleRespawn, ScopeTemplates.DEFAULT_SCOPE),
     ComponentSettings(BATTLE_VIEW_ALIASES.MINIMAP, minimap.EpicMinimapComponent, ScopeTemplates.DEFAULT_SCOPE),
     ComponentSettings(BATTLE_VIEW_ALIASES.EPIC_DEPLOYMENT_MAP, deployment_map.EpicDeploymentMapComponent, ScopeTemplates.DEFAULT_SCOPE),
     ComponentSettings(BATTLE_VIEW_ALIASES.EPIC_OVERVIEW_MAP_SCREEN, overviewmap_screen.OverviewMapScreen, ScopeTemplates.DEFAULT_SCOPE),
     ComponentSettings(BATTLE_VIEW_ALIASES.GAME_MESSAGES_PANEL, game_messages_panel.EpicMessagePanel, ScopeTemplates.DEFAULT_SCOPE),
     ComponentSettings(BATTLE_VIEW_ALIASES.STATUS_NOTIFICATIONS_PANEL, StatusNotificationTimerPanel, ScopeTemplates.DEFAULT_SCOPE),
     ComponentSettings(BATTLE_VIEW_ALIASES.FULL_STATS, full_stats.EpicFullStatsComponent, ScopeTemplates.DEFAULT_SCOPE),
     ComponentSettings(BATTLE_VIEW_ALIASES.BATTLE_STATISTIC_DATA_CONTROLLER, stats_exchange.EpicStatisticsDataController, ScopeTemplates.DEFAULT_SCOPE),
     ComponentSettings(BATTLE_VIEW_ALIASES.EPIC_SPECTATOR_VIEW, spectator_view.EpicSpectatorView, ScopeTemplates.DEFAULT_SCOPE),
     ComponentSettings(BATTLE_VIEW_ALIASES.RECOVERY_PANEL, recovery_panel.RecoveryPanel, ScopeTemplates.DEFAULT_SCOPE),
     ComponentSettings(BATTLE_VIEW_ALIASES.SUPER_PLATOON_PANEL, super_platoon_panel.SuperPlatoonPanel, ScopeTemplates.DEFAULT_SCOPE),
     ComponentSettings(BATTLE_VIEW_ALIASES.CONSUMABLES_PANEL, consumables_panel.EpicBattleConsumablesPanel, ScopeTemplates.DEFAULT_SCOPE),
     ComponentSettings(BATTLE_VIEW_ALIASES.EPIC_INGAME_RANK, ingame_rank_panel.InGameRankPanel, ScopeTemplates.DEFAULT_SCOPE),
     ComponentSettings(BATTLE_VIEW_ALIASES.HINT_PANEL, component.BattleHintPanel, ScopeTemplates.DEFAULT_SCOPE),
     ComponentSettings(BATTLE_VIEW_ALIASES.PREBATTLE_AMMUNITION_PANEL, prebattle_ammunition_panel_inject.PrebattleAmmunitionPanelInject, ScopeTemplates.DEFAULT_SCOPE),
     ComponentSettings(BATTLE_VIEW_ALIASES.EPIC_RESPAWN_AMMUNITION_PANEL, respawn_ammunition_panel_inject.EpicRespawnAmmunitionPanelInject, ScopeTemplates.DEFAULT_SCOPE))
コード例 #24
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.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
    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),
            ComponentSettings(BATTLE_VIEW_ALIASES.POSTMORTEM_PANEL,
                              postmortem_panel.PostmortemPanel,
                              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))
コード例 #25
0
def getViewSettings():
    from gui.Scaleform.daapi.view.battle.classic import team_bases_panel
    from gui.Scaleform.daapi.view.battle.classic import full_stats
    from gui.Scaleform.daapi.view.battle.classic import players_panel
    from gui.Scaleform.daapi.view.battle.classic import stats_exchange
    from gui.Scaleform.daapi.view.battle.shared import timers_panel
    from gui.Scaleform.daapi.view.battle.shared import battle_loading
    from gui.Scaleform.daapi.view.battle.classic import battle_end_warning_panel
    from gui.Scaleform.daapi.view.bootcamp.battle import bootcamp_battle_timer
    from gui.Scaleform.daapi.view.bootcamp.battle.frag_correlation_bar import BootcampFragCorrelationBar
    from gui.Scaleform.daapi.view.bootcamp.BCIntroFadeOut import BCIntroFadeOut
    from gui.Scaleform.daapi.view.bootcamp.BCBattleTopHint import BCBattleTopHint
    from gui.Scaleform.daapi.view.bootcamp.BCBattlePage import BCBattlePage
    from gui.Scaleform.daapi.view.bootcamp.BCHighlights import BCHighlights
    from gui.Scaleform.daapi.view.bootcamp.BCConsumablesPanel import BCConsumablesPanel
    from gui.Scaleform.daapi.view.bootcamp.BCIntroVideoPage import BCIntroVideoPage
    from gui.Scaleform.daapi.view.bootcamp.BCRibbonsPanel import BCRibbonsPanel
    from gui.Scaleform.daapi.view.bootcamp.BCSecondaryHint import BCSecondaryHint
    from gui.Scaleform.daapi.view.bootcamp.BCPrebattleHints import BCPrebattleHints
    from gui.Scaleform.daapi.view.battle.shared import game_messages_panel
    from gui.Scaleform.daapi.view.battle.shared.hint_panel import component
    from gui.Scaleform.daapi.view.battle.shared import postmortem_panel
    return (ViewSettings(VIEW_ALIAS.BOOTCAMP_INTRO_VIDEO, BCIntroVideoPage,
                         'BCIntroVideo.swf', WindowLayer.TOP_WINDOW, None,
                         ScopeTemplates.DEFAULT_SCOPE),
            ViewSettings(VIEW_ALIAS.BOOTCAMP_BATTLE_PAGE, BCBattlePage,
                         'BCbattlePage.swf', WindowLayer.VIEW, None,
                         ScopeTemplates.DEFAULT_SCOPE),
            ViewSettings(VIEW_ALIAS.BOOTCAMP_INTRO_FADEOUT, BCIntroFadeOut,
                         'BCIntroFadeOut.swf', WindowLayer.WINDOW, None,
                         ScopeTemplates.TOP_WINDOW_SCOPE),
            ComponentSettings(BATTLE_VIEW_ALIASES.BOOTCAMP_BATTLE_TOP_HINT,
                              BCBattleTopHint, ScopeTemplates.DEFAULT_SCOPE),
            ViewSettings(VIEW_ALIAS.BOOTCAMP_BATTLE_HIGHLIGHTS, BCHighlights,
                         'BCHighlights.swf', WindowLayer.WINDOW, None,
                         ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(BATTLE_VIEW_ALIASES.CONSUMABLES_PANEL,
                              BCConsumablesPanel,
                              ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(BATTLE_VIEW_ALIASES.RIBBONS_PANEL,
                              BCRibbonsPanel, ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(BATTLE_VIEW_ALIASES.BOOTCAMP_SECONDARY_HINT,
                              BCSecondaryHint, ScopeTemplates.DEFAULT_SCOPE),
            ViewSettings(VIEW_ALIAS.BOOTCAMP_PREBATTLE_HITNS, BCPrebattleHints,
                         'BCPrebattleHints.swf', WindowLayer.WINDOW, None,
                         ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(BATTLE_VIEW_ALIASES.FRAG_CORRELATION_BAR,
                              BootcampFragCorrelationBar,
                              ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(BATTLE_VIEW_ALIASES.BATTLE_TIMER,
                              bootcamp_battle_timer.BootcampBattleTimer,
                              ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(BATTLE_VIEW_ALIASES.TEAM_BASES_PANEL,
                              team_bases_panel.TeamBasesPanel,
                              ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(BATTLE_VIEW_ALIASES.FULL_STATS,
                              full_stats.FullStatsComponent,
                              ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(BATTLE_VIEW_ALIASES.PLAYERS_PANEL,
                              players_panel.PlayersPanel,
                              ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(
                BATTLE_VIEW_ALIASES.BATTLE_STATISTIC_DATA_CONTROLLER,
                stats_exchange.ClassicStatisticsDataController,
                ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(BATTLE_VIEW_ALIASES.TIMERS_PANEL,
                              timers_panel.TimersPanel,
                              ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(BATTLE_VIEW_ALIASES.BATTLE_END_WARNING_PANEL,
                              battle_end_warning_panel.BattleEndWarningPanel,
                              ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(BATTLE_VIEW_ALIASES.BATTLE_LOADING,
                              battle_loading.BattleLoading,
                              ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(BATTLE_VIEW_ALIASES.MINIMAP,
                              BootcampMinimapComponent,
                              ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(BATTLE_VIEW_ALIASES.GAME_MESSAGES_PANEL,
                              game_messages_panel.GameMessagesPanel,
                              ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(BATTLE_VIEW_ALIASES.HINT_PANEL,
                              component.BattleHintPanel,
                              ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(BATTLE_VIEW_ALIASES.POSTMORTEM_PANEL,
                              postmortem_panel.PostmortemPanel,
                              ScopeTemplates.DEFAULT_SCOPE))
コード例 #26
0
def getViewSettings():
    from gui.Scaleform.daapi.view.lobby.hangar.VehicleParameters import VehiclePreviewParameters
    from gui.Scaleform.daapi.view.lobby.vehicle_preview.info.top_panel_tabs import VehiclePreviewTopPanelTabs
    from gui.Scaleform.daapi.view.lobby.vehicle_preview.vehicle_preview_bottom_panel import VehiclePreviewBottomPanel
    from gui.Scaleform.daapi.view.lobby.vehicle_preview.info.bottom_panel_trade_in import VehiclePreviewBottomPanelTradeIn
    from gui.Scaleform.daapi.view.lobby.vehicle_preview.info.bottom_panel_offer_gift import VehiclePreviewBottomPanelOfferGift
    from gui.Scaleform.daapi.view.lobby.vehicle_preview.info.browse_tab import VehiclePreviewBrowseTab
    from gui.Scaleform.daapi.view.lobby.vehicle_preview.info.modules_tab import VehiclePreviewModulesTab, ModulesPanel
    from gui.Scaleform.daapi.view.lobby.vehicle_preview.info.crew_tab import VehiclePreviewCrewTab
    from gui.Scaleform.daapi.view.lobby.vehicle_preview.pack_items_popover import PackItemsPopover
    from gui.Scaleform.daapi.view.lobby.trade_in.trade_off_widget import TradeOffWidget
    from gui.Scaleform.framework import ScopeTemplates, GroupedViewSettings
    from gui.Scaleform.genConsts.VEHPREVIEW_CONSTANTS import VEHPREVIEW_CONSTANTS
    from gui.Scaleform.daapi.view.lobby.vehicle_preview.info.bottom_panel_style_buying import VehiclePreviewBottomPanelStyleBuying
    from gui.Scaleform.daapi.view.lobby.vehicle_preview.info.bottom_panel_style_progression import VehiclePreviewBottomPanelStyleProgression
    from gui.Scaleform.daapi.view.lobby.vehicle_preview.wot_plus_vehicle_preview import VehiclePreviewBottomPanelWotPlus
    from gui.Scaleform.daapi.view.lobby.vehicle_preview.info.bottom_panel_resource_well import VehiclePreviewBottomPanelResourceWell
    return (ComponentSettings(VEHPREVIEW_CONSTANTS.PARAMETERS_PY_ALIAS,
                              VehiclePreviewParameters,
                              ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(VEHPREVIEW_CONSTANTS.TOP_PANEL_TABS_PY_ALIAS,
                              VehiclePreviewTopPanelTabs,
                              ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(VEHPREVIEW_CONSTANTS.BOTTOM_PANEL_PY_ALIAS,
                              VehiclePreviewBottomPanel,
                              ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(
                VEHPREVIEW_CONSTANTS.BOTTOM_PANEL_TRADE_IN_PY_ALIAS,
                VehiclePreviewBottomPanelTradeIn,
                ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(
                VEHPREVIEW_CONSTANTS.BOTTOM_PANEL_STYLE_PROGRESSION_PY_ALIAS,
                VehiclePreviewBottomPanelStyleProgression,
                ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(
                VEHPREVIEW_CONSTANTS.BOTTOM_PANEL_STYLE_BUYING_PY_ALIAS,
                VehiclePreviewBottomPanelStyleBuying,
                ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(
                VEHPREVIEW_CONSTANTS.BOTTOM_PANEL_OFFER_GIFT_PY_ALIAS,
                VehiclePreviewBottomPanelOfferGift,
                ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(VEHPREVIEW_CONSTANTS.BOTTOM_PANEL_WELL_PY_ALIAS,
                              VehiclePreviewBottomPanelResourceWell,
                              ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(VEHPREVIEW_CONSTANTS.BROWSE_LINKAGE,
                              VehiclePreviewBrowseTab,
                              ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(VEHPREVIEW_CONSTANTS.MODULES_LINKAGE,
                              VehiclePreviewModulesTab,
                              ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(VEHPREVIEW_CONSTANTS.MODULES_PY_ALIAS,
                              ModulesPanel, ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(VEHPREVIEW_CONSTANTS.CREW_LINKAGE,
                              VehiclePreviewCrewTab,
                              ScopeTemplates.DEFAULT_SCOPE),
            GroupedViewSettings(VIEW_ALIAS.PACK_ITEM_POPOVER, PackItemsPopover,
                                'packItemsPopover.swf', WindowLayer.WINDOW,
                                VIEW_ALIAS.PACK_ITEM_POPOVER,
                                VIEW_ALIAS.PACK_ITEM_POPOVER,
                                ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(VEHPREVIEW_CONSTANTS.TRADE_OFF_WIDGET_ALIAS,
                              TradeOffWidget, ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(
                VEHPREVIEW_CONSTANTS.BOTTOM_PANEL_WOT_PLUS_LINKAGE,
                VehiclePreviewBottomPanelWotPlus,
                ScopeTemplates.DEFAULT_SCOPE))
コード例 #27
0
def getViewSettings():
    from gui.Scaleform.daapi.view.battle.classic import stats_exchange
    from gui.Scaleform.daapi.view.battle.classic import team_bases_panel
    from battle_royale.gui.Scaleform.daapi.view.battle.minimap.component import BattleRoyaleMinimapComponent
    from battle_royale.gui.Scaleform.daapi.view.battle.consumables_panel import BattleRoyaleConsumablesPanel
    from gui.Scaleform.daapi.view.battle.classic import battle_end_warning_panel
    from gui.Scaleform.daapi.view.battle.shared import battle_timers
    from battle_royale.gui.Scaleform.daapi.view.battle import battle_loading
    from gui.Scaleform.daapi.view.battle.shared import ribbons_panel
    from gui.Scaleform.daapi.view.battle.shared import game_messages_panel
    from gui.Scaleform.daapi.view.battle.shared.hint_panel import component
    from battle_royale.gui.Scaleform.daapi.view.battle import veh_configurator
    from battle_royale.gui.Scaleform.daapi.view.battle.battle_level_panel import BattleLevelPanel
    import battle_royale.gui.Scaleform.daapi.view.battle.players_panel as battle_royale_players_panel
    from battle_royale.gui.Scaleform.daapi.view.battle.battle_upgrade_panel import BattleUpgradePanel
    from battle_royale.gui.Scaleform.daapi.view.battle.frag_panel import FragPanel
    from battle_royale.gui.Scaleform.daapi.view.battle.full_stats import FullStatsComponent
    from battle_royale.gui.Scaleform.daapi.view.battle.select_respawn import SelectRespawnComponent
    import battle_royale.gui.Scaleform.daapi.view.battle.observer_players_panel as observer_players_panel
    from battle_royale.gui.Scaleform.daapi.view.battle.abilities.corroding_shot_indicator import CorrodingShotIndicator
    from battle_royale.gui.Scaleform.daapi.view.battle.postmortem_panel import BattleRoyalePostmortemPanel
    return (ViewSettings(VIEW_ALIAS.BATTLE_ROYALE_PAGE, BattleRoyalePage,
                         'battleRoyalePage.swf', WindowLayer.VIEW, None,
                         ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(BATTLE_VIEW_ALIASES.BATTLE_LOADING,
                              battle_loading.BattleLoading,
                              ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(
                BATTLE_VIEW_ALIASES.BATTLE_STATISTIC_DATA_CONTROLLER,
                stats_exchange.ClassicStatisticsDataController,
                ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(BATTLE_VIEW_ALIASES.TEAM_BASES_PANEL,
                              team_bases_panel.TeamBasesPanel,
                              ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(BATTLE_VIEW_ALIASES.FULL_STATS,
                              FullStatsComponent,
                              ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(BATTLE_VIEW_ALIASES.MINIMAP,
                              BattleRoyaleMinimapComponent,
                              ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(BATTLE_VIEW_ALIASES.STATUS_NOTIFICATIONS_PANEL,
                              StatusNotificationTimerPanel,
                              ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(BATTLE_VIEW_ALIASES.BATTLE_TIMER,
                              battle_timers.BattleTimer,
                              ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(BATTLE_VIEW_ALIASES.BATTLE_END_WARNING_PANEL,
                              battle_end_warning_panel.BattleEndWarningPanel,
                              ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(BATTLE_VIEW_ALIASES.CONSUMABLES_PANEL,
                              BattleRoyaleConsumablesPanel,
                              ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(BATTLE_VIEW_ALIASES.RIBBONS_PANEL,
                              ribbons_panel.BattleRibbonsPanel,
                              ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(BATTLE_VIEW_ALIASES.GAME_MESSAGES_PANEL,
                              game_messages_panel.GameMessagesPanel,
                              ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(BATTLE_VIEW_ALIASES.HINT_PANEL,
                              component.BattleHintPanel,
                              ScopeTemplates.DEFAULT_SCOPE),
            ViewSettings(BATTLE_VIEW_ALIASES.BATTLE_VEHICLE_CONFIGURATOR,
                         veh_configurator.BattleVehicleConfigurator,
                         'battleVehicleConfigurator.swf',
                         WindowLayer.TOP_WINDOW,
                         None,
                         ScopeTemplates.DEFAULT_SCOPE,
                         isModal=True),
            ComponentSettings(
                BATTLE_VIEW_ALIASES.BATTLE_VEH_MODULES_CONFIGURATOR_CMP,
                veh_configurator.BattleVehicleConfiguratorCmp,
                ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(BATTLE_VIEW_ALIASES.RADAR_BUTTON, RadarButton,
                              ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(BATTLE_VIEW_ALIASES.UPGRADE_PANEL,
                              BattleUpgradePanel,
                              ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(BATTLE_VIEW_ALIASES.FRAG_PANEL, FragPanel,
                              ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(BATTLE_VIEW_ALIASES.BATTLE_LEVEL_PANEL,
                              BattleLevelPanel, ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(BATTLE_VIEW_ALIASES.BATTLE_TEAM_PANEL,
                              battle_royale_players_panel.PlayersPanel,
                              ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(BATTLE_VIEW_ALIASES.BR_SELECT_RESPAWN,
                              SelectRespawnComponent,
                              ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(BATTLE_VIEW_ALIASES.BR_PLAYER_STATS_IN_BATTLE,
                              BattleRoyalePlayerStats,
                              ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(BATTLE_VIEW_ALIASES.CORRODING_SHOT_INDICATOR,
                              CorrodingShotIndicator,
                              ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(BATTLE_VIEW_ALIASES.PLAYERS_PANEL,
                              observer_players_panel.ObserverPlayersPanel,
                              ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(BATTLE_VIEW_ALIASES.POSTMORTEM_PANEL,
                              BattleRoyalePostmortemPanel,
                              ScopeTemplates.DEFAULT_SCOPE))
コード例 #28
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))
コード例 #29
0
def getViewSettings():
    from gui.Scaleform.daapi.view.battle.classic import full_stats
    from gui.Scaleform.daapi.view.battle.epic_random import players_panel
    from gui.Scaleform.daapi.view.battle.epic_random import stats_exchange
    from gui.Scaleform.daapi.view.battle.shared import frag_correlation_bar
    from gui.Scaleform.daapi.view.battle.epic_random import minimap_component
    from gui.Scaleform.daapi.view.battle.classic import battle_end_warning_panel
    from gui.Scaleform.daapi.view.battle.shared import battle_timers
    from gui.Scaleform.daapi.view.battle.epic_random import battle_loading
    from gui.Scaleform.daapi.view.battle.shared import timers_panel
    from gui.Scaleform.daapi.view.battle.classic import team_bases_panel
    from gui.Scaleform.daapi.view.battle.shared import consumables_panel
    from gui.Scaleform.daapi.view.battle.shared import ribbons_panel
    from gui.Scaleform.daapi.view.battle.shared import game_messages_panel
    from gui.Scaleform.daapi.view.battle.shared import quest_progress_top_view
    from gui.Scaleform.daapi.view.battle.shared.hint_panel import component
    from gui.impl.battle.battle_page.ammunition_panel import prebattle_ammunition_panel_inject
    return (
        ViewSettings(VIEW_ALIAS.EPIC_RANDOM_PAGE, EpicRandomPage,
                     'epicRandomPage.swf', WindowLayer.VIEW, None,
                     ScopeTemplates.DEFAULT_SCOPE),
        ComponentSettings(BATTLE_VIEW_ALIASES.BATTLE_LOADING,
                          battle_loading.EpicRandomBattleLoading,
                          ScopeTemplates.DEFAULT_SCOPE),
        ComponentSettings(BATTLE_VIEW_ALIASES.BATTLE_STATISTIC_DATA_CONTROLLER,
                          stats_exchange.EpicRandomStatisticsDataController,
                          ScopeTemplates.DEFAULT_SCOPE),
        ComponentSettings(BATTLE_VIEW_ALIASES.FRAG_CORRELATION_BAR,
                          frag_correlation_bar.FragCorrelationBar,
                          ScopeTemplates.DEFAULT_SCOPE),
        ComponentSettings(BATTLE_VIEW_ALIASES.TEAM_BASES_PANEL,
                          team_bases_panel.TeamBasesPanel,
                          ScopeTemplates.DEFAULT_SCOPE),
        ComponentSettings(BATTLE_VIEW_ALIASES.FULL_STATS,
                          full_stats.FullStatsComponent,
                          ScopeTemplates.DEFAULT_SCOPE),
        ComponentSettings(BATTLE_VIEW_ALIASES.PLAYERS_PANEL,
                          players_panel.EpicRandomPlayersPanel,
                          ScopeTemplates.DEFAULT_SCOPE),
        ComponentSettings(BATTLE_VIEW_ALIASES.MINIMAP,
                          minimap_component.EpicRandomMinimapComponent,
                          ScopeTemplates.DEFAULT_SCOPE),
        ComponentSettings(BATTLE_VIEW_ALIASES.TIMERS_PANEL,
                          timers_panel.TimersPanel,
                          ScopeTemplates.DEFAULT_SCOPE),
        ComponentSettings(BATTLE_VIEW_ALIASES.BATTLE_TIMER,
                          battle_timers.BattleTimer,
                          ScopeTemplates.DEFAULT_SCOPE),
        ComponentSettings(BATTLE_VIEW_ALIASES.CONSUMABLES_PANEL,
                          consumables_panel.ConsumablesPanel,
                          ScopeTemplates.DEFAULT_SCOPE),
        ComponentSettings(BATTLE_VIEW_ALIASES.RIBBONS_PANEL,
                          ribbons_panel.BattleRibbonsPanel,
                          ScopeTemplates.DEFAULT_SCOPE),
        ComponentSettings(BATTLE_VIEW_ALIASES.GAME_MESSAGES_PANEL,
                          game_messages_panel.GameMessagesPanel,
                          ScopeTemplates.DEFAULT_SCOPE),
        ComponentSettings(BATTLE_VIEW_ALIASES.BATTLE_END_WARNING_PANEL,
                          battle_end_warning_panel.BattleEndWarningPanel,
                          ScopeTemplates.DEFAULT_SCOPE),
        ComponentSettings(BATTLE_VIEW_ALIASES.QUEST_PROGRESS_TOP_VIEW,
                          quest_progress_top_view.QuestProgressTopView,
                          ScopeTemplates.DEFAULT_SCOPE),
        ComponentSettings(BATTLE_VIEW_ALIASES.HINT_PANEL,
                          component.BattleHintPanel,
                          ScopeTemplates.DEFAULT_SCOPE),
        ComponentSettings(
            BATTLE_VIEW_ALIASES.PREBATTLE_AMMUNITION_PANEL,
            prebattle_ammunition_panel_inject.PrebattleAmmunitionPanelInject,
            ScopeTemplates.DEFAULT_SCOPE))
コード例 #30
0
def getViewSettings():
    from gui.Scaleform.daapi.view.lobby.customization.customization_properties_sheet import CustomizationPropertiesSheet
    from gui.Scaleform.daapi.view.lobby.customization.customization_bottom_panel import CustomizationBottomPanel
    from gui.Scaleform.daapi.view.lobby.customization.customization_inscription_controller import CustomizationInscriptionController
    from gui.Scaleform.daapi.view.lobby.customization.filter_popover import FilterPopover
    from gui.Scaleform.daapi.view.lobby.customization.popovers.custom_popover import CustomPopover
    from gui.Scaleform.daapi.view.lobby.customization.popovers.style_popover import StylePopover
    from gui.Scaleform.daapi.view.lobby.customization.popovers.editable_style_popover import EditableStylePopover
    from gui.Scaleform.daapi.view.dialogs.confirm_customization_item_dialog import ConfirmCustomizationItemDialog
    from gui.Scaleform.daapi.view.lobby.customization.customization_style_info import CustomizationStyleInfo
    from gui.Scaleform.daapi.view.lobby.customization.progressive_items_browser_view import ProgressiveItemsBrowserView
    from gui.Scaleform.daapi.view.lobby.customization.progression_styles.stage_switcher import StageSwitcher
    return (GroupedViewSettings(
        VIEW_ALIAS.CUSTOMIZATION_FILTER_POPOVER, FilterPopover,
        'customizationFiltersPopoverView.swf', WindowLayer.WINDOW,
        VIEW_ALIAS.CUSTOMIZATION_FILTER_POPOVER,
        VIEW_ALIAS.CUSTOMIZATION_FILTER_POPOVER, ScopeTemplates.DEFAULT_SCOPE),
            GroupedViewSettings(VIEW_ALIAS.CUSTOMIZATION_ITEMS_POPOVER,
                                CustomPopover, 'customizationItemsPopover.swf',
                                WindowLayer.WINDOW,
                                VIEW_ALIAS.CUSTOMIZATION_ITEMS_POPOVER,
                                VIEW_ALIAS.CUSTOMIZATION_ITEMS_POPOVER,
                                ScopeTemplates.DEFAULT_SCOPE),
            GroupedViewSettings(VIEW_ALIAS.CUSTOMIZATION_EDITED_KIT_POPOVER,
                                EditableStylePopover,
                                'customizationEditedKitPopover.swf',
                                WindowLayer.WINDOW,
                                VIEW_ALIAS.CUSTOMIZATION_EDITED_KIT_POPOVER,
                                VIEW_ALIAS.CUSTOMIZATION_EDITED_KIT_POPOVER,
                                ScopeTemplates.DEFAULT_SCOPE),
            GroupedViewSettings(VIEW_ALIAS.CUSTOMIZATION_KIT_POPOVER,
                                StylePopover, 'customizationKitPopover.swf',
                                WindowLayer.WINDOW,
                                VIEW_ALIAS.CUSTOMIZATION_KIT_POPOVER,
                                VIEW_ALIAS.CUSTOMIZATION_KIT_POPOVER,
                                ScopeTemplates.DEFAULT_SCOPE),
            GroupedViewSettings(
                CUSTOMIZATION_ALIASES.CONFIRM_CUSTOMIZATION_ITEM_DIALOG,
                ConfirmCustomizationItemDialog,
                'confirmCustomizationItemDialog.swf',
                WindowLayer.TOP_WINDOW,
                'confirmCustomizationItemDialog',
                None,
                ScopeTemplates.DEFAULT_SCOPE,
                isModal=True,
                canDrag=False),
            ComponentSettings(VIEW_ALIAS.CUSTOMIZATION_PROPERTIES_SHEET,
                              CustomizationPropertiesSheet,
                              ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(VIEW_ALIAS.CUSTOMIZATION_BOTTOM_PANEL,
                              CustomizationBottomPanel,
                              ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(VIEW_ALIAS.CUSTOMIZATION_INSCRIPTION_CONTROLLER,
                              CustomizationInscriptionController,
                              ScopeTemplates.DEFAULT_SCOPE),
            ComponentSettings(VIEW_ALIAS.CUSTOMIZATION_STYLE_INFO,
                              CustomizationStyleInfo,
                              ScopeTemplates.DEFAULT_SCOPE),
            ViewSettings(CUSTOMIZATION_ALIASES.PROGRESSIVE_ITEMS_BROWSER_VIEW,
                         ProgressiveItemsBrowserView, 'browserScreen.swf',
                         WindowLayer.FULLSCREEN_WINDOW,
                         CUSTOMIZATION_ALIASES.PROGRESSIVE_ITEMS_BROWSER_VIEW,
                         ScopeTemplates.LOBBY_SUB_SCOPE, True),
            ComponentSettings(
                CUSTOMIZATION_ALIASES.PROGRESSION_STYLES_STAGE_SWITCHER,
                StageSwitcher, ScopeTemplates.DEFAULT_SCOPE))