def getTooltip(self): primeTimes = self._event.getPrimeTimes().getPrimeTimes() currentPeripheryID = self._connectionMgr.peripheryID showTooltip = len(primeTimes) > 1 return makePrimeTimesTooltipVO( primeTimes, currentPeripheryID, self._lobbyContext.getPeripheryName) if showTooltip else None
def __getPrimeTimesTooltip(self): primeTimes = self._event.getPrimeTimes().getPrimeTimes() currentPeripheryID = self._connectionMgr.peripheryID return makePrimeTimesTooltipVO(primeTimes, currentPeripheryID, self._lobbyContext.getPeripheryName)