コード例 #1
0
ファイル: tooltips.py プロジェクト: webiumsk/WOT-0.9.17-CT
     'complex': None
 },
 TOOLTIPS_CONSTANTS.INVENTORY_VEHICLE: {
     'tooltip':
     TOOLTIPS_CONSTANTS.VEHICLE_INFO_UI,
     'method':
     lambda intCD, sellPrice=0, sellCurrency=0, inventoryCount=0,
     vehicleCount=0: vehicle.VehicleInfoTooltipData(
         contexts.InventoryContext()).buildToolTip(intCD),
     'complex':
     None
 },
 TOOLTIPS_CONSTANTS.TECHTREE_VEHICLE: {
     'tooltip': TOOLTIPS_CONSTANTS.VEHICLE_INFO_UI,
     'method': vehicle.VehicleInfoTooltipData(
         contexts.TechTreeContext()).buildToolTip,
     'complex': None
 },
 TOOLTIPS_CONSTANTS.SHOP_VEHICLE: {
     'tooltip':
     TOOLTIPS_CONSTANTS.VEHICLE_INFO_UI,
     'method':
     lambda intCD, inventoryCount=0, vehicleCount=0: vehicle.
     VehicleInfoTooltipData(contexts.ShopContext()).buildToolTip(intCD),
     'complex':
     None
 },
 TOOLTIPS_CONSTANTS.AWARD_VEHICLE: {
     'tooltip': TOOLTIPS_CONSTANTS.VEHICLE_INFO_UI,
     'method':
     vehicle.VehicleInfoTooltipData(contexts.AwardContext()).buildToolTip,
コード例 #2
0
 def __init__(self, tooltipType, linkage):
     super(TechTreeModuleBuilder, self).__init__(tooltipType, linkage, module.ModuleBlockTooltipData(contexts.TechTreeContext()), advanced.HangarModuleAdvanced(contexts.TechTreeContext()))
コード例 #3
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.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())))
コード例 #4
0
     'complex': None
 },
 TOOLTIPS_CONSTANTS.INVENTORY_VEHICLE: {
     'tooltip':
     TOOLTIPS_CONSTANTS.VEHICLE_UI,
     'method':
     lambda intCD, sellPrice=0, sellCurrency=0, inventoryCount=0,
     vehicleCount=0: vehicle.VehicleTooltipData(contexts.InventoryContext()
                                                ).buildToolTip(intCD),
     'complex':
     None
 },
 TOOLTIPS_CONSTANTS.TECHTREE_VEHICLE: {
     'tooltip': TOOLTIPS_CONSTANTS.VEHICLE_UI,
     'method':
     vehicle.VehicleTooltipData(contexts.TechTreeContext()).buildToolTip,
     'complex': None
 },
 TOOLTIPS_CONSTANTS.SHOP_VEHICLE: {
     'tooltip':
     TOOLTIPS_CONSTANTS.VEHICLE_UI,
     'method':
     lambda intCD, inventoryCount=0, vehicleCount=0: vehicle.
     VehicleTooltipData(contexts.ShopContext()).buildToolTip(intCD),
     'complex':
     None
 },
 TOOLTIPS_CONSTANTS.INVENTORY_MODULE: {
     'tooltip':
     TOOLTIPS_CONSTANTS.EQUIPMENT_UI,
     'method':
コード例 #5
0
                                    'method': achievement.GlobalRatingTooltipData(contexts.ProfileContext()).buildToolTip,
                                    'complex': None},
 'achievementAttr': {'tooltip': TOOLTIPS_CONSTANTS.ACHIEVEMENT_UI,
                     'method': None,
                     'complex': None},
 TOOLTIPS_CONSTANTS.MARK_OF_MASTERY: {'tooltip': TOOLTIPS_CONSTANTS.MARK_OF_MASTERY_UI,
                                      'method': achievement.AchievementTooltipData(contexts.BattleResultMarkOfMasteryContext()).buildToolTip,
                                      'complex': None},
 TOOLTIPS_CONSTANTS.CAROUSEL_VEHICLE: {'tooltip': TOOLTIPS_CONSTANTS.VEHICLE_INFO_UI,
                                       'method': vehicle.VehicleInfoTooltipData(contexts.CarouselContext()).buildToolTip,
                                       'complex': None},
 TOOLTIPS_CONSTANTS.INVENTORY_VEHICLE: {'tooltip': TOOLTIPS_CONSTANTS.VEHICLE_INFO_UI,
                                        'method': lambda intCD, sellPrice = 0, sellCurrency = 0, inventoryCount = 0, vehicleCount = 0: vehicle.VehicleInfoTooltipData(contexts.InventoryContext()).buildToolTip(intCD),
                                        'complex': None},
 TOOLTIPS_CONSTANTS.TECHTREE_VEHICLE: {'tooltip': TOOLTIPS_CONSTANTS.VEHICLE_INFO_UI,
                                       'method': vehicle.VehicleInfoTooltipData(contexts.TechTreeContext()).buildToolTip,
                                       'complex': None},
 TOOLTIPS_CONSTANTS.SHOP_VEHICLE: {'tooltip': TOOLTIPS_CONSTANTS.VEHICLE_INFO_UI,
                                   'method': lambda intCD, inventoryCount = 0, vehicleCount = 0: vehicle.VehicleInfoTooltipData(contexts.ShopContext()).buildToolTip(intCD),
                                   'complex': None},
 TOOLTIPS_CONSTANTS.AWARD_VEHICLE: {'tooltip': TOOLTIPS_CONSTANTS.VEHICLE_INFO_UI,
                                    'method': vehicle.VehicleInfoTooltipData(contexts.AwardContext()).buildToolTip,
                                    'complex': None},
 TOOLTIPS_CONSTANTS.INVENTORY_MODULE: {'tooltip': TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI,
                                       'method': lambda intCD, sellPrice = 0, sellCurrency = 0, inventoryCount = 0, vehicleCount = 0: module.ModuleBlockTooltipData(contexts.InventoryContext()).buildToolTip(intCD),
                                       'complex': None},
 TOOLTIPS_CONSTANTS.TECH_MAIN_MODULE: {'tooltip': TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI,
                                       'method': lambda intCD, buyPrice = None, inventoryCount = 0, vehicleCount = 0, slotIdx = 0, eqs = None: module.ModuleBlockTooltipData(contexts.TechMainContext()).buildToolTip(intCD, slotIdx, eqs),
                                       'complex': None},
 TOOLTIPS_CONSTANTS.HANGAR_MODULE: {'tooltip': TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI,
                                    'method': module.ModuleBlockTooltipData(contexts.HangarContext()).buildToolTip,
コード例 #6
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))))
コード例 #7
0
def getTooltipBuilders():
    return (
        DataBuilder(TOOLTIPS_CONSTANTS.CAROUSEL_VEHICLE,
                    TOOLTIPS_CONSTANTS.VEHICLE_INFO_UI,
                    vehicle.VehicleInfoTooltipData(
                        contexts.CarouselContext())),
        DataBuilder(
            TOOLTIPS_CONSTANTS.FUN_RANDOM_CAROUSEL_VEHICLE,
            TOOLTIPS_CONSTANTS.VEHICLE_INFO_UI,
            vehicle.VehicleInfoTooltipData(
                contexts.FunRandomCarouselContext())),
        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))))
コード例 #8
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())),
        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),
        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())))