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))))
Пример #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))))
Пример #3
0
 },
 TOOLTIPS_CONSTANTS.SQUAD_SLOT_VEHICLE_SELECTED: {
     'tooltip':
     TOOLTIPS_CONSTANTS.SELECTED_VEHICLE_UI,
     'method':
     cybersport.SquadSlotSelectedToolTipData(
         contexts.CyberSportUnitContext()).buildToolTip,
     'complex':
     None
 },
 TOOLTIPS_CONSTANTS.SETTINGS_BUTTON: {
     'tooltip':
     TOOLTIPS_CONSTANTS.SETTINGS_BUTTON_UI,
     'method':
     common.SettingsButtonTooltipData(
         contexts.HangarServerStatusContext()).buildToolTip,
     'complex':
     None
 },
 TOOLTIPS_CONSTANTS.CUSTOMIZATION_ITEM: {
     'tooltip':
     TOOLTIPS_CONSTANTS.TECH_CUSTOMIZATION_ITEM_UI,
     'method':
     CustomizationQuestElementTooltip(
         contexts.TechCustomizationContext()).buildToolTip,
     'complex':
     None
 },
 TOOLTIPS_CONSTANTS.TECH_CUSTOMIZATION_ITEM: {
     'tooltip':
     TOOLTIPS_CONSTANTS.TECH_CUSTOMIZATION_ITEM_UI,
Пример #4
0
                                     'method': common.ToolTipRefSysAwards(contexts.HangarContext()).buildToolTip,
                                     'complex': None},
 TOOLTIPS_CONSTANTS.REF_SYS_DESCRIPTION: {'tooltip': TOOLTIPS_CONSTANTS.REF_SYS_DESCRIPTION_UI,
                                          'method': common.ToolTipRefSysDescription(contexts.HangarContext()).buildToolTip,
                                          'complex': None},
 TOOLTIPS_CONSTANTS.REF_SYS_XP_MULTIPLIER: {'tooltip': TOOLTIPS_CONSTANTS.REF_SYS_XP_MULTIPLIER_UI,
                                            'method': common.ToolTipRefSysXPMultiplier(contexts.HangarContext()).buildToolTip,
                                            'complex': None},
 TOOLTIPS_CONSTANTS.ACTION_PRICE: {'tooltip': TOOLTIPS_CONSTANTS.COMPLEX_UI,
                                   'method': common.ActionTooltipData(contexts.HangarContext()).buildToolTip,
                                   'complex': lambda data: False},
 TOOLTIPS_CONSTANTS.SQUAD_SLOT_VEHICLE_SELECTED: {'tooltip': TOOLTIPS_CONSTANTS.SELECTED_VEHICLE_UI,
                                                  'method': cybersport.SquadSlotSelectedToolTipData(contexts.CyberSportUnitContext()).buildToolTip,
                                                  'complex': None},
 TOOLTIPS_CONSTANTS.SETTINGS_BUTTON: {'tooltip': TOOLTIPS_CONSTANTS.SETTINGS_BUTTON_UI,
                                      'method': common.SettingsButtonTooltipData(contexts.HangarServerStatusContext()).buildToolTip,
                                      'complex': None},
 TOOLTIPS_CONSTANTS.CUSTOMIZATION_ITEM: {'tooltip': TOOLTIPS_CONSTANTS.TECH_CUSTOMIZATION_ITEM_UI,
                                         'method': CustomizationQuestElementTooltip(contexts.TechCustomizationContext()).buildToolTip,
                                         'complex': None},
 TOOLTIPS_CONSTANTS.TECH_CUSTOMIZATION_ITEM: {'tooltip': TOOLTIPS_CONSTANTS.TECH_CUSTOMIZATION_ITEM_UI,
                                              'method': CustomizationElementTooltip(contexts.TechCustomizationContext()).buildToolTip,
                                              'complex': None},
 TOOLTIPS_CONSTANTS.TECH_CUSTOMIZATION_BONUS: {'tooltip': TOOLTIPS_CONSTANTS.TECH_CUSTOMIZATION_BONUS_UI,
                                               'method': CustomizationBonusTooltip(contexts.TechCustomizationContext()).buildToolTip,
                                               'complex': None},
 TOOLTIPS_CONSTANTS.FORT_WRONG_TIME: {'tooltip': TOOLTIPS_CONSTANTS.COMPLEX_UI,
                                      'method': common.ToolTipFortWrongTime(contexts.HangarContext()).buildToolTip,
                                      'complex': lambda data: False},
 TOOLTIPS_CONSTANTS.PRIVATE_QUESTS_TILE: {'tooltip': TOOLTIPS_CONSTANTS.PRIVATE_QUESTS_UI,
                                          'method': potapovquests.PrivateQuestsTileTooltipData(contexts.PotapovQuestsTileContext()).buildToolTip,