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 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()
Beispiel #4
0
 def handleAction(self, model, entityID, action):
     super(_ShowClanAppsHandler, self).handleAction(model, entityID, action)
     return shared_events.showClanInvitesWindow()
Beispiel #5
0
 def handleAction(self, model, entityID, action):
     super(_ShowClanAppsHandler, self).handleAction(model, entityID, action)
     return event_dispatcher.showClanInvitesWindow()
Beispiel #6
0
def _openClanInvites():
    """
    Opens clan invites window
    """
    showClanInvitesWindow()
Beispiel #7
0
 def handleAction(self, model, entityID, action):
     super(_ShowClanAppsHandler, self).handleAction(model, entityID, action)
     return event_dispatcher.showClanInvitesWindow()
def handleOpenClanInvites(command, ctx):
    showClanInvitesWindow()