コード例 #1
0
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))))
コード例 #2
0
def getTooltipBuilders():
    return (DataBuilder(
        TOOLTIPS_CONSTANTS.QUESTS_PREVIEW,
        TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI,
        quests.QuestsPreviewTooltipData(contexts.QuestsBoosterContext())),
            DataBuilder(
                TOOLTIPS_CONSTANTS.SHEDULE_QUEST,
                TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI,
                quests.ScheduleQuestTooltipData(contexts.QuestContext())),
            DataBuilder(
                TOOLTIPS_CONSTANTS.MISSION_VEHICLE,
                TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI,
                quests.MissionVehiclesConditionTooltipData(
                    contexts.QuestContext())),
            DataBuilder(
                TOOLTIPS_CONSTANTS.MISSION_VEHICLE_TYPE,
                TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI,
                quests.MissionVehiclesTypeTooltipData(
                    contexts.QuestContext())),
            DataBuilder(
                TOOLTIPS_CONSTANTS.ADDITIONAL_AWARDS,
                TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI,
                quests.AdditionalAwardTooltipData(contexts.QuestContext())),
            DataBuilder(
                TOOLTIPS_CONSTANTS.UNAVAILABLE_QUEST,
                TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI,
                quests.UnavailableQuestTooltipData(contexts.QuestContext())))
コード例 #3
0
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())))
コード例 #4
0
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())))
コード例 #5
0
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())))
コード例 #6
0
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))))
コード例 #7
0
def getTooltipBuilders():
    return (AdvancedDataBuilder(
        TOOLTIPS_CONSTANTS.INVENTORY_BATTLE_BOOSTER,
        TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI,
        battle_booster.BattleBoosterBlockTooltipData(
            contexts.InventoryBattleBoosterContext()),
        advanced.HangarBoosterAdvanced(
            contexts.InventoryBattleBoosterContext())),
            AdvancedDataBuilder(
                TOOLTIPS_CONSTANTS.BATTLE_BOOSTER,
                TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI,
                battle_booster.BattleBoosterBlockTooltipData(
                    contexts.HangarContext()),
                advanced.HangarBoosterAdvanced(contexts.HangarContext())),
            AdvancedDataBuilder(
                TOOLTIPS_CONSTANTS.SHOP_BATTLE_BOOSTER,
                TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI,
                battle_booster.BattleBoosterBlockTooltipData(
                    contexts.ShopBattleBoosterContext()),
                advanced.HangarBoosterAdvanced(
                    contexts.ShopBattleBoosterContext())),
            AdvancedDataBuilder(
                TOOLTIPS_CONSTANTS.BATTLE_BOOSTER_COMPARE,
                TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI,
                battle_booster.BattleBoosterBlockTooltipData(
                    contexts.VehCmpConfigurationContext()),
                advanced.HangarBoosterAdvanced(
                    contexts.VehCmpConfigurationContext())),
            DataBuilder(TOOLTIPS_CONSTANTS.BOOSTERS_BOOSTER_INFO,
                        TOOLTIPS_CONSTANTS.BOOSTERS_BOOSTER_INFO_UI,
                        boosters.BoosterTooltipData(
                            contexts.BoosterContext())),
            DataBuilder(
                TOOLTIPS_CONSTANTS.BOOSTERS_SHOP,
                TOOLTIPS_CONSTANTS.BOOSTERS_BOOSTER_INFO_UI,
                boosters.BoosterTooltipData(contexts.ShopBoosterContext())),
            DataBuilder(
                TOOLTIPS_CONSTANTS.BOOSTERS_QUESTS,
                TOOLTIPS_CONSTANTS.BOOSTERS_BOOSTER_INFO_UI,
                boosters.BoosterTooltipData(contexts.QuestsBoosterContext())))
コード例 #8
0
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))))
コード例 #9
0
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())))
コード例 #10
0
ファイル: tooltips.py プロジェクト: webiumsk/WOT-0.9.17-CT
 TOOLTIPS_CONSTANTS.BOOSTERS_BOOSTER_INFO: {
     'tooltip': TOOLTIPS_CONSTANTS.BOOSTERS_BOOSTER_INFO_UI,
     'method':
     boosters.BoosterTooltipData(contexts.BoosterContext()).buildToolTip,
     'complex': None
 },
 TOOLTIPS_CONSTANTS.BOOSTERS_SHOP: {
     'tooltip': TOOLTIPS_CONSTANTS.BOOSTERS_BOOSTER_INFO_UI,
     'method': boosters.BoosterTooltipData(
         contexts.ShopBoosterContext()).buildToolTip,
     'complex': None
 },
 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: {
コード例 #11
0
                             'complex': None},
 TOOLTIPS_CONSTANTS.FORT_DIVISION: {'tooltip': TOOLTIPS_CONSTANTS.FORT_DIVISION_UI,
                                    'method': common.FortDivisionTooltipData(contexts.HangarContext()).buildToolTip,
                                    'complex': None},
 TOOLTIPS_CONSTANTS.FORT_SORTIE: {'tooltip': TOOLTIPS_CONSTANTS.FORT_SORTIE_UI,
                                  'method': common.FortSortieTooltipData(contexts.HangarContext()).buildToolTip,
                                  'complex': None},
 TOOLTIPS_CONSTANTS.ENVIRONMENT: {'tooltip': TOOLTIPS_CONSTANTS.ENVIRONMENT_UI,
                                  'method': common.EnvironmentTooltipData(contexts.HangarContext()).buildToolTip,
                                  'complex': None},
 TOOLTIPS_CONSTANTS.SETTINGS_MINIMAP_CIRCLES: {'tooltip': TOOLTIPS_CONSTANTS.SETTINGS_MINIMAP_CIRCLES_UI,
                                               'method': common.SettingsMinimapCircles(contexts.SettingsMinimapContext(None)).buildToolTip,
                                               'complex': None},
 TOOLTIPS_CONSTANTS.SQUAD_RESTRICTIONS_INFO: {'tooltip': TOOLTIPS_CONSTANTS.SQUAD_RESTRICTIONS_INFO_UI,
                                              'method': common.SquadRestrictionsInfo(contexts.SquadRestrictionContext(None)).buildToolTip,
                                              'complex': None},
 TOOLTIPS_CONSTANTS.BOOSTERS_BOOSTER_INFO: {'tooltip': TOOLTIPS_CONSTANTS.BOOSTERS_BOOSTER_INFO_UI,
                                            'method': boosters.BoosterTooltipData(contexts.BoosterContext()).buildToolTip,
                                            'complex': None},
 TOOLTIPS_CONSTANTS.BOOSTERS_SHOP: {'tooltip': TOOLTIPS_CONSTANTS.BOOSTERS_BOOSTER_INFO_UI,
                                    'method': boosters.BoosterTooltipData(contexts.ShopBoosterContext()).buildToolTip,
                                    'complex': None},
 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},
 'default': {'tooltip': TOOLTIPS_CONSTANTS.COMPLEX_UI,
             'method': None,
             'complex': None}}
コード例 #12
0
                                  'method': common.EnvironmentTooltipData(contexts.HangarContext()).buildToolTip,
                                  'complex': None},
 TOOLTIPS_CONSTANTS.SETTINGS_MINIMAP_CIRCLES: {'tooltip': TOOLTIPS_CONSTANTS.SETTINGS_MINIMAP_CIRCLES_UI,
                                               'method': common.SettingsMinimapCircles(contexts.SettingsMinimapContext(None)).buildToolTip,
                                               'complex': None},
 TOOLTIPS_CONSTANTS.SQUAD_RESTRICTIONS_INFO: {'tooltip': TOOLTIPS_CONSTANTS.SQUAD_RESTRICTIONS_INFO_UI,
                                              'method': common.SquadRestrictionsInfo(contexts.SquadRestrictionContext(None)).buildToolTip,
                                              'complex': None},
 TOOLTIPS_CONSTANTS.BOOSTERS_BOOSTER_INFO: {'tooltip': TOOLTIPS_CONSTANTS.BOOSTERS_BOOSTER_INFO_UI,
                                            'method': boosters.BoosterTooltipData(contexts.BoosterContext()).buildToolTip,
                                            'complex': None},
 TOOLTIPS_CONSTANTS.BOOSTERS_SHOP: {'tooltip': TOOLTIPS_CONSTANTS.BOOSTERS_BOOSTER_INFO_UI,
                                    'method': boosters.BoosterTooltipData(contexts.ShopBoosterContext()).buildToolTip,
                                    'complex': None},
 TOOLTIPS_CONSTANTS.BOOSTERS_QUESTS: {'tooltip': TOOLTIPS_CONSTANTS.BOOSTERS_BOOSTER_INFO_UI,
                                      'method': boosters.BoosterTooltipData(contexts.QuestsBoosterContext()).buildToolTip,
                                      'complex': None},
 TOOLTIPS_CONSTANTS.QUESTS_PREVIEW: {'tooltip': TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI,
                                     'method': quests.QuestsPreviewTooltipData(contexts.QuestsBoosterContext()).buildToolTip,
                                     'complex': None},
 TOOLTIPS_CONSTANTS.PERSONAL_QUESTS_PREVIEW: {'tooltip': TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI,
                                              'method': quests.PersonalQuestsPreviewTooltipData(contexts.QuestsBoosterContext()).buildToolTip,
                                              'complex': None},
 TOOLTIPS_CONSTANTS.SHEDULE_QUEST: {'tooltip': TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI,
                                    'method': quests.ScheduleQuestTooltipData(contexts.QuestContext()).buildToolTip,
                                    'complex': None},
 TOOLTIPS_CONSTANTS.MISSION_VEHICLE: {'tooltip': TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI,
                                      'method': quests.MissionVehiclesConditionTooltipData(contexts.QuestContext()).buildToolTip,
                                      'complex': None},
 TOOLTIPS_CONSTANTS.MISSION_VEHICLE_TYPE: {'tooltip': TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI,
                                           'method': quests.MissionVehiclesTypeTooltipData(contexts.QuestContext()).buildToolTip,
コード例 #13
0
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, 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())))
コード例 #14
0
def getTooltipBuilders():
    return (AdvancedDataBuilder(TOOLTIPS_CONSTANTS.INVENTORY_BATTLE_BOOSTER,
                                TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI,
                                battle_booster.BattleBoosterBlockTooltipData(
                                    contexts.InventoryBattleBoosterContext()),
                                advanced.HangarBoosterAdvanced(
                                    contexts.InventoryBattleBoosterContext()),
                                condition=_advancedBlockCondition(
                                    contexts.InventoryBattleBoosterContext())),
            AdvancedDataBuilder(TOOLTIPS_CONSTANTS.AWARD_BATTLE_BOOSTER,
                                TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI,
                                battle_booster.BattleBoosterBlockTooltipData(
                                    contexts.AwardBattleBoosterContext()),
                                advanced.HangarBoosterAdvanced(
                                    contexts.AwardBattleBoosterContext()),
                                condition=_advancedBlockCondition(
                                    contexts.AwardBattleBoosterContext())),
            AdvancedDataBuilder(
                TOOLTIPS_CONSTANTS.EPIC_AWARD_BATTLE_BOOSTER,
                TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI,
                battle_booster.EpicBattleBoosterBlockTooltipData(
                    contexts.AwardBattleBoosterContext()),
                advanced.HangarBoosterAdvanced(
                    contexts.AwardBattleBoosterContext()),
                condition=_advancedBlockCondition(
                    contexts.AwardBattleBoosterContext())),
            AdvancedDataBuilder(TOOLTIPS_CONSTANTS.SHOP_BATTLE_BOOSTER,
                                TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI,
                                battle_booster.BattleBoosterBlockTooltipData(
                                    contexts.ShopBattleBoosterContext()),
                                advanced.HangarBoosterAdvanced(
                                    contexts.ShopBattleBoosterContext()),
                                condition=_advancedBlockCondition(
                                    contexts.ShopBattleBoosterContext())),
            AdvancedDataBuilder(
                TOOLTIPS_CONSTANTS.BATTLE_BOOSTER_BLOCK,
                TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI,
                battle_booster.BattleBoosterBlockTooltipData(
                    contexts.HangarContext()),
                advanced.HangarBoosterAdvanced(contexts.HangarContext()),
                condition=_advancedBlockCondition(contexts.HangarContext())),
            AdvancedDataBuilder(
                TOOLTIPS_CONSTANTS.NATION_CHANGE_BATTLE_BOOSTER,
                TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI,
                battle_booster.BattleBoosterBlockTooltipData(
                    contexts.NationChangeHangarContext()),
                advanced.HangarBoosterAdvanced(
                    contexts.NationChangeHangarContext()),
                condition=_advancedBlockCondition(
                    contexts.NationChangeHangarContext())),
            AdvancedDataBuilder(TOOLTIPS_CONSTANTS.DEFAULT_BATTLE_BOOSTER,
                                TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI,
                                battle_booster.BattleBoosterBlockTooltipData(
                                    contexts.BattleBoosterContext()),
                                advanced.HangarBoosterAdvanced(
                                    contexts.BattleBoosterContext()),
                                condition=_advancedBlockCondition(
                                    contexts.BattleBoosterContext())),
            AdvancedDataBuilder(TOOLTIPS_CONSTANTS.BATTLE_BOOSTER_COMPARE,
                                TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI,
                                battle_booster.BattleBoosterBlockTooltipData(
                                    contexts.VehCmpConfigurationContext()),
                                advanced.HangarBoosterAdvanced(
                                    contexts.VehCmpConfigurationContext()),
                                condition=_advancedBlockCondition(
                                    contexts.VehCmpConfigurationContext())),
            DataBuilder(
                TOOLTIPS_CONSTANTS.BOOSTERS_BOOSTER_INFO,
                TOOLTIPS_CONSTANTS.BOOSTERS_BOOSTER_INFO_UI,
                boosters.BoosterTooltipData(contexts.BoosterInfoContext())),
            DataBuilder(
                TOOLTIPS_CONSTANTS.CLAN_RESERVE_INFO,
                TOOLTIPS_CONSTANTS.BOOSTERS_BOOSTER_INFO_UI,
                boosters.BoosterTooltipData(contexts.ClanReserveContext())),
            DataBuilder(TOOLTIPS_CONSTANTS.BOOSTER,
                        TOOLTIPS_CONSTANTS.BOOSTERS_BOOSTER_INFO_UI,
                        boosters.BoosterTooltipData(
                            contexts.BoosterContext())),
            DataBuilder(
                TOOLTIPS_CONSTANTS.SHOP_BOOSTER,
                TOOLTIPS_CONSTANTS.BOOSTERS_BOOSTER_INFO_UI,
                boosters.BoosterTooltipData(contexts.ShopBoosterContext())),
            DataBuilder(
                TOOLTIPS_CONSTANTS.BOOSTERS_QUESTS,
                TOOLTIPS_CONSTANTS.BOOSTERS_BOOSTER_INFO_UI,
                boosters.BoosterTooltipData(contexts.QuestsBoosterContext())))
コード例 #15
0
def getTooltipBuilders():
    return (DataBuilder(TOOLTIPS_CONSTANTS.RANKED_BATTLES_RANK, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, RankedTooltipData(contexts.RankedRankContext())),
     DataBuilder(TOOLTIPS_CONSTANTS.RANKED_BATTLES_BONUS, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, BonusTooltipData(contexts.ToolTipContext(None))),
     DataBuilder(TOOLTIPS_CONSTANTS.RANKED_BATTLES_LEAGUE, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, LeagueTooltipData(contexts.ToolTipContext(None))),
     DataBuilder(TOOLTIPS_CONSTANTS.RANKED_BATTLES_EFFICIENCY, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, EfficiencyTooltipData(contexts.ToolTipContext(None))),
     DataBuilder(TOOLTIPS_CONSTANTS.RANKED_BATTLES_POSITION, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, PositionTooltipData(contexts.ToolTipContext(None))),
     DataBuilder(TOOLTIPS_CONSTANTS.RANKED_STEP, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, RankedStepTooltip(contexts.ToolTipContext(None))),
     DataBuilder(TOOLTIPS_CONSTANTS.RANKED_CALENDAR_DAY_INFO, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, RankedCalendarDayTooltip(contexts.ToolTipContext(None))),
     DataBuilder(TOOLTIPS_CONSTANTS.RANKED_CALENDAR_DAY_INFO_EXTENDED, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, RankedCalendarDayExtendedTooltip(contexts.ToolTipContext(None))),
     AdvancedDataBuilder(TOOLTIPS_CONSTANTS.RANKED_SELECTOR_INFO, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, RankedSelectorTooltip(contexts.ToolTipContext(None)), advanced.RankedAdvanced(contexts.ToolTipContext(None))),
     AdvancedDataBuilder(TOOLTIPS_CONSTANTS.RANKED_UNAVAILABLE_INFO, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, RankedUnavailableTooltip(contexts.ToolTipContext(None)), advanced.RankedAdvanced(contexts.ToolTipContext(None))),
     DataBuilder(TOOLTIPS_CONSTANTS.RANKED_DIVISION_INFO, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, RankedDivisionTooltip(contexts.ToolTipContext(None))),
     DataBuilder(TOOLTIPS_CONSTANTS.RANKED_BATTLES_YEAR_REWARD, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, RankedYearReward(contexts.ToolTipContext(None))),
     DataBuilder(TOOLTIPS_CONSTANTS.RANKED_QUESTS_PREVIEW, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, RankedQuestsPreviewTooltip(contexts.QuestsBoosterContext())),
     DataBuilder(TOOLTIPS_CONSTANTS.RANKED_BATTLES_SELECTABLE_REWARD, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, RankedSelectableRewardTooltip(contexts.ToolTipContext(None))))