}, TOOLTIPS_CONSTANTS.VEHICLE_PREVIEW_PARAMETERS: { 'tooltip': TOOLTIPS_CONSTANTS.VEHICLE_PARAMETERS_UI, 'method': vehicle.VehicleParametersTooltipData( contexts.PreviewParamContext()).buildToolTip, 'complex': None }, TOOLTIPS_CONSTANTS.BASE_VEHICLE_PARAMETERS: { 'tooltip': TOOLTIPS_CONSTANTS.VEHICLE_PARAMETERS_UI, 'method': vehicle.VehicleParametersTooltipData( contexts.BaseHangarParamContext()).buildToolTip, 'complex': None }, TOOLTIPS_CONSTANTS.VEHICLE_PREVIEW_CREW_MEMBER: { 'tooltip': TOOLTIPS_CONSTANTS.VEHICLE_PREVIEW_CREW_MEMBER_UI, 'method': vehicle.VehiclePreviewCrewMemberTooltipData( contexts.PreviewContext()).buildToolTip, 'complex': None }, TOOLTIPS_CONSTANTS.SETTINGS_CONTROL: { 'tooltip': TOOLTIPS_CONSTANTS.COMPLEX_UI, 'method': common.SettingsControlTooltipData(
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))))
'method': clans.ClanProfileFortBuildingTooltipData(contexts.FortificationContext()).buildToolTip, 'complex': None}, TOOLTIPS_CONSTANTS.MAP: {'tooltip': TOOLTIPS_CONSTANTS.MAP_UI, 'method': common.MapTooltipData(contexts.HangarContext()).buildToolTip, 'complex': None}, TOOLTIPS_CONSTANTS.HISTORICAL_VEHICLE: {'tooltip': TOOLTIPS_CONSTANTS.VEHICLE_INFO_UI, 'method': vehicle.VehicleInfoTooltipData(contexts.HangarContext()).buildToolTip, 'complex': None}, TOOLTIPS_CONSTANTS.VEHICLE_PARAMETERS: {'tooltip': TOOLTIPS_CONSTANTS.VEHICLE_PARAMETERS_UI, 'method': vehicle.VehicleParametersTooltipData(contexts.HangarParamContext()).buildToolTip, 'complex': None}, TOOLTIPS_CONSTANTS.VEHICLE_PREVIEW_PARAMETERS: {'tooltip': TOOLTIPS_CONSTANTS.VEHICLE_PARAMETERS_UI, 'method': vehicle.VehicleParametersTooltipData(contexts.PreviewParamContext()).buildToolTip, 'complex': None}, TOOLTIPS_CONSTANTS.BASE_VEHICLE_PARAMETERS: {'tooltip': TOOLTIPS_CONSTANTS.VEHICLE_PARAMETERS_UI, 'method': vehicle.VehicleParametersTooltipData(contexts.BaseHangarParamContext()).buildToolTip, 'complex': None}, TOOLTIPS_CONSTANTS.VEHICLE_PREVIEW_CREW_MEMBER: {'tooltip': TOOLTIPS_CONSTANTS.VEHICLE_PREVIEW_CREW_MEMBER_UI, 'method': vehicle.VehiclePreviewCrewMemberTooltipData(contexts.PreviewContext()).buildToolTip, 'complex': None}, TOOLTIPS_CONSTANTS.SETTINGS_CONTROL: {'tooltip': TOOLTIPS_CONSTANTS.COMPLEX_UI, 'method': common.SettingsControlTooltipData(contexts.HangarContext()).buildToolTip, 'complex': lambda data: False}, TOOLTIPS_CONSTANTS.CLAN_INFO: {'tooltip': TOOLTIPS_CONSTANTS.CLAN_INFO_UI, 'method': common.ClanInfoTooltipData(contexts.HangarContext()).buildToolTip, 'complex': None}, TOOLTIPS_CONSTANTS.CLAN_COMMON_INFO: {'tooltip': TOOLTIPS_CONSTANTS.CLAN_COMMON_INFO_UI, 'method': common.ClanCommonInfoTooltipData(contexts.HangarContext()).buildToolTip, 'complex': None}, TOOLTIPS_CONSTANTS.LADDER_REGULATIONS: {'tooltip': TOOLTIPS_CONSTANTS.LADDER_REGULATIONS_UI, 'method': common.LadderRegulations(contexts.HangarContext()).buildToolTip,
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())))