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))))
Exemple #2
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))))
Exemple #3
0
     'method':
     common.FortSortieTooltipData(contexts.HangarContext()).buildToolTip,
     'complex': None
 },
 TOOLTIPS_CONSTANTS.ENVIRONMENT: {
     'tooltip': TOOLTIPS_CONSTANTS.ENVIRONMENT_UI,
     'method':
     common.EnvironmentTooltipData(contexts.HangarContext()).buildToolTip,
     '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':
Exemple #4
0
                                        'method': battle_consumable.BattleConsumableTooltipData(contexts.BattleConsumableContext()).buildToolTip,
                                        'complex': None},
 TOOLTIPS_CONSTANTS.LADDER: {'tooltip': TOOLTIPS_CONSTANTS.LADDER_UI,
                             'method': common.LadderTooltipData(contexts.CyberSportUnitContext()).buildToolTip,
                             'complex': None},
 TOOLTIPS_CONSTANTS.FORT_DIVISION: {'tooltip': TOOLTIPS_CONSTANTS.FORT_DIVISION_UI,
                                    'method': common.FortDivisionTooltipData(contexts.HangarContext()).buildToolTip,
                                    'complex': None},
 TOOLTIPS_CONSTANTS.FORT_SORTIE: {'tooltip': TOOLTIPS_CONSTANTS.FORT_SORTIE_UI,
                                  'method': common.FortSortieTooltipData(contexts.HangarContext()).buildToolTip,
                                  'complex': None},
 TOOLTIPS_CONSTANTS.ENVIRONMENT: {'tooltip': TOOLTIPS_CONSTANTS.ENVIRONMENT_UI,
                                  'method': common.EnvironmentTooltipData(contexts.HangarContext()).buildToolTip,
                                  '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},
 TOOLTIPS_CONSTANTS.BOOSTERS_QUESTS: {'tooltip': TOOLTIPS_CONSTANTS.BOOSTERS_BOOSTER_INFO_UI,
                                      'method': boosters.BoosterTooltipData(contexts.QuestsBoosterContext()).buildToolTip,
                                      'complex': None},
 TOOLTIPS_CONSTANTS.VEHICLE_FILTER: {'tooltip': TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI,
                                     'method': VehicleFilterTooltip(contexts.TechCustomizationContext()).buildToolTip,