Exemple #1
0
     '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
 },
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.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())))