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())))
예제 #2
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())))
예제 #3
0
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.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))))
예제 #5
0
     None
 },
 TOOLTIPS_CONSTANTS.PRIVATE_QUESTS_FEMALE_TANKMAN_AWARD: {
     'tooltip': TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI,
     'method': potapovquests.FemaleTankmanAwardTooltipData().buildToolTip,
     'complex': None
 },
 TOOLTIPS_CONSTANTS.PRIVATE_QUESTS_TOKENS_AWARD: {
     'tooltip': TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI,
     'method': potapovquests.TokensAwardTooltipData().buildToolTip,
     'complex': None
 },
 TOOLTIPS_CONSTANTS.QUESTS_VEHICLE_BONUSES: {
     'tooltip': TOOLTIPS_CONSTANTS.COLUMN_FIELDS_UI,
     'method': common.QuestVehiclesBonusTooltipData(
         contexts.QuestContext()).buildToolTip,
     'complex': None
 },
 TOOLTIPS_CONSTANTS.MAP_SMALL: {
     'tooltip': TOOLTIPS_CONSTANTS.MAP_SMALL_UI,
     'method': common.MapSmallTooltipData(
         contexts.FortificationContext()).buildToolTip,
     'complex': None
 },
 TOOLTIPS_CONSTANTS.FORT_CONSUMABLE_ORDER: {
     'tooltip':
     TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI,
     'method':
     fortifications.FortConsumableOrderTooltipData(
         contexts.FortOrderContext()).buildToolTip,
     'complex':
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())))
예제 #7
0
                                          'method': potapovquests.PrivateQuestsTileTooltipData(contexts.PotapovQuestsTileContext()).buildToolTip,
                                          'complex': None},
 TOOLTIPS_CONSTANTS.PRIVATE_QUESTS_FALLOUT_TILE: {'tooltip': TOOLTIPS_CONSTANTS.PRIVATE_QUESTS_UI,
                                                  'method': potapovquests.PrivateQuestsFalloutTileTooltipData(contexts.PotapovQuestsTileContext()).buildToolTip,
                                                  'complex': None},
 TOOLTIPS_CONSTANTS.PRIVATE_QUESTS_CHAIN: {'tooltip': TOOLTIPS_CONSTANTS.PRIVATE_QUESTS_UI,
                                           'method': potapovquests.PrivateQuestsChainTooltipData(contexts.PotapovQuestsChainContext()).buildToolTip,
                                           'complex': None},
 TOOLTIPS_CONSTANTS.PRIVATE_QUESTS_FEMALE_TANKMAN_AWARD: {'tooltip': TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI,
                                                          'method': potapovquests.FemaleTankmanAwardTooltipData().buildToolTip,
                                                          'complex': None},
 TOOLTIPS_CONSTANTS.PRIVATE_QUESTS_TOKENS_AWARD: {'tooltip': TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI,
                                                  'method': potapovquests.TokensAwardTooltipData().buildToolTip,
                                                  'complex': None},
 TOOLTIPS_CONSTANTS.QUESTS_VEHICLE_BONUSES: {'tooltip': TOOLTIPS_CONSTANTS.COLUMN_FIELDS_UI,
                                             'method': common.QuestVehiclesBonusTooltipData(contexts.QuestContext()).buildToolTip,
                                             'complex': None},
 TOOLTIPS_CONSTANTS.MAP_SMALL: {'tooltip': TOOLTIPS_CONSTANTS.MAP_SMALL_UI,
                                'method': common.MapSmallTooltipData(contexts.FortificationContext()).buildToolTip,
                                'complex': None},
 TOOLTIPS_CONSTANTS.FORT_CONSUMABLE_ORDER: {'tooltip': TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI,
                                            'method': fortifications.FortConsumableOrderTooltipData(contexts.FortOrderContext()).buildToolTip,
                                            'complex': None},
 TOOLTIPS_CONSTANTS.BATTLE_CONSUMABLE: {'tooltip': TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI,
                                        'method': battle_consumable.BattleConsumableTooltipData(contexts.BattleConsumableContext()).buildToolTip,
                                        'complex': None},
 TOOLTIPS_CONSTANTS.LADDER: {'tooltip': TOOLTIPS_CONSTANTS.LADDER_UI,
                             'method': common.LadderTooltipData(contexts.CyberSportUnitContext()).buildToolTip,
                             'complex': None},
 TOOLTIPS_CONSTANTS.FORT_DIVISION: {'tooltip': TOOLTIPS_CONSTANTS.FORT_DIVISION_UI,
                                    'method': common.FortDivisionTooltipData(contexts.HangarContext()).buildToolTip,
예제 #8
0
def getTooltipBuilders():
    return (DataBuilder(
        TOOLTIPS_CONSTANTS.MARATHON_QUESTS_PREVIEW,
        TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI,
        marathon.MarathonEventTooltipData(contexts.QuestContext())), )
예제 #9
0
                                          'method': potapovquests.PrivateQuestsTileTooltipData(contexts.PotapovQuestsTileContext()).buildToolTip,
                                          'complex': None},
 TOOLTIPS_CONSTANTS.PRIVATE_QUESTS_FALLOUT_TILE: {'tooltip': TOOLTIPS_CONSTANTS.PRIVATE_QUESTS_UI,
                                                  'method': potapovquests.PrivateQuestsFalloutTileTooltipData(contexts.PotapovQuestsTileContext()).buildToolTip,
                                                  'complex': None},
 TOOLTIPS_CONSTANTS.PRIVATE_QUESTS_CHAIN: {'tooltip': TOOLTIPS_CONSTANTS.PRIVATE_QUESTS_UI,
                                           'method': potapovquests.PrivateQuestsChainTooltipData(contexts.PotapovQuestsChainContext()).buildToolTip,
                                           'complex': None},
 TOOLTIPS_CONSTANTS.PRIVATE_QUESTS_FEMALE_TANKMAN_AWARD: {'tooltip': TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI,
                                                          'method': potapovquests.FemaleTankmanAwardTooltipData().buildToolTip,
                                                          'complex': None},
 TOOLTIPS_CONSTANTS.PRIVATE_QUESTS_TOKENS_AWARD: {'tooltip': TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI,
                                                  'method': potapovquests.TokensAwardTooltipData().buildToolTip,
                                                  'complex': None},
 TOOLTIPS_CONSTANTS.QUESTS_VEHICLE_BONUSES: {'tooltip': TOOLTIPS_CONSTANTS.COLUMN_FIELDS_UI,
                                             'method': common.QuestVehiclesBonusTooltipData(contexts.QuestContext()).buildToolTip,
                                             'complex': None},
 TOOLTIPS_CONSTANTS.MAP_SMALL: {'tooltip': TOOLTIPS_CONSTANTS.MAP_SMALL_UI,
                                'method': common.MapSmallTooltipData(contexts.FortificationContext()).buildToolTip,
                                'complex': None},
 TOOLTIPS_CONSTANTS.BATTLE_CONSUMABLE: {'tooltip': TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI,
                                        'method': battle_consumable.BattleConsumableTooltipData(contexts.BattleConsumableContext()).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,
예제 #10
0
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.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.BPCOIN,
                                        TOOLTIPS_CONSTANTS.BPCOIN_INFO,
                                        TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI),
        AdvancedHeaderMoneyAndXpBuilder(CURRENCIES_CONSTANTS.FREE_XP,
                                        TOOLTIPS_CONSTANTS.FREEXP_INFO,
                                        TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI),
        AdvancedHeaderMoneyAndXpBuilder(
            CURRENCIES_CONSTANTS.GOLD,
            TOOLTIPS_CONSTANTS.GOLD_INFO_FULL_SCREEN,
            TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, True),
        AdvancedHeaderMoneyAndXpBuilder(
            CURRENCIES_CONSTANTS.CREDITS,
            TOOLTIPS_CONSTANTS.CREDITS_INFO_FULL_SCREEN,
            TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, True),
        AdvancedHeaderMoneyAndXpBuilder(
            CURRENCIES_CONSTANTS.CRYSTAL,
            TOOLTIPS_CONSTANTS.CRYSTAL_INFO_FULL_SCREEN,
            TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, True),
        AdvancedHeaderMoneyAndXpBuilder(
            CURRENCIES_CONSTANTS.FREE_XP,
            TOOLTIPS_CONSTANTS.FREEXP_INFO_FULL_SCREEN,
            TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, True),
        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.NY_CREDIT_BONUS, None,
            common.NYCreditBonusTooltipWindowData(
                contexts.ToolTipContext(None))),
        TooltipWindowBuilder(
            TOOLTIPS_CONSTANTS.NY_VEHICLE_BONUS, None,
            common.NYVehicleBonusTooltipWindowData(
                contexts.ToolTipContext(None))),
        TooltipWindowBuilder(
            TOOLTIPS_CONSTANTS.NY_AMMUNITION_BONUSES, None,
            common.NYAmmunitionVehicleBonusTooltipWindowData(
                contexts.ToolTipContext(None))),
        DataBuilder(TOOLTIPS_CONSTANTS.NY_GIFT_STAMPS,
                    TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI,
                    common.NYGiftStamps(contexts.ToolTipContext(None))),
        DataBuilder(TOOLTIPS_CONSTANTS.NY_FILLERS,
                    TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI,
                    common.NewYearFillers(contexts.ToolTipContext(None))),
        TooltipWindowBuilder(
            TOOLTIPS_CONSTANTS.BATTLE_PASS_VEHICLE_POINTS, None,
            common.VehiclePointsTooltipContentWindowData(
                contexts.ToolTipContext(None))),
        TooltipWindowBuilder(
            TOOLTIPS_CONSTANTS.BATTLE_PASS_NOT_STARTED, None,
            common.BattlePassNotStartedTooltipWindowData(
                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_3D_NOT_CHOOSEN, None,
            common.BP3dStyleNotChosenTooltipWindowData(
                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())),
        DataBuilder(TOOLTIPS_CONSTANTS.DOG_TAGS_INFO,
                    TOOLTIPS_CONSTANTS.DOG_TAGS_INFO_UI,
                    DogTagInfoTooltip(contexts.DogTagInfoContext())),
        TooltipWindowBuilder(
            TOOLTIPS_CONSTANTS.VEH_POST_PROGRESSION_ENTRY_POINT, None,
            common.VehPostProgressionEntryPointTooltipContentWindowData(
                contexts.ToolTipContext(None))),
        TooltipWindowBuilder(
            TOOLTIPS_CONSTANTS.WOT_PLUS, None,
            common.WotPlusTooltipContentWindowData(
                contexts.ToolTipContext(None))))
예제 #11
0
     'complex':
     None
 },
 TOOLTIPS_CONSTANTS.TECH_CUSTOMIZATION_ITEM: {
     'tooltip':
     TOOLTIPS_CONSTANTS.TECH_CUSTOMIZATION_ITEM_UI,
     'method':
     CustomizationElementTooltip(
         contexts.TechCustomizationContext()).buildToolTip,
     'complex':
     None
 },
 TOOLTIPS_CONSTANTS.QUESTS_VEHICLE_BONUSES: {
     'tooltip': TOOLTIPS_CONSTANTS.COLUMN_FIELDS_UI,
     'method': common.QuestVehiclesBonusTooltipData(
         contexts.QuestContext()).buildToolTip,
     'complex': None
 },
 TOOLTIPS_CONSTANTS.MAP_SMALL: {
     'tooltip': TOOLTIPS_CONSTANTS.MAP_SMALL_UI,
     'method': common.MapSmallTooltipData(
         contexts.FortificationContext()).buildToolTip,
     'complex': None
 },
 TOOLTIPS_CONSTANTS.BATTLE_CONSUMABLE: {
     'tooltip':
     TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI,
     'method':
     battle_consumable.BattleConsumableTooltipData(
         contexts.BattleConsumableContext()).buildToolTip,
     'complex':