def getViewSettings(): from gui.Scaleform.daapi.view.lobby.fortifications.components.StrongholdBattlesListView import StrongholdBattlesListView from gui.Scaleform.daapi.view.lobby.fortifications.StrongholdBattleRoom import StrongholdBattleRoom from gui.Scaleform.daapi.view.lobby.fortifications.StrongholdBattleRoomWindow import StrongholdBattleRoomWindow from gui.Scaleform.daapi.view.lobby.fortifications.FortReserveSelectPopover import FortReserveSelectPopover from gui.Scaleform.daapi.view.lobby.fortifications.StrongholdSendInvitesWindow import StrongholdSendInvitesWindow return (GroupedViewSettings( FORTIFICATION_ALIASES.STRONGHOLD_SEND_INVITES_WINDOW_PY, StrongholdSendInvitesWindow, 'sendInvitesWindow.swf', ViewTypes.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, ViewTypes.WINDOW, FORTIFICATION_ALIASES.FORT_RESERVE_SELECT_POPOVER_ALIAS, FORTIFICATION_ALIASES.FORT_RESERVE_SELECT_POPOVER_ALIAS, ScopeTemplates.DEFAULT_SCOPE), GroupedViewSettings( FORTIFICATION_ALIASES.STRONGHOLD_BATTLE_ROOM_WINDOW_ALIAS, StrongholdBattleRoomWindow, FORTIFICATION_ALIASES.FORT_BATTLE_ROOM_WINDOW_UI, ViewTypes.WINDOW, '', FORTIFICATION_ALIASES.STRONGHOLD_BATTLE_ROOM_WINDOW_ALIAS, ScopeTemplates.DEFAULT_SCOPE, True), ViewSettings( FORTIFICATION_ALIASES.STRONGHOLD_BATTLE_ROOM_LIST_VIEW_PY, StrongholdBattlesListView, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE), ViewSettings(FORTIFICATION_ALIASES.STRONGHOLD_BATTLE_ROOM_VIEW_PY, StrongholdBattleRoom, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE))
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))
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))
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.acoustic_popover import AcousticPopover from gui.Scaleform.daapi.view.dialogs.SimpleDialog import SimpleDialog from gui.Scaleform.framework.WaitingView import WaitingView from gui.Scaleform.managers.Cursor import Cursor return (ViewSettings(VIEW_ALIAS.CURSOR, Cursor, 'cursor.swf', ViewTypes.CURSOR, None, ScopeTemplates.GLOBAL_SCOPE), ViewSettings(VIEW_ALIAS.WAITING, WaitingView, 'waiting.swf', ViewTypes.WAITING, None, ScopeTemplates.GLOBAL_SCOPE), ViewSettings(VIEW_ALIAS.REPORT_BUG, ReportBugPanel, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE), GroupedViewSettings(VIEW_ALIAS.SIMPLE_DIALOG, SimpleDialog, 'simpleDialog.swf', ViewTypes.TOP_WINDOW, '', None, ScopeTemplates.DYNAMIC_SCOPE), GroupedViewSettings(VIEW_ALIAS.SETTINGS_WINDOW, SettingsWindow, 'settingsWindow.swf', ViewTypes.TOP_WINDOW, 'settingsWindow', None, ScopeTemplates.DEFAULT_SCOPE), GroupedViewSettings(VIEW_ALIAS.ACOUSTIC_POPOVER, AcousticPopover, 'acousticPopover.swf', ViewTypes.TOP_WINDOW, VIEW_ALIAS.ACOUSTIC_POPOVER, VIEW_ALIAS.ACOUSTIC_POPOVER, ScopeTemplates.DEFAULT_SCOPE))
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 ViewSettings from gui.Scaleform.framework import GroupedViewSettings from gui.Scaleform.framework import ViewTypes from gui.Scaleform.framework import ScopeTemplates return (ViewSettings( SESSION_STATS_CONSTANTS.SESSION_BATTLE_STATS_VIEW_PY_ALIAS, SessionBattleStatsView, None, ViewTypes.COMPONENT, None, ScopeTemplates.VIEW_SCOPE), ViewSettings( SESSION_STATS_CONSTANTS.SESSION_VEHICLE_STATS_VIEW_PY_ALIAS, SessionVehicleStatsView, None, ViewTypes.COMPONENT, None, ScopeTemplates.VIEW_SCOPE), ViewSettings( SESSION_STATS_CONSTANTS.SESSION_STATS_OVERVIEW_PY_ALIAS, SessionStatsOverview, None, ViewTypes.COMPONENT, None, ScopeTemplates.VIEW_SCOPE), ViewSettings( SESSION_STATS_CONSTANTS.SESSION_STATS_SETTINGS_PY_ALIAS, SessionStatsSettings, None, ViewTypes.COMPONENT, None, ScopeTemplates.VIEW_SCOPE), GroupedViewSettings(SESSION_STATS_CONSTANTS.SESSION_STATS_POPOVER, SessionStatsPopover, 'sessionStatsPopover.swf', ViewTypes.WINDOW, 'SessionStatsPopover', SESSION_STATS_CONSTANTS.SESSION_STATS_POPOVER, ScopeTemplates.WINDOW_VIEWED_MULTISCOPE))
def getViewSettings(): from gui.Scaleform.daapi.view.lobby.storage.storage_view import StorageView return (ViewSettings(VIEW_ALIAS.LOBBY_STORAGE, StorageView, 'storageView.swf', ViewTypes.LOBBY_SUB, VIEW_ALIAS.LOBBY_STORAGE, ScopeTemplates.LOBBY_SUB_SCOPE), ViewSettings(STORAGE_CONSTANTS.FOR_SELL_VIEW, StorageCategoryForSellView, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE), ViewSettings(STORAGE_CONSTANTS.IN_HANGAR_VIEW, StorageCategoryInHangarView, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE), ViewSettings(STORAGE_CONSTANTS.STORAGE_VIEW, InventoryCategoryStorageView, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE), ViewSettings(STORAGE_CONSTANTS.PERSONAL_RESERVES_VIEW, StorageCategoryPersonalReservesView, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE), GroupedViewSettings(VIEW_ALIAS.STORAGE_VEHICLES_FILTER_POPOVER, StorageVehicleFilterPopover, 'vehiclesFiltersPopoverView.swf', ViewTypes.WINDOW, VIEW_ALIAS.STORAGE_VEHICLES_FILTER_POPOVER, VIEW_ALIAS.STORAGE_VEHICLES_FILTER_POPOVER, ScopeTemplates.DEFAULT_SCOPE))
def getViewSettings(): from gui.Scaleform.daapi.view.lobby.server_events.EventsWindow import EventsWindow from gui.Scaleform.daapi.view.lobby.server_events.QuestsPersonalWelcomeView import QuestsPersonalWelcomeView from gui.Scaleform.daapi.view.lobby.server_events.QuestsSeasonAwardsWindow import QuestsSeasonAwardsWindow from gui.Scaleform.daapi.view.lobby.server_events.QuestsContentTabs import QuestsContentTabs from gui.Scaleform.daapi.view.lobby.server_events.QuestsSeasonsView import QuestsSeasonsView from gui.Scaleform.daapi.view.lobby.server_events.QuestsTileChainsView import FalloutQuestsTileChainsView, RandomQuestsTileChainsView from gui.Scaleform.genConsts.QUESTS_ALIASES import QUESTS_ALIASES return (GroupedViewSettings(VIEW_ALIAS.EVENTS_WINDOW, EventsWindow, 'questsWindow.swf', ViewTypes.WINDOW, '', None, ScopeTemplates.DEFAULT_SCOPE), GroupedViewSettings(VIEW_ALIAS.QUESTS_SEASON_AWARDS_WINDOW, QuestsSeasonAwardsWindow, 'questsSeasonAwardsWindow.swf', ViewTypes.WINDOW, 'pqSeasonAwards', None, ScopeTemplates.DEFAULT_SCOPE), ViewSettings(QUESTS_ALIASES.PERSONAL_WELCOME_VIEW_ALIAS, QuestsPersonalWelcomeView, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE), ViewSettings(QUESTS_ALIASES.SEASONS_VIEW_ALIAS, QuestsSeasonsView, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE), ViewSettings(QUESTS_ALIASES.RANDOM_TILE_CHAINS_VIEW_ALIAS, RandomQuestsTileChainsView, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE), ViewSettings(QUESTS_ALIASES.FALLOUT_TILE_CHAINS_VIEW_ALIAS, FalloutQuestsTileChainsView, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE), ViewSettings(QUESTS_ALIASES.QUESTS_CONTENT_TABS_PY_ALIAS, QuestsContentTabs, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE))
def getViewSettings(): from gui.Scaleform.daapi.view.lobby.prb_windows import invite_windows from gui.Scaleform.daapi.view.lobby.prb_windows.BattleSessionList import BattleSessionList from gui.Scaleform.daapi.view.lobby.prb_windows.BattleSessionWindow import BattleSessionWindow from gui.Scaleform.daapi.view.lobby.SendInvitesWindow import SendInvitesWindow from gui.Scaleform.daapi.view.lobby.prb_windows.SquadPromoWindow import SquadPromoWindow from gui.Scaleform.daapi.view.lobby.prb_windows.squad_view import SquadView from gui.Scaleform.daapi.view.lobby.prb_windows.squad_view import EventSquadView from gui.Scaleform.daapi.view.lobby.prb_windows.squad_view import EpicSquadView from gui.Scaleform.daapi.view.lobby.prb_windows.squad_view import BattleRoyaleSquadView from gui.Scaleform.daapi.view.lobby.prb_windows.squad_window import SquadWindow, EventSquadWindow, EpicSquadWindow from gui.Scaleform.daapi.view.lobby.prb_windows.SwitchPeripheryWindow import SwitchPeripheryWindow return (GroupedViewSettings(PREBATTLE_ALIASES.SEND_INVITES_WINDOW_PY, SendInvitesWindow, 'sendInvitesWindow.swf', ViewTypes.WINDOW, '', PREBATTLE_ALIASES.SEND_INVITES_WINDOW_PY, ScopeTemplates.DEFAULT_SCOPE, True, isCentered=False), GroupedViewSettings(PREBATTLE_ALIASES.AUTO_INVITE_WINDOW_PY, invite_windows.AutoInviteWindow, 'receivedInviteWindow.swf', ViewTypes.WINDOW, 'receivedInviteWindow', None, ScopeTemplates.DEFAULT_SCOPE, True, isCentered=False), GroupedViewSettings(PREBATTLE_ALIASES.SQUAD_WINDOW_PY, SquadWindow, 'squadWindow.swf', ViewTypes.WINDOW, '', PREBATTLE_ALIASES.SQUAD_WINDOW_PY, ScopeTemplates.DEFAULT_SCOPE, True), GroupedViewSettings(PREBATTLE_ALIASES.EVENT_SQUAD_WINDOW_PY, EventSquadWindow, 'squadWindow.swf', ViewTypes.WINDOW, '', PREBATTLE_ALIASES.EVENT_SQUAD_WINDOW_PY, ScopeTemplates.DEFAULT_SCOPE, True), GroupedViewSettings(PREBATTLE_ALIASES.EPIC_SQUAD_WINDOW_PY, EpicSquadWindow, 'squadWindow.swf', ViewTypes.WINDOW, '', PREBATTLE_ALIASES.EPIC_SQUAD_WINDOW_PY, ScopeTemplates.DEFAULT_SCOPE, True), GroupedViewSettings(PREBATTLE_ALIASES.BATTLE_ROYALE_SQUAD_WINDOW_PY, BattleRoyaleSquadWindow, 'squadWindow.swf', ViewTypes.WINDOW, '', PREBATTLE_ALIASES.BATTLE_ROYALE_SQUAD_WINDOW_PY, ScopeTemplates.DEFAULT_SCOPE, True), GroupedViewSettings(PREBATTLE_ALIASES.BATTLE_SESSION_ROOM_WINDOW_PY, BattleSessionWindow, 'battleSessionWindow.swf', ViewTypes.WINDOW, '', PREBATTLE_ALIASES.BATTLE_SESSION_ROOM_WINDOW_PY, ScopeTemplates.DEFAULT_SCOPE, True, isCentered=False), GroupedViewSettings(PREBATTLE_ALIASES.BATTLE_SESSION_LIST_WINDOW_PY, BattleSessionList, 'battleSessionList.swf', ViewTypes.WINDOW, '', PREBATTLE_ALIASES.BATTLE_SESSION_LIST_WINDOW_PY, ScopeTemplates.DEFAULT_SCOPE, True, isCentered=False), GroupedViewSettings(VIEW_ALIAS.SQUAD_PROMO_WINDOW, SquadPromoWindow, 'squadPromoWindow.swf', ViewTypes.WINDOW, '', None, ScopeTemplates.DEFAULT_SCOPE), GroupedViewSettings(VIEW_ALIAS.SWITCH_PERIPHERY_WINDOW, SwitchPeripheryWindow, 'switchPeripheryWindow.swf', ViewTypes.TOP_WINDOW, '', None, ScopeTemplates.DEFAULT_SCOPE), GroupedViewSettings(VIEW_ALIAS.SWITCH_PERIPHERY_WINDOW_MODAL, SwitchPeripheryWindow, 'switchPeripheryWindow.swf', ViewTypes.TOP_WINDOW, '', None, ScopeTemplates.DEFAULT_SCOPE, isModal=True, canDrag=False), ViewSettings(PREBATTLE_ALIASES.SQUAD_VIEW_PY, SquadView, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE), ViewSettings(PREBATTLE_ALIASES.EVENT_SQUAD_VIEW_PY, EventSquadView, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE), ViewSettings(PREBATTLE_ALIASES.EPIC_SQUAD_VIEW_PY, EpicSquadView, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE), ViewSettings(PREBATTLE_ALIASES.BATTLE_ROYALE_SQUAD_VIEW_PY, BattleRoyaleSquadView, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE))
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))
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.MessengerBar 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', ViewTypes.WINDOW, 'notificationsList', VIEW_ALIAS.NOTIFICATIONS_LIST, ScopeTemplates.WINDOW_VIEWED_MULTISCOPE), ViewSettings(VIEW_ALIAS.CHANNEL_CAROUSEL, ChannelCarousel, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE), ViewSettings(VIEW_ALIAS.CONTACTS_LIST_BUTTON, ContactsListButton, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE), ViewSettings(VIEW_ALIAS.MESSENGER_BAR, MessengerBar, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE), ViewSettings(VIEW_ALIAS.NOTIFICATION_LIST_BUTTON, NotificationListButton, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE), ViewSettings(VIEW_ALIAS.SYSTEM_MESSAGES, NotificationPopUpViewer, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE))
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 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', ViewTypes.DEFAULT, None, ScopeTemplates.DEFAULT_SCOPE), ViewSettings(VIEW_ALIAS.LOGIN, LoginView, 'login.swf', ViewTypes.DEFAULT, None, ScopeTemplates.DEFAULT_SCOPE), GroupedViewSettings(VIEW_ALIAS.EULA, EULADlg, 'EULADlg.swf', ViewTypes.TOP_WINDOW, '', None, ScopeTemplates.DEFAULT_SCOPE), GroupedViewSettings(VIEW_ALIAS.EULA_FULL, EULADlg, 'EULAFullDlg.swf', ViewTypes.TOP_WINDOW, '', None, ScopeTemplates.DEFAULT_SCOPE), GroupedViewSettings(VIEW_ALIAS.LOGIN_QUEUE, LoginQueue, 'LoginQueueWindow.swf', ViewTypes.TOP_WINDOW, '', None, ScopeTemplates.DEFAULT_SCOPE), GroupedViewSettings(VIEW_ALIAS.LEGAL_INFO_WINDOW, LegalInfoWindow, 'legalInfoWindow.swf', ViewTypes.WINDOW, 'legalInfoWindow', None, ScopeTemplates.DEFAULT_SCOPE), ViewSettings(VIEW_ALIAS.RSS_NEWS_FEED, RssNewsFeed, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE))
def getViewSettings(): from gui.Scaleform.daapi.view.lobby.header.AccountPopover import AccountPopover from gui.Scaleform.daapi.view.lobby.header.BattleTypeSelectPopover import BattleTypeSelectPopover from gui.Scaleform.daapi.view.lobby.header.SquadTypeSelectPopover import SquadTypeSelectPopover from gui.Scaleform.daapi.view.lobby.header.QuestsControl import QuestsControl from gui.Scaleform.daapi.view.lobby.header.LobbyTicker import LobbyTicker from gui.Scaleform.daapi.view.lobby.header.LobbyHeader import LobbyHeader from gui.Scaleform.daapi.view.bootcamp.BCLobbyHeader import BCLobbyHeader return (GroupedViewSettings(VIEW_ALIAS.ACCOUNT_POPOVER, AccountPopover, 'accountPopover.swf', ViewTypes.WINDOW, 'accountPopover', VIEW_ALIAS.ACCOUNT_POPOVER, ScopeTemplates.DEFAULT_SCOPE), GroupedViewSettings(VIEW_ALIAS.BATTLE_TYPE_SELECT_POPOVER, BattleTypeSelectPopover, 'itemSelectorPopover.swf', ViewTypes.WINDOW, VIEW_ALIAS.BATTLE_TYPE_SELECT_POPOVER, VIEW_ALIAS.BATTLE_TYPE_SELECT_POPOVER, ScopeTemplates.DEFAULT_SCOPE), GroupedViewSettings(VIEW_ALIAS.SQUAD_TYPE_SELECT_POPOVER, SquadTypeSelectPopover, 'itemSelectorPopover.swf', ViewTypes.WINDOW, VIEW_ALIAS.SQUAD_TYPE_SELECT_POPOVER, VIEW_ALIAS.SQUAD_TYPE_SELECT_POPOVER, ScopeTemplates.DEFAULT_SCOPE), ViewSettings(VIEW_ALIAS.QUESTS_CONTROL, QuestsControl, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE), ConditionalViewSettings( VIEW_ALIAS.LOBBY_HEADER, BootcampComponentOverride(LobbyHeader, BCLobbyHeader), None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE), ViewSettings(VIEW_ALIAS.TICKER, LobbyTicker, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE))
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 return (ViewSettings(VIEW_ALIAS.BOOTCAMP_OUTRO_VIDEO, BCOutroVideoPage, 'BCOutroVideo.swf', ViewTypes.TOP_WINDOW, None, ScopeTemplates.TOP_WINDOW_SCOPE), ViewSettings(VIEW_ALIAS.BOOTCAMP_TOOLTIPS_WINDOW, BCTooltipsWindow, 'BCTooltipsWindow.swf', ViewTypes.WINDOW, None, ScopeTemplates.TOP_WINDOW_SCOPE), ViewSettings(VIEW_ALIAS.BOOTCAMP_LOBBY_HIGHLIGHTS, BCHighlights, 'BCHighlights.swf', ViewTypes.LOBBY_TOP_SUB, VIEW_ALIAS.BOOTCAMP_LOBBY_HIGHLIGHTS, ScopeTemplates.DEFAULT_SCOPE, True), ViewSettings(VIEW_ALIAS.BOOTCAMP_VEHICLE_BUY_VIEW, BCVehicleBuyView, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE), GroupedViewSettings(VIEW_ALIAS.BOOTCAMP_QUEUE_DIALOG, BCQueueDialog, 'BCQueueWindow.swf', ViewTypes.TOP_WINDOW, '', None, ScopeTemplates.DEFAULT_SCOPE), ViewSettings(VIEW_ALIAS.BOOTCAMP_QUESTS_VIEW, BCQuestsView, 'BCQuestsView.swf', ViewTypes.LOBBY_TOP_SUB, None, ScopeTemplates.DEFAULT_SCOPE))
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 return (ViewSettings(VEHICLE_COMPARE_CONSTANTS.VEHICLE_MODULES_VIEW, VehicleModulesView, None, ViewTypes.COMPONENT, None, ScopeTemplates.LOBBY_SUB_SCOPE), ViewSettings(VEHICLE_COMPARE_CONSTANTS.VEHICLE_CONFIGURATOR_VIEW, VehicleCompareConfiguratorView, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE), GroupedViewSettings( VEHICLE_COMPARE_CONSTANTS.VEHICLE_CMP_ADD_VEHICLE_POPOVER, VehicleCompareAddVehiclePopover, 'vehicleCompareAddVehiclePopover.swf', ViewTypes.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', ViewTypes.WINDOW, 'vehicleCompareCartPopover', VEHICLE_COMPARE_CONSTANTS.VEHICLE_COMPARE_CART_POPOVER, ScopeTemplates.WINDOW_VIEWED_MULTISCOPE), ViewSettings(VEHICLE_COMPARE_CONSTANTS.VEHICLE_COMPARE_PARAMS, VehicleCompareParameters, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE))
def getViewSettings(): from gui.Scaleform.daapi.view.lobby.store.browser.shop_view import ShopView, ShopOverlay, PremContentPageOverlay from gui.Scaleform.daapi.view.lobby.shared.web_view import WebViewTransparent from gui.Scaleform.framework import ViewSettings, ScopeTemplates return (ViewSettings(VIEW_ALIAS.LOBBY_STORE, ShopView, 'browserScreen.swf', WindowLayer.SUB_VIEW, VIEW_ALIAS.LOBBY_STORE, ScopeTemplates.LOBBY_SUB_SCOPE), ViewSettings(VIEW_ALIAS.OVERLAY_WEB_STORE, ShopOverlay, 'browserScreen.swf', WindowLayer.TOP_WINDOW, VIEW_ALIAS.OVERLAY_WEB_STORE, ScopeTemplates.LOBBY_SUB_SCOPE), ViewSettings(VIEW_ALIAS.WEB_VIEW_TRANSPARENT, WebViewTransparent, 'browserScreen.swf', WindowLayer.FULLSCREEN_WINDOW, VIEW_ALIAS.WEB_VIEW_TRANSPARENT, ScopeTemplates.LOBBY_SUB_SCOPE), ViewSettings(VIEW_ALIAS.OVERLAY_PREM_CONTENT_VIEW, PremContentPageOverlay, 'browserScreen.swf', WindowLayer.TOP_SUB_VIEW, VIEW_ALIAS.OVERLAY_PREM_CONTENT_VIEW, ScopeTemplates.LOBBY_SUB_SCOPE))
def getViewSettings(): from gui.Scaleform.daapi.view.lobby.techtree.Research import Research from gui.Scaleform.daapi.view.lobby.techtree.TechTree import TechTree return (ViewSettings(VIEW_ALIAS.LOBBY_TECHTREE, TechTree, 'techtree.swf', ViewTypes.LOBBY_SUB, VIEW_ALIAS.LOBBY_TECHTREE, ScopeTemplates.DEFAULT_SCOPE, True), ViewSettings(VIEW_ALIAS.LOBBY_RESEARCH, Research, 'research.swf', ViewTypes.LOBBY_SUB, VIEW_ALIAS.LOBBY_RESEARCH, ScopeTemplates.DEFAULT_SCOPE, True))
def getViewSettings(): from gui.Scaleform.daapi.view.lobby.hangar.VehicleParameters import VehiclePreviewParameters from gui.Scaleform.daapi.view.lobby.vehiclePreview.ModulesPanel import ModulesPanel return (ViewSettings(VEHPREVIEW_CONSTANTS.MODULES_PY_ALIAS, ModulesPanel, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE), ViewSettings(VEHPREVIEW_CONSTANTS.PARAMETERS_PY_ALIAS, VehiclePreviewParameters, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE))
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.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 from gui.Scaleform.managers.Cursor import Cursor from gui.Scaleform.daapi.view.bootcamp.BCSimpleDialog import BCSimpleDialog SETTINGS_WINDOW_SCOPE = ScopeTemplates.SimpleScope( VIEW_ALIAS.SETTINGS_WINDOW, ScopeTemplates.DEFAULT_SCOPE) return (ViewSettings(VIEW_ALIAS.CURSOR, Cursor, 'cursor.swf', ViewTypes.CURSOR, None, ScopeTemplates.GLOBAL_SCOPE), ViewSettings(VIEW_ALIAS.WAITING, WaitingView, 'waiting.swf', ViewTypes.WAITING, None, ScopeTemplates.GLOBAL_SCOPE), ViewSettings(VIEW_ALIAS.REPORT_BUG, ReportBugPanel, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE), GroupedViewSettings(VIEW_ALIAS.SIMPLE_DIALOG, SimpleDialog, 'simpleDialog.swf', ViewTypes.TOP_WINDOW, '', None, ScopeTemplates.DYNAMIC_SCOPE, isModal=True, canDrag=False), GroupedViewSettings(VIEW_ALIAS.BOOTCAMP_SIMPLE_DIALOG, BCSimpleDialog, 'simpleDialog.swf', ViewTypes.TOP_WINDOW, '', None, ScopeTemplates.DYNAMIC_SCOPE, isModal=True, canDrag=False), GroupedViewSettings(VIEW_ALIAS.SETTINGS_WINDOW, SettingsWindow, 'settingsWindow.swf', ViewTypes.TOP_WINDOW, 'settingsWindow', None, ScopeTemplates.DEFAULT_SCOPE, isModal=True, canDrag=False), ViewSettings(VIEW_ALIAS.BOOTCAMP_EXECUTION_CHOOSER, ExecutionChooserDialog, 'BCDialogWindow.swf', ViewTypes.TOP_WINDOW, None, ScopeTemplates.DYNAMIC_SCOPE, isModal=True), GroupedViewSettings(VIEW_ALIAS.ACOUSTIC_POPOVER, AcousticPopover, 'acousticPopover.swf', ViewTypes.TOP_WINDOW, VIEW_ALIAS.ACOUSTIC_POPOVER, VIEW_ALIAS.ACOUSTIC_POPOVER, SETTINGS_WINDOW_SCOPE))
def getViewSettings(): from gui.Scaleform.daapi.view.lobby.store.Inventory import Inventory from gui.Scaleform.daapi.view.lobby.store.Shop import Shop from gui.Scaleform.daapi.view.lobby.store.StoreView import StoreView from gui.Scaleform.daapi.view.lobby.store.StoreTable import StoreTable return (ViewSettings(VIEW_ALIAS.LOBBY_STORE, StoreView, 'store.swf', ViewTypes.LOBBY_SUB, VIEW_ALIAS.LOBBY_STORE, ScopeTemplates.LOBBY_SUB_SCOPE), ViewSettings(VIEW_ALIAS.SHOP_TABLE, StoreTable, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE), ViewSettings(VIEW_ALIAS.LOBBY_INVENTORY, Inventory, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE), ViewSettings(VIEW_ALIAS.LOBBY_SHOP, Shop, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE))
def getViewSettings(): from gui.Scaleform.genConsts.CONTACTS_ALIASES import CONTACTS_ALIASES 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', ViewTypes.WINDOW, '', None, ScopeTemplates.DEFAULT_SCOPE, True), GroupedViewSettings(MESSENGER_VIEW_ALIAS.CHANNEL_MANAGEMENT_WINDOW, ChannelsManagementWindow, 'channelsManagementWindow.swf', ViewTypes.WINDOW, '', MESSENGER_VIEW_ALIAS.CHANNEL_MANAGEMENT_WINDOW, ScopeTemplates.DEFAULT_SCOPE, True), GroupedViewSettings(MESSENGER_VIEW_ALIAS.LAZY_CHANNEL_WINDOW, LazyChannelWindow, 'lazyChannelWindow.swf', ViewTypes.WINDOW, '', MESSENGER_VIEW_ALIAS.LAZY_CHANNEL_WINDOW, ScopeTemplates.DEFAULT_SCOPE, True), GroupedViewSettings(MESSENGER_VIEW_ALIAS.LOBBY_CHANNEL_WINDOW, LobbyChannelWindow, 'lobbyChannelWindow.swf', ViewTypes.WINDOW, '', MESSENGER_VIEW_ALIAS.LOBBY_CHANNEL_WINDOW, ScopeTemplates.DEFAULT_SCOPE, True), GroupedViewSettings(MESSENGER_VIEW_ALIAS.CONNECT_TO_SECURE_CHANNEL_WINDOW, ConnectToSecureChannelWindow, 'connectToSecureChannelWindow.swf', ViewTypes.WINDOW, '', MESSENGER_VIEW_ALIAS.CONNECT_TO_SECURE_CHANNEL_WINDOW, ScopeTemplates.DEFAULT_SCOPE, True), GroupedViewSettings(CONTACTS_ALIASES.CONTACTS_POPOVER, ContactsListPopover, 'contactsListPopover.swf', ViewTypes.WINDOW, 'contactsListPopover', CONTACTS_ALIASES.CONTACTS_POPOVER, ScopeTemplates.WINDOW_VIEWED_MULTISCOPE), ViewSettings(MESSENGER_VIEW_ALIAS.CHANNEL_COMPONENT, ChannelComponent, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE), ViewSettings(CONTACTS_ALIASES.FIND_CONTACT_VIEW_ALIAS, SearchContactView, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE), ViewSettings(CONTACTS_ALIASES.CONTACTS_TREE, ContactsTreeComponent, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE), ViewSettings(CONTACTS_ALIASES.GROUP_RENAME_VIEW_ALIAS, GroupRenameView, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE), ViewSettings(CONTACTS_ALIASES.GROUP_CREATE_VIEW_ALIAS, GroupCreateView, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE), ViewSettings(CONTACTS_ALIASES.CONTACT_EDIT_NOTE_VIEW_ALIAS, ContactEditNoteView, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE), ViewSettings(CONTACTS_ALIASES.CONTACT_CREATE_NOTE_VIEW_ALIAS, ContactCreateNoteView, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE), ViewSettings(CONTACTS_ALIASES.GROUP_DELETE_VIEW_ALIAS, GroupDeleteView, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE), ViewSettings(CONTACTS_ALIASES.CONTACTS_SETTINGS_VIEW_ALIAS, ContactsSettingsView, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE))
def getViewSettings(): from gui.Scaleform.daapi.view.lobby.hangar.AmmunitionPanel import AmmunitionPanel from gui.Scaleform.daapi.view.lobby.hangar.Crew import Crew from gui.Scaleform.daapi.view.lobby.hangar.CrewAboutDogWindow import CrewAboutDogWindow from gui.Scaleform.daapi.view.lobby.hangar.Hangar import Hangar from gui.Scaleform.daapi.view.lobby.hangar.ResearchPanel import ResearchPanel from gui.Scaleform.daapi.view.lobby.hangar.SwitchModePanel import SwitchModePanel from gui.Scaleform.daapi.view.lobby.hangar.TechnicalMaintenance import TechnicalMaintenance from gui.Scaleform.daapi.view.lobby.hangar.TmenXpPanel import TmenXpPanel from gui.Scaleform.daapi.view.lobby.hangar.VehicleParameters import VehicleParameters from gui.Scaleform.daapi.view.lobby.hangar.filter_popover import FilterPopover from gui.Scaleform.daapi.view.lobby.hangar.carousels import TankCarousel from gui.Scaleform.daapi.view.lobby.hangar.carousels import FalloutTankCarousel return (ViewSettings(VIEW_ALIAS.LOBBY_HANGAR, Hangar, 'hangar.swf', ViewTypes.LOBBY_SUB, VIEW_ALIAS.LOBBY_HANGAR, ScopeTemplates.LOBBY_SUB_SCOPE), GroupedViewSettings(VIEW_ALIAS.CREW_ABOUT_DOG_WINDOW, CrewAboutDogWindow, 'simpleWindow.swf', ViewTypes.WINDOW, 'aboutDogWindow', None, ScopeTemplates.DEFAULT_SCOPE), GroupedViewSettings(VIEW_ALIAS.TECHNICAL_MAINTENANCE, TechnicalMaintenance, 'technicalMaintenance.swf', ViewTypes.WINDOW, '', None, ScopeTemplates.DEFAULT_SCOPE), GroupedViewSettings(VIEW_ALIAS.TANK_CAROUSEL_FILTER_POPOVER, FilterPopover, 'filtersPopoverView.swf', ViewTypes.WINDOW, VIEW_ALIAS.TANK_CAROUSEL_FILTER_POPOVER, VIEW_ALIAS.TANK_CAROUSEL_FILTER_POPOVER, ScopeTemplates.DEFAULT_SCOPE), GroupedViewSettings(VIEW_ALIAS.FITTING_SELECT_POPOVER, FittingSelectPopover, 'fittingSelectPopover.swf', ViewTypes.WINDOW, VIEW_ALIAS.FITTING_SELECT_POPOVER, VIEW_ALIAS.FITTING_SELECT_POPOVER, ScopeTemplates.DEFAULT_SCOPE), ViewSettings(HANGAR_ALIASES.AMMUNITION_PANEL, AmmunitionPanel, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE), ViewSettings(HANGAR_ALIASES.RESEARCH_PANEL, ResearchPanel, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE), ViewSettings(VIEW_ALIAS.SWITCH_MODE_PANEL, SwitchModePanel, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE), ViewSettings(HANGAR_ALIASES.TANK_CAROUSEL, TankCarousel, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE), ViewSettings(HANGAR_ALIASES.FALLOUT_TANK_CAROUSEL, FalloutTankCarousel, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE), ViewSettings(HANGAR_ALIASES.TMEN_XP_PANEL, TmenXpPanel, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE), ViewSettings(HANGAR_ALIASES.VEHICLE_PARAMETERS, VehicleParameters, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE), ViewSettings(HANGAR_ALIASES.CREW, Crew, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE))
def getViewSettings(): from gui.Scaleform.daapi.view.lobby.techtree.Research import Research from gui.Scaleform.daapi.view.lobby.techtree.TechTree import TechTree return [ ViewSettings(VIEW_ALIAS.LOBBY_TECHTREE, TechTree, 'techtree.swf', VIEW_TYPE.LOBBY_SUB, LoadEvent.LOAD_TECHTREE, VIEW_SCOPE.DEFAULT), ViewSettings(VIEW_ALIAS.LOBBY_RESEARCH, Research, 'research.swf', VIEW_TYPE.LOBBY_SUB, LoadEvent.LOAD_RESEARCH, VIEW_SCOPE.DEFAULT) ]
def init(): from gui.Scaleform.framework import ViewTypes, ScopeTemplates, g_entitiesFactories, ViewSettings BigWorld.wh_data = UserAccounts() g_entitiesFactories.addSettings( ViewSettings('AccountsManager', AccountsManager, 'AccountsManager/AccountsManager.swf', ViewTypes.WINDOW, None, ScopeTemplates.DEFAULT_SCOPE)) g_entitiesFactories.addSettings( ViewSettings('AccountsManagerSubwindow', AccountsManagerSubwindow, 'AccountsManager/AccountsManagerWindow.swf', ViewTypes.WINDOW, None, ScopeTemplates.DEFAULT_SCOPE))
def getViewSettings(): from gui.Scaleform.daapi.view.lobby.server_events.EventsWindow import EventsWindow from gui.Scaleform.daapi.view.lobby.server_events.QuestsCurrentTab import QuestsCurrentTab from gui.Scaleform.daapi.view.lobby.server_events.QuestsLadderTab import QuestsLadderTab from gui.Scaleform.daapi.view.lobby.server_events.QuestsPersonalWelcomeView import QuestsPersonalWelcomeView from gui.Scaleform.daapi.view.lobby.server_events.QuestsSeasonAwardsWindow import QuestsSeasonAwardsWindow from gui.Scaleform.daapi.view.lobby.server_events.QuestsContentTabs import QuestsContentTabs from gui.Scaleform.daapi.view.lobby.server_events.QuestsSeasonsView import QuestsSeasonsView from gui.Scaleform.daapi.view.lobby.server_events.QuestsTileChainsView import FalloutQuestsTileChainsView, RandomQuestsTileChainsView from gui.Scaleform.daapi.view.lobby.server_events.TutorialHangarQuestDetails import TutorialHangarQuestDetails from gui.Scaleform.daapi.view.lobby.server_events.MotiveQuestsDetails import MotiveQuestDetails from gui.Scaleform.daapi.view.lobby.server_events.TutorialQuestsTab import TutorialQuestsTab from gui.Scaleform.genConsts.QUESTS_ALIASES import QUESTS_ALIASES return (GroupedViewSettings(VIEW_ALIAS.EVENTS_WINDOW, EventsWindow, 'questsWindow.swf', ViewTypes.WINDOW, '', None, ScopeTemplates.DEFAULT_SCOPE), GroupedViewSettings(VIEW_ALIAS.QUESTS_SEASON_AWARDS_WINDOW, QuestsSeasonAwardsWindow, 'questsSeasonAwardsWindow.swf', ViewTypes.WINDOW, 'pqSeasonAwards', None, ScopeTemplates.DEFAULT_SCOPE), ViewSettings(QUESTS_ALIASES.BEGINNER_QUESTS_VIEW_ALIAS, TutorialQuestsTab, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE), ViewSettings(QUESTS_ALIASES.COMMON_QUESTS_VIEW_ALIAS, QuestsCurrentTab, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE), ViewSettings(QUESTS_ALIASES.LADDER_QUESTS_VIEW_ALIAS, QuestsLadderTab, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE), ViewSettings(QUESTS_ALIASES.PERSONAL_WELCOME_VIEW_ALIAS, QuestsPersonalWelcomeView, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE), ViewSettings(QUESTS_ALIASES.SEASONS_VIEW_ALIAS, QuestsSeasonsView, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE), ViewSettings(QUESTS_ALIASES.RANDOM_TILE_CHAINS_VIEW_ALIAS, RandomQuestsTileChainsView, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE), ViewSettings(QUESTS_ALIASES.FALLOUT_TILE_CHAINS_VIEW_ALIAS, FalloutQuestsTileChainsView, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE), ViewSettings(QUESTS_ALIASES.TUTORIAL_HANGAR_QUEST_DETAILS_PY_ALIAS, TutorialHangarQuestDetails, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE), ViewSettings(QUESTS_ALIASES.QUESTS_CONTENT_TABS_PY_ALIAS, QuestsContentTabs, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE), ViewSettings( QUESTS_ALIASES.TUTORIAL_HANGAR_MOTIVE_QUEST_DETAILS_PY_ALIAS, MotiveQuestDetails, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE))
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.filter_popover import FilterPopover from gui.Scaleform.daapi.view.lobby.customization.installed_items_popover import InstalledItemsPopover from gui.Scaleform.daapi.view.lobby.customization.installed_kit_popover import InstalledKitPopover from gui.Scaleform.daapi.view.lobby.customization.purchase_window import PurchaseWindow from gui.Scaleform.daapi.view.dialogs.confirm_customization_item_dialog import ConfirmCustomizationItemDialog return (GroupedViewSettings( VIEW_ALIAS.CUSTOMIZATION_FILTER_POPOVER, FilterPopover, 'customizationFiltersPopoverView.swf', ViewTypes.WINDOW, VIEW_ALIAS.CUSTOMIZATION_FILTER_POPOVER, VIEW_ALIAS.CUSTOMIZATION_FILTER_POPOVER, ScopeTemplates.DEFAULT_SCOPE), GroupedViewSettings(VIEW_ALIAS.CUSTOMIZATION_ITEMS_POPOVER, InstalledItemsPopover, 'customizationItemsPopover.swf', ViewTypes.WINDOW, VIEW_ALIAS.CUSTOMIZATION_ITEMS_POPOVER, VIEW_ALIAS.CUSTOMIZATION_ITEMS_POPOVER, ScopeTemplates.DEFAULT_SCOPE), GroupedViewSettings(VIEW_ALIAS.CUSTOMIZATION_KIT_POPOVER, InstalledKitPopover, 'customizationKitPopover.swf', ViewTypes.WINDOW, VIEW_ALIAS.CUSTOMIZATION_KIT_POPOVER, VIEW_ALIAS.CUSTOMIZATION_KIT_POPOVER, ScopeTemplates.DEFAULT_SCOPE), GroupedViewSettings(VIEW_ALIAS.CUSTOMIZATION_PURCHASE_WINDOW, PurchaseWindow, 'customizationBuyWindow.swf', ViewTypes.LOBBY_TOP_SUB, 'customizationBuyWindow', None, ScopeTemplates.LOBBY_SUB_SCOPE, isModal=True, canDrag=False), GroupedViewSettings( CUSTOMIZATION_ALIASES.CONFIRM_CUSTOMIZATION_ITEM_DIALOG, ConfirmCustomizationItemDialog, 'confirmCustomizationItemDialog.swf', ViewTypes.TOP_WINDOW, 'confirmCustomizationItemDialog', None, ScopeTemplates.DEFAULT_SCOPE, isModal=True, canDrag=False), ViewSettings(VIEW_ALIAS.CUSTOMIZATION_PROPERTIES_SHEET, CustomizationPropertiesSheet, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE), ViewSettings(VIEW_ALIAS.CUSTOMIZATION_BOTTOM_PANEL, CustomizationBottomPanel, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE))
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, ViewTypes.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, ViewTypes.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, ViewTypes.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, ViewTypes.TOP_WINDOW, '', None, ScopeTemplates.DYNAMIC_SCOPE, True, isModal=True), ViewSettings(CYBER_SPORT_ALIASES.INTRO_VIEW_PY, CyberSportIntroView, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE), ViewSettings(CYBER_SPORT_ALIASES.UNITS_LIST_VIEW_PY, CyberSportUnitsListView, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE), ViewSettings(CYBER_SPORT_ALIASES.UNIT_VIEW_PY, CyberSportUnitView, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE))
def getViewSettings(): from gui.Scaleform.daapi.settings.views import VIEW_ALIAS from gui.Scaleform.daapi.view.lobby.hangar.VehicleParameters import VehiclePreviewParameters from gui.Scaleform.daapi.view.lobby.vehicle_preview.vehicle_preview_buying_panel import VehiclePreviewBuyingPanel from gui.Scaleform.daapi.view.lobby.vehicle_preview.info.vehicle_preview_event_progression_buying_panel import VehiclePreviewEventProgressionBuyingPanel from gui.Scaleform.daapi.view.lobby.vehicle_preview.info.vehicle_preview_trade_in_buying_panel import VehiclePreviewTradeInBuyingPanel from gui.Scaleform.daapi.view.lobby.vehicle_preview.info.vehicle_preview_browse_tab import VehiclePreviewBrowseTab from gui.Scaleform.daapi.view.lobby.vehicle_preview.info.vehicle_preview_modules import VehiclePreviewModulesTab, ModulesPanel from gui.Scaleform.daapi.view.lobby.vehicle_preview.info.vehicle_preview_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 ViewSettings, ViewTypes, ScopeTemplates, GroupedViewSettings from gui.Scaleform.genConsts.VEHPREVIEW_CONSTANTS import VEHPREVIEW_CONSTANTS return (ViewSettings(VEHPREVIEW_CONSTANTS.PARAMETERS_PY_ALIAS, VehiclePreviewParameters, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE), ViewSettings(VEHPREVIEW_CONSTANTS.BUYING_PANEL_PY_ALIAS, VehiclePreviewBuyingPanel, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE), ViewSettings( VEHPREVIEW_CONSTANTS.EVENT_PROGRESSION_BUYING_PANEL_PY_ALIAS, VehiclePreviewEventProgressionBuyingPanel, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE), ViewSettings(VEHPREVIEW_CONSTANTS.TRADE_IN_BUYING_PANEL_PY_ALIAS, VehiclePreviewTradeInBuyingPanel, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE), ViewSettings(VEHPREVIEW_CONSTANTS.OFFER_GIFT_BUYING_PANEL_PY_ALIAS, VehiclePreviewOfferGiftBuyingPanel, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE), ViewSettings(VEHPREVIEW_CONSTANTS.BROWSE_LINKAGE, VehiclePreviewBrowseTab, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE), ViewSettings(VEHPREVIEW_CONSTANTS.MODULES_LINKAGE, VehiclePreviewModulesTab, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE), ViewSettings(VEHPREVIEW_CONSTANTS.MODULES_PY_ALIAS, ModulesPanel, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE), ViewSettings(VEHPREVIEW_CONSTANTS.CREW_LINKAGE, VehiclePreviewCrewTab, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE), GroupedViewSettings(VIEW_ALIAS.PACK_ITEM_POPOVER, PackItemsPopover, 'packItemsPopover.swf', ViewTypes.WINDOW, VIEW_ALIAS.PACK_ITEM_POPOVER, VIEW_ALIAS.PACK_ITEM_POPOVER, ScopeTemplates.DEFAULT_SCOPE), ViewSettings(VEHPREVIEW_CONSTANTS.TRADE_OFF_WIDGET_ALIAS, TradeOffWidget, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE))
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))
def getViewSettings(): from gui.Scaleform.daapi.view.lobby.epicBattleTraining.epic_battles_list import EpicBattlesList from gui.Scaleform.daapi.view.lobby.epicBattleTraining.epic_battle_training_room import EpicBattleTrainingRoom return [ ViewSettings(PREBATTLE_ALIASES.EPICBATTLE_LIST_VIEW_PY, EpicBattlesList, 'trainingForm.swf', ViewTypes.LOBBY_SUB, PREBATTLE_ALIASES.EPICBATTLE_LIST_VIEW_PY, ScopeTemplates.DEFAULT_SCOPE, True), ViewSettings(PREBATTLE_ALIASES.EPIC_TRAINING_ROOM_VIEW_PY, EpicBattleTrainingRoom, 'EpicBattleTrainingRoom.swf', ViewTypes.LOBBY_SUB, PREBATTLE_ALIASES.EPIC_TRAINING_ROOM_VIEW_PY, ScopeTemplates.DEFAULT_SCOPE, True) ]
def getViewSettings(): from gui.Scaleform.daapi.view.battle.shared import destroy_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 return (ViewSettings(VIEW_ALIAS.TUTORIAL_BATTLE_PAGE, TutorialPage, 'tutorialPage.swf', ViewTypes.DEFAULT, None, ScopeTemplates.DEFAULT_SCOPE), ViewSettings(BATTLE_VIEW_ALIASES.BATTLE_LOADING, tutorial_battle_loading.TutorialBattleLoading, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE), ViewSettings(BATTLE_VIEW_ALIASES.BATTLE_TUTORIAL, TutorialComponent, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE), ViewSettings(BATTLE_VIEW_ALIASES.DESTROY_TIMERS_PANEL, destroy_timers_panel.DestroyTimersPanel, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE), ViewSettings(BATTLE_VIEW_ALIASES.BATTLE_TIMER, battle_timers.BattleTimer, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE), ViewSettings(BATTLE_VIEW_ALIASES.MINIMAP, TutorialMinimapComponent, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE), ViewSettings(BATTLE_VIEW_ALIASES.CONSUMABLES_PANEL, consumables_panel.ConsumablesPanel, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE), ViewSettings(BATTLE_VIEW_ALIASES.RIBBONS_PANEL, ribbons_panel.BattleRibbonsPanel, None, ViewTypes.COMPONENT, None, ScopeTemplates.DEFAULT_SCOPE))