def _onRegisterFlashComponent(self, viewPy, alias):
     super(StrongholdBattleRoom, self)._onRegisterFlashComponent(viewPy, alias)
     if isinstance(viewPy, MinimapGrid):
         self.__minimapGrid = viewPy
         events_dispatcher.rqActivateChannel(self.__getClientID(), viewPy)
     if isinstance(viewPy, MinimapLobby):
         self.__minimap = viewPy
Пример #2
0
 def _onRegisterFlashComponent(self, viewPy, alias):
     if alias == MESSENGER_VIEW_ALIAS.CHANNEL_COMPONENT:
         events_dispatcher.rqActivateChannel(self.getClientID(), viewPy)
         return
     super(BaseRallyMainWindow,
           self)._onRegisterFlashComponent(viewPy, alias)
 def _onRegisterFlashComponent(self, viewPy, alias):
     if alias == MESSENGER_VIEW_ALIAS.CHANNEL_COMPONENT:
         events_dispatcher.rqActivateChannel(self.getClientID(), viewPy)
         return
     super(CyberSportRespawnViewMeta, self)._onRegisterFlashComponent(viewPy, alias)
Пример #4
0
 def _onRegisterFlashComponent(self, viewPy, alias):
     if alias == MESSENGER_VIEW_ALIAS.CHANNEL_COMPONENT:
         events_dispatcher.rqActivateChannel(self.getClientID(), viewPy)
         return
     super(BaseRallyMainWindow, self)._onRegisterFlashComponent(viewPy, alias)
 def _onRegisterFlashComponent(self, viewPy, alias):
     if alias == MESSENGER_VIEW_ALIAS.CHANNEL_COMPONENT:
         events_dispatcher.rqActivateChannel(self.getClientID(), viewPy)
         return
     super(CyberSportRespawnViewMeta,
           self)._onRegisterFlashComponent(viewPy, alias)
Пример #6
0
 def _onRegisterFlashComponent(self, viewPy, alias):
     if alias == MESSENGER_VIEW_ALIAS.CHANNEL_COMPONENT:
         events_dispatcher.rqActivateChannel(self.__clientID, viewPy)
 def _onRegisterFlashComponent(self, viewPy, alias):
     if alias == MESSENGER_VIEW_ALIAS.CHANNEL_COMPONENT:
         events_dispatcher.rqActivateChannel(self.__clientID, viewPy)