def onHeaderButtonClick(self, actionID): if actionID == OPEN_CLAN_CHANNEL_ACTION_ID: channel = self.channelsStorage.getChannelByCriteria(BWClanChannelFindCriteria()) if channel is not None: g_messengerEvents.channels.onPlayerEnterChannelByAction(channel) else: LOG_WARNING("Clan channel couldn't find!") elif actionID == OPEN_INVITES_ACTION_ID: showClanInvitesWindow() else: super(ClanProfilePersonnelView, self).onHeaderButtonClick(actionID) return
def handleOpenClanInvites(self, cmd): showClanInvitesWindow()
def handleAction(self, model, entityID, action): super(_ShowClanAppsHandler, self).handleAction(model, entityID, action) return shared_events.showClanInvitesWindow()
def handleAction(self, model, entityID, action): super(_ShowClanAppsHandler, self).handleAction(model, entityID, action) return event_dispatcher.showClanInvitesWindow()
def _openClanInvites(): """ Opens clan invites window """ showClanInvitesWindow()
def handleOpenClanInvites(command, ctx): showClanInvitesWindow()