def _addListeners(self): super(BSLazyChannelController, self)._addListeners() for invite in g_prbLoader.getAutoInvitesNotifier().getNotified(): self.__addNotification(invite) g_eventBus.addListener(AutoInviteEvent.INVITE_RECEIVED, self.__handleAutoInviteReceived, scope=EVENT_BUS_SCOPE.LOBBY)
def __get__(self, obj, objType=None): """ Getter for property. Args: obj: decorated object objType: decorated object's class Returns: prebattle autoinvites """ from gui.prb_control.dispatcher import g_prbLoader return g_prbLoader.getAutoInvitesNotifier()
def __get__(self, obj, objType = None): from gui.prb_control.dispatcher import g_prbLoader return g_prbLoader.getAutoInvitesNotifier()
def __get__(self, obj, objType = None): return g_prbLoader.getAutoInvitesNotifier()