def __init__(self, btnType, tooltipType, linkage): super(AdvancedHeaderMoneyAndXpBuilder, self).__init__( tooltipType, linkage, common.HeaderMoneyAndXpTooltipData(contexts.ToolTipContext(None)), advanced.MoneyAndXpAdvanced(contexts.ToolTipContext(None))) self.__btnType = btnType return
def getTooltipBuilders(): return (DataBuilder( TOOLTIPS_CONSTANTS.BATTLE_ROYALE_MODULES_HANGAR, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, BattleRoyaleModulesTooltip(_BattleRoyaleHangarVehInfoContext())), DataBuilder(TOOLTIPS_CONSTANTS.BATTLE_ROYALE_VEHICLE, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, VehicleTooltipData(contexts.InventoryContext())), DataBuilder( TOOLTIPS_CONSTANTS.BATTLE_ROYALE_BATTLE_PROGRESSION, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, BattleProgressionTooltipData(contexts.ToolTipContext(None))), DataBuilder(TOOLTIPS_CONSTANTS.BATTLE_ROYALE_EQUIPMENT, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, EquipmentsTooltipData(contexts.ToolTipContext(None))), DataBuilder( TOOLTIPS_CONSTANTS.BATTLE_ROYALE_PERF_SIMPLE, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, PerfAttentionSimpleTooltip(contexts.ToolTipContext(None))), DataBuilder( TOOLTIPS_CONSTANTS.BATTLE_ROYALE_PERF_ADVANCED, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, PerfAttentionAdvancedTooltip(contexts.ToolTipContext(None))), DataBuilder( TOOLTIPS_CONSTANTS.BATTLE_ROYALE_SELECTOR_INFO, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, EventProgressionSelectorTooltip( contexts.ToolTipContext(None))))
def getTooltipBuilders(): return (TooltipWindowBuilder( TOOLTIPS_CONSTANTS.ACCOUNT_COMPLETION, None, AccountCompletionTooltipData(contexts.ToolTipContext(None))), TooltipWindowBuilder( TOOLTIPS_CONSTANTS.DEMO_ACCOUNT_RENAME_PROCESSING, None, DemoAccountRenameProcessing(contexts.ToolTipContext(None))))
def getTooltipBuilders(): return (DataBuilder( TOOLTIPS_CONSTANTS.EPIC_SKILL_INFO, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, EpicSkillBaseTooltipData(contexts.QuestsBoosterContext())), DataBuilder(TOOLTIPS_CONSTANTS.EPIC_SKILL_SLOT_INFO, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, EpicSkillSlotTooltip(contexts.ToolTipContext(None))), DataBuilder( TOOLTIPS_CONSTANTS.EPIC_SKILL_SLOT_SETUP_INFO, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, EpicSkillSlotSetupInfoTooltip(contexts.ToolTipContext(None))), DataBuilder( TOOLTIPS_CONSTANTS.EPIC_QUESTS_PREVIEW, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, EpicBattleQuestsTooltipData(contexts.QuestsBoosterContext())), DataBuilder( TOOLTIPS_CONSTANTS.EPIC_BATTLE_COMPLETED_QUESTS_INFO, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, CompletedQuestsTooltipData(contexts.QuestsBoosterContext())), DataBuilder( TOOLTIPS_CONSTANTS.EPIC_BATTLE_SELECTOR_INFO, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, EpicBattleSelectorTooltip(contexts.ToolTipContext(None))), DataBuilder(TOOLTIPS_CONSTANTS.EPIC_BATTLE_WIDGET_INFO, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, EpicBattleWidgetTooltip( contexts.ToolTipContext(None))), DataBuilder( TOOLTIPS_CONSTANTS.EPIC_BATTLE_CALENDAR_INFO, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, EpicBattleCalendarTooltip(contexts.ToolTipContext(None))))
def getTooltipBuilders(): return (DefaultFormatBuilder( TOOLTIPS_CONSTANTS.SETTINGS_CONTROL, TOOLTIPS_CONSTANTS.COMPLEX_UI, common.SettingsControlTooltipData(contexts.HangarContext())), DataBuilder( TOOLTIPS_CONSTANTS.SETTINGS_BUTTON, TOOLTIPS_CONSTANTS.SETTINGS_BUTTON_UI, common.SettingsButtonTooltipData( contexts.HangarServerStatusContext())), DataBuilder( TOOLTIPS_CONSTANTS.SETTINGS_MINIMAP_CIRCLES, TOOLTIPS_CONSTANTS.SETTINGS_MINIMAP_CIRCLES_UI, common.SettingsMinimapCircles( contexts.SettingsMinimapContext(None))), DataBuilder( TOOLTIPS_CONSTANTS.SETTINGS_KEY_FOLLOW_ME, TOOLTIPS_CONSTANTS.SETTINGS_KEY_FOLLOW_ME_UI, common.SettingsKeyFollowMe(contexts.ToolTipContext(None))), DataBuilder( TOOLTIPS_CONSTANTS.SETTINGS_KEY_TURN_BACK, TOOLTIPS_CONSTANTS.SETTINGS_KEY_TURN_BACK_UI, common.SettingsKeyTurnBack(contexts.ToolTipContext(None))), DataBuilder( TOOLTIPS_CONSTANTS.SETTINGS_KEY_NEED_HELP, TOOLTIPS_CONSTANTS.SETTINGS_KEY_NEED_HELP_UI, common.SettingsKeyNeedHelp(contexts.ToolTipContext(None))), DataBuilder( TOOLTIPS_CONSTANTS.SETTINGS_KEY_RELOAD, TOOLTIPS_CONSTANTS.SETTINGS_KEY_RELOAD_UI, common.SettingsKeyReload(contexts.ToolTipContext(None))), DataBuilder( TOOLTIPS_CONSTANTS.SETTINGS_KEY_SWITCH_MODE, TOOLTIPS_CONSTANTS.SETTINGS_KEY_SWITCH_MODE_UI, common.SettingKeySwitchMode(contexts.ToolTipContext(None))))
def getTooltipBuilders(): return (DataBuilder( TOOLTIPS_CONSTANTS.EVENT_PROGRESSION_SELECTOR_INFO, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, EventProgressionSelectorTooltip(contexts.ToolTipContext(None))), DataBuilder( TOOLTIPS_CONSTANTS.EVENT_PROGRESSION_PROGRESS_INFO, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, EventProgressionWidgetTooltip(contexts.ToolTipContext(None))))
def getTooltipBuilders(): return (DataBuilder( TOOLTIPS_CONSTANTS.VEHICLE_COLLECTOR_INFO, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, vehicle_collector.VehicleCollectorTooltipData( contexts.ToolTipContext(None))), DefaultFormatBuilder( TOOLTIPS_CONSTANTS.VEHICLE_COLLECTOR_DISABLED, TOOLTIPS_CONSTANTS.COMPLEX_UI, vehicle_collector.VehicleCollectorDisabledTooltipData( contexts.ToolTipContext(None))))
def getTooltipBuilders(): return (DataBuilder( TOOLTIPS_CONSTANTS.BOOTCAMP_AWARD_MEDAL, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, bootcamp.StatsTooltipData(contexts.ToolTipContext(None))), DataBuilder( TOOLTIPS_CONSTANTS.BOOTCAMP_REWARD_PROGRESS, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, bootcamp.ProgressRewardTooltipData( contexts.ToolTipContext(None))), DataBuilder( TOOLTIPS_CONSTANTS.BOOTCAMP_LESSON_PROGRESS, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, bootcamp.ProgressLessonTooltipData( contexts.ToolTipContext(None))))
def __init__(self, btnType, tooltipType, linkage, hideActionBlock=False): super(HeaderMoneyAndXpBuilder, self).__init__( tooltipType, linkage, common.HeaderMoneyAndXpTooltipData(contexts.ToolTipContext(None))) self.__btnType = btnType self.__hideActionBlock = hideActionBlock return
def __init__(self, btnType, tooltipType, linkage, hideActionBlock=False): super(CurrencyTooltipBuilder, self).__init__( tooltipType, linkage, wgm_currency.WGMCurrencyTooltip(contexts.ToolTipContext(None))) self.__btnType = btnType self.__hideActionBlock = hideActionBlock return
def getTooltipBuilders(): return (DataBuilder(TOOLTIPS_CONSTANTS.MAPBOX_SELECTOR_INFO, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, MapboxSelectorTooltip(contexts.ToolTipContext(None))), DataBuilder(TOOLTIPS_CONSTANTS.MAPBOX_PROGRESSION_PREVIEW, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, MapboxProgressionTooltip(contexts.QuestContext())), DataBuilder( TOOLTIPS_CONSTANTS.SELECTABLE_CREWBOOK, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, SelectableCrewbookTooltipData(contexts.ToolTipContext(None))), DataBuilder( TOOLTIPS_CONSTANTS.RANDOM_CREWBOOK, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, RandomCrewBookTooltipDataBlock(contexts.ToolTipContext(None))), DataBuilder(TOOLTIPS_CONSTANTS.MAPBOX_CALENDAR, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, MapboxCalendarTooltip(contexts.ToolTipContext(None))))
def getTooltipBuilders(): return (DataBuilder( TOOLTIPS_CONSTANTS.TRADE_IN_INFO, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, trade_in.TradeInInfoTooltipData(contexts.ToolTipContext(None))), DataBuilder( TOOLTIPS_CONSTANTS.PERSONAL_TRADE_IN_INFO, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, personal_trade_in.PersonalTradeInInfoTooltipData( contexts.ToolTipContext(None))), DefaultFormatBuilder( TOOLTIPS_CONSTANTS.TRADE_IN_INFO_NOT_AVAILABLE, TOOLTIPS_CONSTANTS.COMPLEX_UI, trade_in.TradeInInfoNotAvailableData( contexts.ToolTipContext(None))), DefaultFormatBuilder( TOOLTIPS_CONSTANTS.TRADE_IN_STATE_NOT_AVAILABLE, TOOLTIPS_CONSTANTS.COMPLEX_UI, trade_in.TradeInStateNotAvailableData( contexts.ToolTipContext(None))))
def getTooltipBuilders(): return ( DataBuilder(TOOLTIPS_CONSTANTS.EPIC_SKILL_INFO, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, EpicSkillBaseTooltipData(contexts.QuestsBoosterContext())), AdvancedDataBuilder( TOOLTIPS_CONSTANTS.EPIC_SKILL_SLOT_INFO, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, EpicSkillSlotTooltip(contexts.ToolTipContext(None)), EpicSkillSlotTooltipAdvanced(contexts.HangarCardContext())), DataBuilder( TOOLTIPS_CONSTANTS.EPIC_SKILL_SLOT_SETUP_INFO, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, EpicSkillSlotSetupInfoTooltip(contexts.ToolTipContext(None))), DataBuilder( TOOLTIPS_CONSTANTS.EPIC_QUESTS_PREVIEW, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, EpicBattleQuestsTooltipData(contexts.QuestsBoosterContext())), DataBuilder( TOOLTIPS_CONSTANTS.EPIC_BATTLE_COMPLETED_QUESTS_INFO, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, CompletedQuestsTooltipData(contexts.QuestsBoosterContext())), DataBuilder(TOOLTIPS_CONSTANTS.EPIC_BATTLE_SELECTOR_INFO, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, EpicBattleSelectorTooltip(contexts.ToolTipContext(None))), DataBuilder(TOOLTIPS_CONSTANTS.EPIC_BATTLE_WIDGET_INFO, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, EpicBattleWidgetTooltip(contexts.ToolTipContext(None))), AdvancedDataBuilder( TOOLTIPS_CONSTANTS.EPIC_BATTLE_RECERTIFICATION_FORM_TOOLTIP, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, EpicBattleRecertificationFormTooltip(EpicBattleBlanksContext()), EpicBattleRecertificationFormTooltipAdvanced( EpicBattleBlanksContext())), DataBuilder(TOOLTIPS_CONSTANTS.EPIC_BATTLE_CALENDAR_INFO, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, EpicBattleCalendarTooltip(contexts.ToolTipContext(None))), DataBuilder( TOOLTIPS_CONSTANTS.EPIC_BATTLE_INSTRUCTION_TOOLTIP, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, EpicBattleInstructionTooltipData( EpicBattleTokenInstructionContext())))
def build(self, manager, formatType, advanced_, *args, **kwargs): data = complex_formatters.doFormatToolTip(args[0], formatType) linkage = self._linkage if self.supportAdvanced(*args): disableAnim = self._getDisableAnimFlag() linkage = args[0] item = self.advancedComplexTooltips[linkage] if advanced_: buildTooltipData = [item, linkage] data = advanced.ComplexAdvanced(contexts.ToolTipContext(None)).buildToolTip(buildTooltipData) if not disableAnim: self._setDisableAnimFlag() else: data = advanced.ComplexTooltip(contexts.ToolTipContext(None), disableAnim).buildToolTip(data) linkage = TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI if data: manager.show(data, linkage) else: _logger.debug('Complex tooltip %s can not be shown: %r', formatType, args) return
def getTooltipBuilders(): return (DataBuilder( TOOLTIPS_CONSTANTS.EVENT_QUESTS_PREVIEW, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, elen.ElenPreviewTooltipData(contexts.QuestsBoosterContext())), DataBuilder(TOOLTIPS_CONSTANTS.EVENT_BOARDS_BADGE, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, elen.BadgeTooltipData(contexts.ToolTipContext(None))), DataBuilder(TOOLTIPS_CONSTANTS.EVENT_BOARDS_BADGES_GROUP, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, elen.BabgesGroupTooltipData(contexts.QuestContext())))
def getTooltipBuilders(): return (DataBuilder( TOOLTIPS_CONSTANTS.EPIC_SKILL_INFO, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, epic_skills.EpicSkillExtendedTooltip(contexts.QuestsBoosterContext())), DataBuilder( TOOLTIPS_CONSTANTS.EPIC_SELECTOR_UNAVAILABLE_INFO, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, EpicMetaGameUnavailableTooltip(contexts.ToolTipContext(None))), DataBuilder( TOOLTIPS_CONSTANTS.EPIC_SELECTOR_INFO, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, EpicSelectorWarningTooltip(contexts.ToolTipContext(None))), DataBuilder( TOOLTIPS_CONSTANTS.EPIC_SKILL_SLOT_INFO, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, epic_skills.EpicSkillSlotTooltip( contexts.ToolTipContext(None))), DataBuilder( TOOLTIPS_CONSTANTS.EPIC_META_LEVEL_PROGRESS_INFO, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, EpicBattlesWidgetTooltip(contexts.ToolTipContext(None))))
def getTooltipBuilders(): return (AdvancedDataBuilder( TOOLTIPS_CONSTANTS.AWARD_DEMOUNT_KIT, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, demount_kits.DemountKitToolTipData(contexts.DemountKitContext()), advanced.DemountKitTooltipAdvanced(contexts.DemountKitContext())), DefaultFormatBuilder( TOOLTIPS_CONSTANTS.NOT_ENOUGH_MONEY, TOOLTIPS_CONSTANTS.COMPLEX_UI, demount_kits.NotEnoughMoneyTooltipData( contexts.ToolTipContext(None))), AlternativeGoldTooltipBuilder( TOOLTIPS_CONSTANTS.GOLD_ALTERNATIVE_STATS, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, demount_kits.GoldStatsToolTipData( contexts.ToolTipContext(None)), advanced.MoneyAndXpAdvanced(contexts.ToolTipContext(None))), AlternativeGoldTooltipBuilder( TOOLTIPS_CONSTANTS.GOLD_ALTERNATIVE_INFO, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, demount_kits.GoldToolTipData(contexts.ToolTipContext(None)), advanced.MoneyAndXpAdvanced(contexts.ToolTipContext(None))))
def getTooltipBuilders(): return (DataBuilder( TOOLTIPS_CONSTANTS.EPIC_SKILL_INFO, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, epic_skills.EpicSkillExtendedTooltip(contexts.QuestsBoosterContext())), DataBuilder( TOOLTIPS_CONSTANTS.EPIC_SKILL_SLOT_INFO, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, epic_skills.EpicSkillSlotTooltip( contexts.ToolTipContext(None))), DataBuilder( TOOLTIPS_CONSTANTS.EPIC_PRESTIGE_PROGRESS_BLOCK_INFO, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, EpicPrestigeProgressTooltip(contexts.ToolTipContext(None))), DataBuilder( TOOLTIPS_CONSTANTS.EPIC_QUESTS_PREVIEW, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, EventProgressionQuestsTooltipData( contexts.QuestsBoosterContext())), DataBuilder( TOOLTIPS_CONSTANTS.EVENT_PROGRESSION_COMPLETED_QUESTS_INFO, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, CompletedQuestsTooltipData(contexts.QuestsBoosterContext())))
def getTooltipBuilders(): return (DefaultFormatBuilder( TOOLTIPS_CONSTANTS.SETTINGS_CONTROL, TOOLTIPS_CONSTANTS.COMPLEX_UI, common.SettingsControlTooltipData(contexts.HangarContext())), DataBuilder( TOOLTIPS_CONSTANTS.SETTINGS_BUTTON, TOOLTIPS_CONSTANTS.SETTINGS_BUTTON_UI, common.SettingsButtonTooltipData( contexts.HangarServerStatusContext())), DataBuilder( TOOLTIPS_CONSTANTS.SETTINGS_MINIMAP_CIRCLES, TOOLTIPS_CONSTANTS.SETTINGS_MINIMAP_CIRCLES_UI, common.SettingsMinimapCircles( contexts.SettingsMinimapContext(None))), DataBuilder( TOOLTIPS_CONSTANTS.SETTINGS_KEY_SWITCH_MODE, TOOLTIPS_CONSTANTS.SETTINGS_KEY_SWITCH_MODE_UI, common.SettingKeySwitchMode(contexts.ToolTipContext(None))), DataBuilder( TOOLTIPS_CONSTANTS.SETTINGS_KEY_HIGHLIGHTLOCATION, TOOLTIPS_CONSTANTS.SETTINGS_KEY_HIGHLIGHTLOCATION_UI, common.SettingsKeyHighlightLocation( contexts.ToolTipContext(None))), DataBuilder( TOOLTIPS_CONSTANTS.SETTINGS_KEY_HIGHLIGHTTARGET, TOOLTIPS_CONSTANTS.SETTINGS_KEY_HIGHLIGHTTARGET_UI, common.SettingsKeyHighlightTarget( contexts.ToolTipContext(None))), DataBuilder( TOOLTIPS_CONSTANTS.SETTINGS_KEY_SHOWRADIALMENU, TOOLTIPS_CONSTANTS.SETTINGS_KEY_SHOWRADIALMENU_UI, common.SettingsKeyShowRadialMenu( contexts.ToolTipContext(None))), DataBuilder( TOOLTIPS_CONSTANTS.SETTINGS_KEY_CHARGE_FIRE, TOOLTIPS_CONSTANTS.SETTINGS_KEY_CHARGE_FIRE_UI, common.SettingsKeyChargeFire(contexts.ToolTipContext(None))))
def getTooltipBuilders(): return (DataBuilder( TOOLTIPS_CONSTANTS.BATTLE_ROYALE_MODULES_HANGAR, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, BattleRoyaleModulesTooltip(_BattleRoyaleHangarVehInfoContext())), DataBuilder( TOOLTIPS_CONSTANTS.BATTLE_ROYALE_BATTLE_PROGRESSION, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, BattleProgressionTooltipData(contexts.ToolTipContext(None))), DataBuilder(TOOLTIPS_CONSTANTS.BATTLE_ROYALE_EQUIPMENT, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, EquipmentsTooltipData(contexts.ToolTipContext(None))), DataBuilder( TOOLTIPS_CONSTANTS.BATTLE_ROYALE_PERF_SIMPLE, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, PerfAttentionSimpleTooltip(contexts.ToolTipContext(None))), DataBuilder( TOOLTIPS_CONSTANTS.BATTLE_ROYALE_PERF_ADVANCED, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, PerfAttentionAdvancedTooltip(contexts.ToolTipContext(None))), DataBuilder( TOOLTIPS_CONSTANTS.BATTLE_ROYALE_SELECTOR_INFO, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, BattleRoyaleSelectorTooltip(contexts.ToolTipContext(None))), DataBuilder( TOOLTIPS_CONSTANTS.BATTLE_ROYALE_WIDGET_INFO, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, BattleRoyaleWidgetTooltip(contexts.ToolTipContext(None))), DataBuilder( TOOLTIPS_CONSTANTS.BATTLE_ROYALE_COMPLETED_QUESTS_INFO, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, BattleRoyaleQuestsTooltip(contexts.QuestsBoosterContext())), TooltipWindowBuilder( TOOLTIPS_CONSTANTS.BATTLE_ROYALE_VEHICLE, None, VehiclePointsTooltipContentWindowData( brContexts.BattleRoyaleCarouselContext())), DataBuilder( TOOLTIPS_CONSTANTS.BATTLE_ROYALE_SELECTOR_CALENDAR_INFO, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, BattleRoyaleCalendarExtendedTooltip( contexts.ToolTipContext(None))), TooltipWindowBuilder( TOOLTIPS_CONSTANTS.BATTLE_ROYALE_PROXY_CURRENCY, None, BrCoinTooltipViewTooltipWindowData( contexts.ToolTipContext(None))))
def getTooltipBuilders(): return (DataBuilder( TOOLTIPS_CONSTANTS.PERSONAL_QUESTS_PREVIEW, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, personal_missions.PersonalMissionPreviewTooltipData( contexts.PersonalMissionContext())), DataBuilder( TOOLTIPS_CONSTANTS.PERSONAL_MISSIONS_TANKWOMAN, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, personal_missions.TankwomanTooltipData( contexts.PersonalMissionContext())), DataBuilder( TOOLTIPS_CONSTANTS.PERSONAL_MISSIONS_TANKMODULE, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, personal_missions.TankModuleTooltipData( contexts.PersonalMissionContext())), DataBuilder( TOOLTIPS_CONSTANTS.FREE_SHEET, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, personal_missions.FreeSheetTooltip( contexts.ToolTipContext(None))), DataBuilder( TOOLTIPS_CONSTANTS.FREE_SHEET_RETURN, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, personal_missions.FreeSheetReturnTooltip( contexts.ToolTipContext(None))), DataBuilder( TOOLTIPS_CONSTANTS.FREE_SHEET_NOT_ENOUGH, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, personal_missions.FreeSheetNotEnoughTooltip( contexts.ToolTipContext(None))), DataBuilder( TOOLTIPS_CONSTANTS.FREE_SHEET_USED, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, personal_missions.FreeSheetUsedTooltip( contexts.ToolTipContext(None))), DataBuilder( TOOLTIPS_CONSTANTS.BADGE, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, personal_missions.BadgeTooltipData( contexts.ToolTipContext(None))), DataBuilder( TOOLTIPS_CONSTANTS.OPERATION, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, personal_missions.OperationTooltipData( contexts.PersonalMissionOperationContext())), DataBuilder( TOOLTIPS_CONSTANTS.PERSONAL_MISSION_INFO, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, personal_missions.PersonalMissionInfoTooltipData( contexts.ToolTipContext(None))), DataBuilder( TOOLTIPS_CONSTANTS.PERSONAL_MISSIONS_MAP_REGION, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, personal_missions.PersonalMissionsMapRegionTooltipData( contexts.PersonalMissionContext())))
def build(self, manager, formatType, advanced_, *args, **kwargs): disableAnim = self._getDisableAnimFlag() linkage = args[0] supportAdvanced = self.supportAdvanced(self.tooltipType, linkage) if advanced_ and supportAdvanced: item = ADVANCED_COMPLEX_TOOLTIPS[linkage] data = advanced.ComplexAdvanced( contexts.ToolTipContext(None)).buildToolTip((item, linkage)) if not disableAnim: self._setDisableAnimFlag() else: data = self._provider.buildToolTip(*args) if supportAdvanced: self._provider.addAdvancedBlock(data, disableAnim) if data: manager.show(data, self._linkage) return self._provider
def __getCardWithTTCForVehicle(self, vehItemDict): result = {} items = [] context = contexts.ToolTipContext(None) statsConfig = context.getStatsConfiguration(vehItemDict['veh']) leftPadding = 20 rightPadding = 20 blockTopPadding = -4 leftRightPadding = formatters.packPadding(left=leftPadding, right=rightPadding) blockPadding = formatters.packPadding(left=leftPadding, right=rightPadding, top=blockTopPadding) valueWidth = 75 textGap = -2 items.append(formatters.packBuildUpBlockData(self.__getHeaderBlock(vehItemDict), padding=leftRightPadding)) items.append(formatters.packBuildUpBlockData(self._getPriceBlock(vehItemDict['veh'], statsConfig, valueWidth), gap=textGap, padding=blockPadding)) items.append(formatters.packBuildUpBlockData(self.__getCommonStatsBlock(vehItemDict['veh']), gap=textGap, padding=blockPadding)) result.update({'blocksData': items, 'marginAfterBlock': self._DEFAULT_MARGIN_AFTER_BLOCK, 'marginAfterSeparator': self._DEFAULT_MARGIN_AFTER_SEPARATOR, 'width': 600, 'highlightType': SLOT_HIGHLIGHT_TYPES.NO_HIGHLIGHT}) return result
def getTooltipBuilders(): return (DataBuilder( TOOLTIPS_CONSTANTS.BATTLE_OPT_DEVICE, TOOLTIPS_CONSTANTS.BATTLE_OPT_DEVICE_UI, battle_opt_devices.BattleOptDeviceTooltipData( contexts.ToolTipContext(None))), )
def getTooltipBuilders(): return ( DataBuilder( TOOLTIPS_CONSTANTS.EFFICIENCY_PARAM, TOOLTIPS_CONSTANTS.FINAL_STSTS_UI, common.EfficiencyTooltipData(contexts.FinalStatisticContext())), DataBuilder(TOOLTIPS_CONSTANTS.IGR_INFO, TOOLTIPS_CONSTANTS.IGR_INFO_UI, common.IgrTooltipData(contexts.HangarContext())), DataBuilder(TOOLTIPS_CONSTANTS.CONTACT, TOOLTIPS_CONSTANTS.CONTACT_UI, common.ContactTooltipData(contexts.ContactContext())), DataBuilder( TOOLTIPS_CONSTANTS.SORTIE_DIVISION, TOOLTIPS_CONSTANTS.SORTIE_DIVISION_UI, common.SortieDivisionTooltipData(contexts.FortificationContext())), DataBuilder(TOOLTIPS_CONSTANTS.MAP, TOOLTIPS_CONSTANTS.MAP_UI, common.MapTooltipData(contexts.HangarContext())), DataBuilder( TOOLTIPS_CONSTANTS.MAP_SMALL, TOOLTIPS_CONSTANTS.MAP_SMALL_UI, common.MapSmallTooltipData(contexts.FortificationContext())), DataBuilder(TOOLTIPS_CONSTANTS.CLAN_COMMON_INFO, TOOLTIPS_CONSTANTS.CLAN_COMMON_INFO_UI, common.ClanCommonInfoTooltipData( contexts.HangarContext())), DataBuilder(TOOLTIPS_CONSTANTS.REF_SYS_AWARDS, TOOLTIPS_CONSTANTS.REF_SYS_AWARDS_UI, common.ToolTipRefSysAwards(contexts.HangarContext())), DataBuilder(TOOLTIPS_CONSTANTS.REF_SYS_DESCRIPTION, TOOLTIPS_CONSTANTS.REF_SYS_DESCRIPTION_UI, common.ToolTipRefSysDescription(contexts.HangarContext())), DataBuilder(TOOLTIPS_CONSTANTS.REF_SYS_XP_MULTIPLIER, TOOLTIPS_CONSTANTS.REF_SYS_XP_MULTIPLIER_UI, common.ToolTipRefSysXPMultiplier( contexts.HangarContext())), DefaultFormatBuilder( TOOLTIPS_CONSTANTS.ACTION_PRICE, TOOLTIPS_CONSTANTS.COMPLEX_UI, common.ActionTooltipData(contexts.HangarContext())), DataBuilder( TOOLTIPS_CONSTANTS.QUESTS_VEHICLE_BONUSES, TOOLTIPS_CONSTANTS.COLUMN_FIELDS_UI, common.QuestVehiclesBonusTooltipData(contexts.QuestContext())), DataBuilder(TOOLTIPS_CONSTANTS.ENVIRONMENT, TOOLTIPS_CONSTANTS.ENVIRONMENT_UI, common.EnvironmentTooltipData(contexts.HangarContext())), DataBuilder( TOOLTIPS_CONSTANTS.SQUAD_RESTRICTIONS_INFO, TOOLTIPS_CONSTANTS.SQUAD_RESTRICTIONS_INFO_UI, common.SquadRestrictionsInfo( contexts.SquadRestrictionContext(None))), DataBuilder(TOOLTIPS_CONSTANTS.MISSIONS_TOKEN, TOOLTIPS_CONSTANTS.MISSIONS_TOKEN_UI, common.MissionsToken(contexts.QuestContext())), DataBuilder(TOOLTIPS_CONSTANTS.RESERVE_MODULE, TOOLTIPS_CONSTANTS.REF_SYS_RESERVES_UI, common.ReserveTooltipData(contexts.ReserveContext())), AdvancedHeaderMoneyAndXpBuilder(CURRENCIES_CONSTANTS.CRYSTAL, TOOLTIPS_CONSTANTS.CRYSTAL_INFO, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI), AdvancedHeaderMoneyAndXpBuilder(CURRENCIES_CONSTANTS.CREDITS, TOOLTIPS_CONSTANTS.CREDITS_INFO, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI), AdvancedHeaderMoneyAndXpBuilder(CURRENCIES_CONSTANTS.GOLD, TOOLTIPS_CONSTANTS.GOLD_INFO, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI), AdvancedHeaderMoneyAndXpBuilder(CURRENCIES_CONSTANTS.FREE_XP, TOOLTIPS_CONSTANTS.FREEXP_INFO, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI), DataBuilder(TOOLTIPS_CONSTANTS.VEHICLE_FILTER, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, VehicleFilterTooltip(contexts.TechCustomizationContext())), SimpleBuilder(TOOLTIPS_CONSTANTS.RSS_NEWS, TOOLTIPS_CONSTANTS.RSS_NEWS_UI), DataBuilder( TOOLTIPS_CONSTANTS.VEHICLE_ELITE_BONUS, TOOLTIPS_CONSTANTS.VEHICLE_INFO_UI, common.VehicleEliteBonusTooltipData( contexts.VehicleEliteBonusContext())), DataBuilder( TOOLTIPS_CONSTANTS.VEHICLE_HISTORICAL_REFERENCE, TOOLTIPS_CONSTANTS.VEHICLE_INFO_UI, common.VehicleHistoricalReferenceTooltipData( contexts.VehicleHistoricalReferenceContext())), AdvancedDataBuilder( TOOLTIPS_CONSTANTS.BATTLE_TRAINING, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, common.BattleTraining(contexts.ToolTipContext(None)), advanced.BattleTraining(contexts.ToolTipContext(None))))
def getTooltipBuilders(): return (DataBuilder(TOOLTIPS_CONSTANTS.FUN_RANDOM_CALENDAR_DAY, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, FunRandomCalendarDayTooltip(contexts.ToolTipContext(None))), DataBuilder(TOOLTIPS_CONSTANTS.FUN_RANDOM_QUESTS_PREVIEW, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, FunRandomQuestsPreviewTooltip(contexts.QuestsBoosterContext())))
TOOLTIPS_CONSTANTS.BOOSTERS_QUESTS: { 'tooltip': TOOLTIPS_CONSTANTS.BOOSTERS_BOOSTER_INFO_UI, 'method': boosters.BoosterTooltipData( contexts.QuestsBoosterContext()).buildToolTip, 'complex': None }, TOOLTIPS_CONSTANTS.VEHICLE_FILTER: { 'tooltip': TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, 'method': VehicleFilterTooltip(contexts.TechCustomizationContext()).buildToolTip, 'complex': None }, TOOLTIPS_CONSTANTS.SETTINGS_KEY_FOLLOW_ME: { 'tooltip': TOOLTIPS_CONSTANTS.SETTINGS_KEY_FOLLOW_ME_UI, 'method': common.SettingsKeyFollowMe(contexts.ToolTipContext(None)).buildToolTip, 'complex': None }, TOOLTIPS_CONSTANTS.SETTINGS_KEY_TURN_BACK: { 'tooltip': TOOLTIPS_CONSTANTS.SETTINGS_KEY_TURN_BACK_UI, 'method': common.SettingsKeyTurnBack(contexts.ToolTipContext(None)).buildToolTip, 'complex': None }, TOOLTIPS_CONSTANTS.SETTINGS_KEY_NEED_HELP: { 'tooltip': TOOLTIPS_CONSTANTS.SETTINGS_KEY_NEED_HELP_UI, 'method': common.SettingsKeyNeedHelp(contexts.ToolTipContext(None)).buildToolTip, 'complex': None }, TOOLTIPS_CONSTANTS.SETTINGS_KEY_RELOAD: {
def getTooltipBuilders(): return ( DataBuilder( TOOLTIPS_CONSTANTS.EFFICIENCY_PARAM, TOOLTIPS_CONSTANTS.FINAL_STSTS_UI, common.EfficiencyTooltipData(contexts.FinalStatisticContext())), DataBuilder(TOOLTIPS_CONSTANTS.IGR_INFO, TOOLTIPS_CONSTANTS.IGR_INFO_UI, common.IgrTooltipData(contexts.HangarContext())), DataBuilder(TOOLTIPS_CONSTANTS.CONTACT, TOOLTIPS_CONSTANTS.CONTACT_UI, common.ContactTooltipData(contexts.ContactContext())), DataBuilder( TOOLTIPS_CONSTANTS.SORTIE_DIVISION, TOOLTIPS_CONSTANTS.SORTIE_DIVISION_UI, common.SortieDivisionTooltipData(contexts.FortificationContext())), DataBuilder(TOOLTIPS_CONSTANTS.MAP, TOOLTIPS_CONSTANTS.MAP_UI, common.MapTooltipData(contexts.HangarContext())), DataBuilder( TOOLTIPS_CONSTANTS.MAP_SMALL, TOOLTIPS_CONSTANTS.MAP_SMALL_UI, common.MapSmallTooltipData(contexts.FortificationContext())), DataBuilder(TOOLTIPS_CONSTANTS.CLAN_COMMON_INFO, TOOLTIPS_CONSTANTS.CLAN_COMMON_INFO_UI, common.ClanCommonInfoTooltipData( contexts.HangarContext())), DefaultFormatBuilder( TOOLTIPS_CONSTANTS.ACTION_PRICE, TOOLTIPS_CONSTANTS.COMPLEX_UI, common.ActionTooltipData(contexts.HangarContext())), DefaultFormatBuilder( TOOLTIPS_CONSTANTS.ACTION_SLOT_PRICE, TOOLTIPS_CONSTANTS.COMPLEX_UI, common.ActionSlotTooltipData(contexts.HangarContext())), DefaultFormatBuilder( TOOLTIPS_CONSTANTS.PRICE_DISCOUNT, TOOLTIPS_CONSTANTS.COMPLEX_UI, common.PriceDiscountTooltipData(contexts.HangarContext())), DefaultFormatBuilder( TOOLTIPS_CONSTANTS.FRONTLINE_PRICE_DISCOUNT, TOOLTIPS_CONSTANTS.COMPLEX_UI, common.FrontlineDiscountTooltipData(contexts.HangarContext())), DefaultFormatBuilder( TOOLTIPS_CONSTANTS.ACTION_XP, TOOLTIPS_CONSTANTS.COMPLEX_UI, common.ActionXPTooltipData(contexts.HangarContext())), DataBuilder( TOOLTIPS_CONSTANTS.QUESTS_VEHICLE_BONUSES, TOOLTIPS_CONSTANTS.COLUMN_FIELDS_UI, common.QuestVehiclesBonusTooltipData(contexts.QuestContext())), DataBuilder(TOOLTIPS_CONSTANTS.ENVIRONMENT, TOOLTIPS_CONSTANTS.ENVIRONMENT_UI, common.EnvironmentTooltipData(contexts.HangarContext())), DataBuilder( TOOLTIPS_CONSTANTS.SQUAD_RESTRICTIONS_INFO, TOOLTIPS_CONSTANTS.SQUAD_RESTRICTIONS_INFO_UI, common.SquadRestrictionsInfo( contexts.SquadRestrictionContext(None))), DataBuilder(TOOLTIPS_CONSTANTS.MISSIONS_TOKEN, TOOLTIPS_CONSTANTS.MISSIONS_TOKEN_UI, common.MissionsToken(contexts.QuestContext())), DataBuilder(TOOLTIPS_CONSTANTS.RESERVE_MODULE, TOOLTIPS_CONSTANTS.REF_SYS_RESERVES_UI, common.ReserveTooltipData(contexts.ReserveContext())), AdvancedHeaderMoneyAndXpBuilder(CURRENCIES_CONSTANTS.CRYSTAL, TOOLTIPS_CONSTANTS.CRYSTAL_INFO, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI), AdvancedHeaderMoneyAndXpBuilder(CURRENCIES_CONSTANTS.EVENT_COIN, TOOLTIPS_CONSTANTS.EVENT_COIN_INFO, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI), AdvancedHeaderMoneyAndXpBuilder(CURRENCIES_CONSTANTS.CREDITS, TOOLTIPS_CONSTANTS.CREDITS_INFO, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI), AdvancedHeaderMoneyAndXpBuilder(CURRENCIES_CONSTANTS.GOLD, TOOLTIPS_CONSTANTS.GOLD_INFO, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI), AdvancedHeaderMoneyAndXpBuilder(CURRENCIES_CONSTANTS.FREE_XP, TOOLTIPS_CONSTANTS.FREEXP_INFO, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI), DataBuilder(TOOLTIPS_CONSTANTS.VEHICLE_FILTER, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, VehicleFilterTooltip(contexts.TechCustomizationContext())), DataBuilder( TOOLTIPS_CONSTANTS.VEHICLE_ELITE_BONUS, TOOLTIPS_CONSTANTS.VEHICLE_INFO_UI, common.VehicleEliteBonusTooltipData( contexts.VehicleEliteBonusContext())), DataBuilder( TOOLTIPS_CONSTANTS.VEHICLE_HISTORICAL_REFERENCE, TOOLTIPS_CONSTANTS.VEHICLE_INFO_UI, common.VehicleHistoricalReferenceTooltipData( contexts.VehicleHistoricalReferenceContext())), AdvancedDataBuilder( TOOLTIPS_CONSTANTS.BATTLE_TRAINING, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, common.BattleTraining(contexts.ToolTipContext(None)), advanced.BattleTraining(contexts.ToolTipContext(None))), TooltipWindowBuilder( TOOLTIPS_CONSTANTS.SQUAD_BONUS, None, common.SquadBonusTooltipWindowData(contexts.ToolTipContext(None))), TooltipWindowBuilder( TOOLTIPS_CONSTANTS.BATTLE_PASS_VEHICLE_POINTS, None, common.VehiclePointsTooltipContentWindowData( contexts.ToolTipContext(None))), TooltipWindowBuilder( TOOLTIPS_CONSTANTS.BATTLE_PASS_IN_PROGRESS, None, common.BattlePassInProgressTooltipContentWindowData( contexts.ToolTipContext(None))), TooltipWindowBuilder( TOOLTIPS_CONSTANTS.BATTLE_PASS_COMPLETED, None, common.BattlePassCompletedTooltipContentWindowData( contexts.ToolTipContext(None))), TooltipWindowBuilder( TOOLTIPS_CONSTANTS.BATTLE_PASS_CHOSE_WINNER, None, common.BattlePassChoseWinnerTooltipContentWindowData( contexts.ToolTipContext(None))), DataBuilder( TOOLTIPS_CONSTANTS.TECHTREE_DISCOUNT_INFO, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, common.TechTreeDiscountInfoTooltip(contexts.QuestContext())), DataBuilder( TOOLTIPS_CONSTANTS.TECHTREE_NATION_DISCOUNT, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, common.TechTreeNationDiscountTooltip(contexts.TechTreeContext())))
def __init__(self, btnType, tooltipType, linkage): super(CurrencyTooltipBuilder, self).__init__( tooltipType, linkage, wgm_currency.WGMCurrencyTooltip(contexts.ToolTipContext(None))) self.__btnType = btnType return
def getTooltipBuilders(): return ( InventoryModuleBuilder(TOOLTIPS_CONSTANTS.INVENTORY_MODULE, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI), ShopModuleBuilder(TOOLTIPS_CONSTANTS.DEFAULT_MODULE, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI), TechTreeModuleBuilder(TOOLTIPS_CONSTANTS.TECHTREE_MODULE, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI), ModuleDataBuilder(TOOLTIPS_CONSTANTS.TECH_MAIN_MODULE, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI), AdvancedDataBuilder( TOOLTIPS_CONSTANTS.HANGAR_MODULE, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, module.ModuleBlockTooltipData(contexts.HangarContext()), advanced.HangarModuleAdvanced(contexts.HangarContext()), condition=_advancedBlockCondition(contexts.HangarContext())), AdvancedDataBuilder( TOOLTIPS_CONSTANTS.HANGAR_CARD_MODULE, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, module.ModuleBlockTooltipData(contexts.HangarCardContext()), advanced.HangarModuleAdvanced(contexts.HangarCardContext()), condition=_advancedBlockCondition(contexts.HangarCardContext())), AdvancedDataBuilder( TOOLTIPS_CONSTANTS.HANGAR_SLOT_MODULE, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, module.ModuleBlockTooltipData(contexts.HangarSlotContext()), advanced.HangarModuleAdvanced(contexts.HangarSlotContext()), condition=_advancedBlockCondition(contexts.HangarSlotContext())), DataBuilder( TOOLTIPS_CONSTANTS.HANGAR_SLOT_SPEC, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, module.AmmunitionSlotSpecTooltipData( contexts.ToolTipContext(TOOLTIP_COMPONENT.HANGAR))), AdvancedComplexBuilder( TOOLTIPS_CONSTANTS.OPT_DEVICE_EMPTY_SLOT, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, module.OptDeviceEmptyBlockTooltipData( contexts.EmptyOptDeviceSlotContext(TOOLTIP_COMPONENT.HANGAR))), AdvancedComplexBuilder( TOOLTIPS_CONSTANTS.AMMUNITION_EMPTY_SLOT, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, module.AmmunitionEmptyBlockTooltipData( contexts.ToolTipContext(TOOLTIP_COMPONENT.HANGAR))), AdvancedDataBuilder(TOOLTIPS_CONSTANTS.NATION_CHANGE_HANGAR_MODULE, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, module.ModuleBlockTooltipData( contexts.NationChangeHangarContext()), advanced.HangarModuleAdvanced( contexts.NationChangeHangarContext()), condition=_advancedBlockCondition( contexts.NationChangeHangarContext())), AdvancedDataBuilder(TOOLTIPS_CONSTANTS.COMPARE_MODULE, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, module.ModuleBlockTooltipData( contexts.VehCmpConfigurationContext()), advanced.HangarModuleAdvanced( contexts.VehCmpConfigurationContext()), condition=_advancedBlockCondition( contexts.VehCmpConfigurationContext())), AdvancedDataBuilder(TOOLTIPS_CONSTANTS.COMPARE_SLOT_MODULE, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, module.ModuleBlockTooltipData( contexts.VehCmpConfigurationSlotContext()), advanced.HangarModuleAdvanced( contexts.VehCmpConfigurationSlotContext()), condition=_advancedBlockCondition( contexts.VehCmpConfigurationSlotContext())), DataBuilder( TOOLTIPS_CONSTANTS.VEH_COMPARE_TECHTREE_MODULE, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, module.ModuleBlockTooltipData(contexts.VehCmpModulesContext())), AdvancedDataBuilder( TOOLTIPS_CONSTANTS.PREVIEW_MODULE, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, module.ModuleBlockTooltipData(contexts.PreviewContext()), advanced.HangarModuleAdvanced(contexts.PreviewContext()), condition=_advancedBlockCondition(contexts.PreviewContext())), AdvancedDataBuilder( TOOLTIPS_CONSTANTS.AWARD_MODULE, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, module.ModuleBlockTooltipData(contexts.AwardContext()), advanced.HangarModuleAdvanced(contexts.AwardContext()), condition=_advancedBlockCondition(contexts.AwardContext())), AdvancedDataBuilder( TOOLTIPS_CONSTANTS.SHOP_MODULE, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, module.ModuleBlockTooltipData(contexts.ShopContext()), advanced.HangarModuleAdvanced(contexts.ShopContext()), condition=_advancedBlockCondition(contexts.ShopContext())), ShellBuilder(TOOLTIPS_CONSTANTS.SHOP_SHELL, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, shell.ShellBlockToolTipData(contexts.ShopContext())), AdvancedShellBuilder( TOOLTIPS_CONSTANTS.DEFAULT_SHELL, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, shell.ShellBlockToolTipData(contexts.DefaultContext()), advanced.HangarShellAdvanced(contexts.DefaultContext()), condition=_shellAdvancedBlockCondition(contexts.DefaultContext())), ShellBuilder(TOOLTIPS_CONSTANTS.AWARD_SHELL, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, shell.ShellBlockToolTipData(contexts.AwardContext())), AdvancedDataBuilder( TOOLTIPS_CONSTANTS.HANGAR_SHELL, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, shell.ShellBlockToolTipData(contexts.HangarContext()), advanced.HangarShellAdvanced(contexts.HangarContext()), condition=_shellAdvancedBlockCondition(contexts.HangarContext())), AdvancedDataBuilder( TOOLTIPS_CONSTANTS.NATION_CHANGE_HANGAR_SHELL, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, shell.ShellBlockToolTipData(contexts.NationChangeHangarContext()), advanced.HangarShellAdvanced(contexts.NationChangeHangarContext()), condition=_nationChangeShellAdvancedBlockCondition( contexts.NationChangeHangarContext())), AdvancedShellBuilder(TOOLTIPS_CONSTANTS.COMPARE_SHELL, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, shell.ShellBlockToolTipData( contexts.VehCmpConfigurationContext()), advanced.HangarShellAdvanced( contexts.VehCmpConfigurationContext()), condition=_shellAdvancedBlockCondition( contexts.VehCmpConfigurationContext())), AdvancedShellBuilder( TOOLTIPS_CONSTANTS.INVENTORY_SHELL, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, shell.ShellBlockToolTipData(contexts.InventoryContext()), advanced.HangarShellAdvanced(contexts.TechMainContext()), condition=_shellAdvancedBlockCondition( contexts.TechMainContext())), AdvancedShellBuilder( TOOLTIPS_CONSTANTS.TECH_MAIN_SHELL, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, shell.ShellBlockToolTipData(contexts.TechMainContext()), advanced.HangarShellAdvanced(contexts.TechMainContext()), condition=_shellAdvancedBlockCondition( contexts.TechMainContext())))