Example #1
0
     'tooltip': TOOLTIPS_CONSTANTS.ACHIEVEMENT_UI,
     '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(
def getTooltipBuilders():
    return (builders.DataBuilder(TOOLTIPS_CONSTANTS.BATTLE_STATS_ACHIEVS, TOOLTIPS_CONSTANTS.ACHIEVEMENT_UI, achievement.AchievementTooltipData(contexts.BattleResultContext())),
     builders.DataBuilder(TOOLTIPS_CONSTANTS.BATTLE_STATS_MARKS_ON_GUN_ACHIEVEMENT, TOOLTIPS_CONSTANTS.MARKS_ON_GUN_UI, achievement.AchievementTooltipData(contexts.BattleResultMarksOnGunContext())),
     builders.DataBuilder(TOOLTIPS_CONSTANTS.ACHIEVEMENT, TOOLTIPS_CONSTANTS.ACHIEVEMENT_UI, achievement.AchievementTooltipData(contexts.ProfileContext())),
     builders.DataBuilder(TOOLTIPS_CONSTANTS.MARKS_ON_GUN_ACHIEVEMENT, TOOLTIPS_CONSTANTS.MARKS_ON_GUN_UI, achievement.AchievementTooltipData(contexts.ProfileContext())),
     builders.DataBuilder(TOOLTIPS_CONSTANTS.GLOBAL_RATING, TOOLTIPS_CONSTANTS.ACHIEVEMENT_UI, achievement.GlobalRatingTooltipData(contexts.ProfileContext())),
     builders.DataBuilder(TOOLTIPS_CONSTANTS.MARK_OF_MASTERY, TOOLTIPS_CONSTANTS.MARK_OF_MASTERY_UI, achievement.AchievementTooltipData(contexts.BattleResultMarkOfMasteryContext(fieldsToExclude=('showCondSeparator',)))),
     builders.SimpleBuilder('achievementAttr', TOOLTIPS_CONSTANTS.ACHIEVEMENT_UI))
Example #3
0
                                  'method': achievement.AchievementTooltipData(contexts.ProfileContext()).buildToolTip,
                                  'complex': None},
 TOOLTIPS_CONSTANTS.MARKS_ON_GUN_ACHIEVEMENT: {'tooltip': TOOLTIPS_CONSTANTS.MARKS_ON_GUN_UI,
                                               'method': achievement.AchievementTooltipData(contexts.ProfileContext()).buildToolTip,
                                               'complex': None},
 TOOLTIPS_CONSTANTS.BATTLE_STATS_MARKS_ON_GUN_ACHIEVEMENT: {'tooltip': TOOLTIPS_CONSTANTS.MARKS_ON_GUN_UI,
                                                            'method': achievement.AchievementTooltipData(contexts.BattleResultMarksOnGunContext()).buildToolTip,
                                                            'complex': None},
 TOOLTIPS_CONSTANTS.GLOBAL_RATING: {'tooltip': TOOLTIPS_CONSTANTS.ACHIEVEMENT_UI,
                                    '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,
Example #4
0
     'tooltip': TOOLTIPS_CONSTANTS.ACHIEVEMENT_UI,
     '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(
             fieldsToExclude=('showCondSeparator', ))).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(