Exemplo n.º 1
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())),
     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())),
     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.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))))
Exemplo n.º 2
0
def getTooltipBuilders():
    return (DataBuilder(TOOLTIPS_CONSTANTS.CAROUSEL_VEHICLE, TOOLTIPS_CONSTANTS.VEHICLE_INFO_UI, vehicle.VehicleInfoTooltipData(contexts.CarouselContext())),
     InventoryVehicleBuilder(TOOLTIPS_CONSTANTS.INVENTORY_VEHICLE, TOOLTIPS_CONSTANTS.VEHICLE_INFO_UI),
     DataBuilder(TOOLTIPS_CONSTANTS.TECHTREE_VEHICLE, TOOLTIPS_CONSTANTS.VEHICLE_INFO_UI, vehicle.VehicleInfoTooltipData(contexts.TechTreeContext())),
     DataBuilder(TOOLTIPS_CONSTANTS.TECHTREE_VEHICLE_STATUS, TOOLTIPS_CONSTANTS.VEHICLE_INFO_UI, vehicle.VehicleStatusTooltipData(contexts.TechTreeContext())),
     DataBuilder(TOOLTIPS_CONSTANTS.SHOP_VEHICLE, TOOLTIPS_CONSTANTS.VEHICLE_INFO_UI, vehicle.VehicleInfoTooltipData(contexts.DefaultContext())),
     DataBuilder(TOOLTIPS_CONSTANTS.AWARD_VEHICLE, TOOLTIPS_CONSTANTS.VEHICLE_INFO_UI, vehicle.VehicleInfoTooltipData(contexts.AwardContext())),
     DataBuilder(TOOLTIPS_CONSTANTS.EXTENDED_AWARD_VEHICLE, TOOLTIPS_CONSTANTS.VEHICLE_INFO_UI, vehicle.ExtendedVehicleInfoTooltipData(contexts.ExtendedAwardContext())),
     DataBuilder(TOOLTIPS_CONSTANTS.SENIORITY_AWARD_VEHICLE, TOOLTIPS_CONSTANTS.VEHICLE_INFO_UI, vehicle.ExtendedVehicleInfoTooltipData(contexts.SeniorityAwardContext())),
     DefaultFormatBuilder(TOOLTIPS_CONSTANTS.TRADE_IN, TOOLTIPS_CONSTANTS.COMPLEX_UI, vehicle.VehicleTradeInTooltipData(contexts.HangarContext())),
     DataBuilder(TOOLTIPS_CONSTANTS.TRADE_IN_PRICE, TOOLTIPS_CONSTANTS.TRADE_IN_PRICE, vehicle.VehicleTradeInPriceTooltipData(contexts.HangarContext())),
     DataBuilder(TOOLTIPS_CONSTANTS.HISTORICAL_VEHICLE, TOOLTIPS_CONSTANTS.VEHICLE_INFO_UI, vehicle.VehicleInfoTooltipData(contexts.HangarContext())),
     DataBuilder(TOOLTIPS_CONSTANTS.VEHICLE_SIMPLE_PARAMETERS, TOOLTIPS_CONSTANTS.VEHICLE_PARAMETERS_UI, vehicle.VehicleSimpleParametersTooltipData(contexts.HangarParamContext())),
     DataBuilder(TOOLTIPS_CONSTANTS.BASE_VEHICLE_PARAMETERS, TOOLTIPS_CONSTANTS.VEHICLE_PARAMETERS_UI, vehicle.BaseVehicleAdvancedParametersTooltipData(contexts.BaseHangarParamContext())),
     AdvancedDataBuilder(TOOLTIPS_CONSTANTS.VEHICLE_CMP_PARAMETERS, TOOLTIPS_CONSTANTS.VEHICLE_PARAMETERS_UI, vehicle.BaseVehicleAdvancedParametersTooltipData(contexts.CmpParamContext()), advanced.VehicleParametersAdvanced(contexts.CmpParamContext()), condition=advanced.VehicleParametersAdvanced.readyForAdvanced),
     DataBuilder(TOOLTIPS_CONSTANTS.VEHICLE_AVG_PARAMETERS, TOOLTIPS_CONSTANTS.VEHICLE_PARAMETERS_UI, vehicle.VehicleAvgParameterTooltipData(contexts.HangarParamContext())),
     AdvancedDataBuilder(TOOLTIPS_CONSTANTS.VEHICLE_ADVANCED_PARAMETERS, TOOLTIPS_CONSTANTS.VEHICLE_PARAMETERS_UI, vehicle.VehicleAdvancedParametersTooltipData(contexts.HangarParamContext()), advanced.VehicleParametersAdvanced(contexts.HangarParamContext()), condition=advanced.VehicleParametersAdvanced.readyForAdvanced),
     AdvancedDataBuilder(TOOLTIPS_CONSTANTS.VEHICLE_TANK_SETUP_PARAMETERS, TOOLTIPS_CONSTANTS.VEHICLE_PARAMETERS_UI, vehicle.VehicleAdvancedParametersTooltipData(contexts.TankSetupParamContext()), advanced.VehicleParametersAdvanced(contexts.TankSetupParamContext()), condition=advanced.VehicleParametersAdvanced.readyForAdvanced),
     AdvancedDataBuilder(TOOLTIPS_CONSTANTS.VEHICLE_POST_PROGRESSION_PARAMETERS, TOOLTIPS_CONSTANTS.VEHICLE_PARAMETERS_UI, vehicle.VehicleAdvancedParametersTooltipData(contexts.PostProgressionParamContext()), advanced.VehicleParametersAdvanced(contexts.PostProgressionParamContext()), condition=advanced.VehicleParametersAdvanced.readyForAdvanced),
     DataBuilder(TOOLTIPS_CONSTANTS.VEHICLE_PREVIEW_SIMPLE_PARAMETERS, TOOLTIPS_CONSTANTS.VEHICLE_PARAMETERS_UI, vehicle.VehicleSimpleParametersTooltipData(contexts.PreviewParamContext())),
     DataBuilder(TOOLTIPS_CONSTANTS.VEHICLE_PREVIEW_AVG_PARAMETERS, TOOLTIPS_CONSTANTS.VEHICLE_PARAMETERS_UI, vehicle.VehicleAvgParameterTooltipData(contexts.PreviewParamContext())),
     AdvancedDataBuilder(TOOLTIPS_CONSTANTS.VEHICLE_PREVIEW_ADVANCED_PARAMETERS, TOOLTIPS_CONSTANTS.VEHICLE_PARAMETERS_UI, vehicle.VehicleAdvancedParametersTooltipData(contexts.PreviewParamContext()), advanced.VehicleParametersAdvanced(contexts.PreviewParamContext()), condition=advanced.VehicleParametersAdvanced.readyForAdvanced),
     AdvancedDataBuilder(TOOLTIPS_CONSTANTS.DEFAULT_CREW_MEMBER, TOOLTIPS_CONSTANTS.VEHICLE_PREVIEW_CREW_MEMBER_UI, vehicle.DefaultCrewMemberTooltipData(contexts.PreviewContext()), advanced.TankmanPreviewTooltipAdvanced(contexts.PreviewContext())),
     AdvancedDataBuilder(TOOLTIPS_CONSTANTS.VEHICLE_PREVIEW_CREW_MEMBER, TOOLTIPS_CONSTANTS.VEHICLE_PREVIEW_CREW_MEMBER_UI, vehicle.VehiclePreviewCrewMemberTooltipData(contexts.PreviewContext()), advanced.TankmanPreviewTooltipAdvanced(contexts.PreviewContext())),
     DataBuilder(TOOLTIPS_CONSTANTS.TECHTREE_VEHICLE_ANNOUNCEMENT, TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, vehicle.VehicleAnnouncementParametersTooltipData(contexts.VehicleAnnouncementContext())),
     TooltipWindowBuilder(TOOLTIPS_CONSTANTS.VEHICLE_ROLES, None, vehicle_roles.VehicleRolesTooltipContentWindowData(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))))
Exemplo n.º 4
0
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))))
Exemplo n.º 5
0
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))))
Exemplo n.º 6
0
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_SHOW_LOCATION_MARKERS,
                TOOLTIPS_CONSTANTS.SETTINGS_SHOW_LOCATION_MARKERS_UI,
                common.SettingsShowLocationMarkers(
                    contexts.ToolTipContext(None))),
            DataBuilder(
                TOOLTIPS_CONSTANTS.SETTINGS_KEY_CHARGE_FIRE,
                TOOLTIPS_CONSTANTS.SETTINGS_KEY_CHARGE_FIRE_UI,
                common.SettingsKeyChargeFire(contexts.ToolTipContext(None))),
            DataBuilder(
                TOOLTIPS_CONSTANTS.SETTINGS_SWITCH_EQUIPMENT,
                TOOLTIPS_CONSTANTS.SETTINGS_SWITCH_EQUIPMENT_UI,
                common.SettingsSwitchEquipment(contexts.ToolTipContext(None))))
Exemplo n.º 7
0
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.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())))
Exemplo n.º 9
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))))
def getTooltipBuilders():
    return (
        DataBuilder(TOOLTIPS_CONSTANTS.CAROUSEL_VEHICLE,
                    TOOLTIPS_CONSTANTS.VEHICLE_INFO_UI,
                    vehicle.VehicleInfoTooltipData(
                        contexts.CarouselContext())),
        InventoryVehicleBuilder(TOOLTIPS_CONSTANTS.INVENTORY_VEHICLE,
                                TOOLTIPS_CONSTANTS.VEHICLE_INFO_UI),
        DataBuilder(TOOLTIPS_CONSTANTS.TECHTREE_VEHICLE,
                    TOOLTIPS_CONSTANTS.VEHICLE_INFO_UI,
                    vehicle.VehicleInfoTooltipData(
                        contexts.TechTreeContext())),
        DataBuilder(TOOLTIPS_CONSTANTS.SHOP_VEHICLE,
                    TOOLTIPS_CONSTANTS.VEHICLE_INFO_UI,
                    vehicle.VehicleInfoTooltipData(contexts.ShopContext())),
        DataBuilder(TOOLTIPS_CONSTANTS.AWARD_VEHICLE,
                    TOOLTIPS_CONSTANTS.VEHICLE_INFO_UI,
                    vehicle.VehicleInfoTooltipData(contexts.AwardContext())),
        DefaultFormatBuilder(
            TOOLTIPS_CONSTANTS.TRADE_IN, TOOLTIPS_CONSTANTS.COMPLEX_UI,
            vehicle.VehicleTradeInTooltipData(contexts.HangarContext())),
        DataBuilder(
            TOOLTIPS_CONSTANTS.TRADE_IN_PRICE,
            TOOLTIPS_CONSTANTS.TRADE_IN_PRICE,
            vehicle.VehicleTradeInPriceTooltipData(contexts.HangarContext())),
        DataBuilder(TOOLTIPS_CONSTANTS.HISTORICAL_VEHICLE,
                    TOOLTIPS_CONSTANTS.VEHICLE_INFO_UI,
                    vehicle.VehicleInfoTooltipData(contexts.HangarContext())),
        DataBuilder(
            TOOLTIPS_CONSTANTS.VEHICLE_SIMPLE_PARAMETERS,
            TOOLTIPS_CONSTANTS.VEHICLE_PARAMETERS_UI,
            vehicle.VehicleSimpleParametersTooltipData(
                contexts.HangarParamContext())),
        DataBuilder(
            TOOLTIPS_CONSTANTS.BASE_VEHICLE_PARAMETERS,
            TOOLTIPS_CONSTANTS.VEHICLE_PARAMETERS_UI,
            vehicle.BaseVehicleAdvancedParametersTooltipData(
                contexts.BaseHangarParamContext())),
        AdvancedDataBuilder(
            TOOLTIPS_CONSTANTS.VEHICLE_CMP_PARAMETERS,
            TOOLTIPS_CONSTANTS.VEHICLE_PARAMETERS_UI,
            vehicle.BaseVehicleAdvancedParametersTooltipData(
                contexts.CmpParamContext()),
            advanced.VehicleParametersAdvanced(contexts.CmpParamContext()),
            condition=advanced.VehicleParametersAdvanced.readyForAdvanced),
        DataBuilder(
            TOOLTIPS_CONSTANTS.VEHICLE_AVG_PARAMETERS,
            TOOLTIPS_CONSTANTS.VEHICLE_PARAMETERS_UI,
            vehicle.VehicleAvgParameterTooltipData(
                contexts.HangarParamContext())),
        AdvancedDataBuilder(
            TOOLTIPS_CONSTANTS.VEHICLE_ADVANCED_PARAMETERS,
            TOOLTIPS_CONSTANTS.VEHICLE_PARAMETERS_UI,
            vehicle.VehicleAdvancedParametersTooltipData(
                contexts.HangarParamContext()),
            advanced.VehicleParametersAdvanced(contexts.HangarParamContext()),
            condition=advanced.VehicleParametersAdvanced.readyForAdvanced),
        DataBuilder(
            TOOLTIPS_CONSTANTS.VEHICLE_PREVIEW_SIMPLE_PARAMETERS,
            TOOLTIPS_CONSTANTS.VEHICLE_PARAMETERS_UI,
            vehicle.VehicleSimpleParametersTooltipData(
                contexts.PreviewParamContext())),
        DataBuilder(
            TOOLTIPS_CONSTANTS.VEHICLE_PREVIEW_AVG_PARAMETERS,
            TOOLTIPS_CONSTANTS.VEHICLE_PARAMETERS_UI,
            vehicle.VehicleAvgParameterTooltipData(
                contexts.PreviewParamContext())),
        AdvancedDataBuilder(
            TOOLTIPS_CONSTANTS.VEHICLE_PREVIEW_ADVANCED_PARAMETERS,
            TOOLTIPS_CONSTANTS.VEHICLE_PARAMETERS_UI,
            vehicle.VehicleAdvancedParametersTooltipData(
                contexts.PreviewParamContext()),
            advanced.VehicleParametersAdvanced(contexts.PreviewParamContext()),
            condition=advanced.VehicleParametersAdvanced.readyForAdvanced),
        AdvancedDataBuilder(
            TOOLTIPS_CONSTANTS.VEHICLE_PREVIEW_CREW_MEMBER,
            TOOLTIPS_CONSTANTS.VEHICLE_PREVIEW_CREW_MEMBER_UI,
            vehicle.VehiclePreviewCrewMemberTooltipData(
                contexts.PreviewContext()),
            advanced.TankmanPreviewTooltipAdvanced(contexts.PreviewContext())),
        DataBuilder(
            TOOLTIPS_CONSTANTS.TECHTREE_VEHICLE_ANNOUNCEMENT,
            TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI,
            vehicle.VehicleAnnouncementParametersTooltipData(
                contexts.VehicleAnnouncementContext())))