def __init__(self, btnType, tooltipType, linkage, hideActionBlock=False): super(HeaderMoneyAndXpBuilder, self).__init__( tooltipType, linkage, common.HeaderMoneyAndXpTooltipData(contexts.ToolTipContext(None))) self.__btnType = btnType self.__hideActionBlock = hideActionBlock return
def __init__(self, btnType, tooltipType, linkage): super(AdvancedHeaderMoneyAndXpBuilder, self).__init__( tooltipType, linkage, common.HeaderMoneyAndXpTooltipData(contexts.ToolTipContext(None)), advanced.MoneyAndXpAdvanced(contexts.ToolTipContext(None))) self.__btnType = btnType return
}, TOOLTIPS_CONSTANTS.CREDITS_STATS: { 'tooltip': TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, 'method': lambda btnType=CURRENCIES_CONSTANTS.CREDITS: DYNAMIC_TOOLTIPS[ TOOLTIPS_CONSTANTS.CREDITS_STATS].buildToolTip(btnType=btnType), 'complex': None }, TOOLTIPS_CONSTANTS.CRYSTAL_INFO: { 'tooltip': TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, 'method': lambda btnType=CURRENCIES_CONSTANTS. CRYSTAL: common.HeaderMoneyAndXpTooltipData( contexts.ToolTipContext(None)).buildToolTip(btnType=btnType), 'complex': None }, TOOLTIPS_CONSTANTS.CREDITS_INFO: { 'tooltip': TOOLTIPS_CONSTANTS.BLOCKS_DEFAULT_UI, 'method': lambda btnType=CURRENCIES_CONSTANTS. CREDITS: common.HeaderMoneyAndXpTooltipData( contexts.ToolTipContext(None)).buildToolTip(btnType=btnType), 'complex': None }, TOOLTIPS_CONSTANTS.GOLD_INFO: { 'tooltip':