示例#1
0
 def cleanUp(self):
     self.removeListener(VIEW_ALIAS.LOBBY_HANGAR,
                         self.__onHangarViewSelected, EVENT_BUS_SCOPE.LOBBY)
     self.removeListener(VIEW_ALIAS.LOBBY_INVENTORY,
                         self.__onSomeViewSelected, EVENT_BUS_SCOPE.LOBBY)
     self.removeListener(VIEW_ALIAS.LOBBY_SHOP, self.__onSomeViewSelected,
                         EVENT_BUS_SCOPE.LOBBY)
     self.removeListener(VIEW_ALIAS.LOBBY_PROFILE,
                         self.__onSomeViewSelected, EVENT_BUS_SCOPE.LOBBY)
     self.removeListener(VIEW_ALIAS.LOBBY_TECHTREE,
                         self.__onSomeViewSelected, EVENT_BUS_SCOPE.LOBBY)
     self.removeListener(VIEW_ALIAS.LOBBY_RESEARCH,
                         self.__onSomeViewSelected, EVENT_BUS_SCOPE.LOBBY)
     self.removeListener(VIEW_ALIAS.LOBBY_BARRACKS,
                         self.__onSomeViewSelected, EVENT_BUS_SCOPE.LOBBY)
     self.removeListener(VIEW_ALIAS.LOBBY_CUSTOMIZATION,
                         self.__onSomeViewSelected, EVENT_BUS_SCOPE.LOBBY)
     self.removeListener(VIEW_ALIAS.BATTLE_QUEUE, self.__onSomeViewSelected,
                         EVENT_BUS_SCOPE.LOBBY)
     self.removeListener(VIEW_ALIAS.BATTLE_LOADING,
                         self.__onSomeViewSelected, EVENT_BUS_SCOPE.LOBBY)
     self.removeListener(VIEW_ALIAS.TUTORIAL_LOADING,
                         self.__onSomeViewSelected, EVENT_BUS_SCOPE.LOBBY)
     self.removeListener(PREBATTLE_ALIASES.TRAINING_LIST_VIEW_PY,
                         self.__onSomeViewSelected, EVENT_BUS_SCOPE.LOBBY)
     self.removeListener(PREBATTLE_ALIASES.TRAINING_ROOM_VIEW_PY,
                         self.__onSomeViewSelected, EVENT_BUS_SCOPE.LOBBY)
     self.removeListener(LobbySimpleEvent.HIDE_HANGAR,
                         self.__onHideHangarHandler)
     BaseMessagesController.cleanUp(self)
示例#2
0
 def cleanUp(self):
     self.removeListener(LoadEvent.LOAD_HANGAR, self.__onHangarViewSelected, EVENT_BUS_SCOPE.LOBBY)
     self.removeListener(LoadEvent.LOAD_INVENTORY, self.__onSomeViewSelected, EVENT_BUS_SCOPE.LOBBY)
     self.removeListener(LoadEvent.LOAD_SHOP, self.__onSomeViewSelected, EVENT_BUS_SCOPE.LOBBY)
     self.removeListener(LoadEvent.LOAD_PROFILE, self.__onSomeViewSelected, EVENT_BUS_SCOPE.LOBBY)
     self.removeListener(LoadEvent.LOAD_TECHTREE, self.__onSomeViewSelected, EVENT_BUS_SCOPE.LOBBY)
     self.removeListener(LoadEvent.LOAD_RESEARCH, self.__onSomeViewSelected, EVENT_BUS_SCOPE.LOBBY)
     self.removeListener(LoadEvent.LOAD_BARRACKS, self.__onSomeViewSelected, EVENT_BUS_SCOPE.LOBBY)
     self.removeListener(LoadEvent.LOAD_CUSTOMIZATION, self.__onSomeViewSelected, EVENT_BUS_SCOPE.LOBBY)
     self.removeListener(LoadEvent.LOAD_BATTLE_QUEUE, self.__onSomeViewSelected, EVENT_BUS_SCOPE.LOBBY)
     self.removeListener(LoadEvent.LOAD_BATTLE_LOADING, self.__onSomeViewSelected, EVENT_BUS_SCOPE.LOBBY)
     self.removeListener(LoadEvent.LOAD_TUTORIAL_LOADING, self.__onSomeViewSelected, EVENT_BUS_SCOPE.LOBBY)
     self.removeListener(LoadEvent.LOAD_TRAININGS, self.__onSomeViewSelected, EVENT_BUS_SCOPE.LOBBY)
     self.removeListener(LoadEvent.LOAD_TRAINING_ROOM, self.__onSomeViewSelected, EVENT_BUS_SCOPE.LOBBY)
     BaseMessagesController.cleanUp(self)
示例#3
0
 def cleanUp(self):
     self.removeListener(VIEW_ALIAS.LOBBY_HANGAR, self.__onHangarViewSelected, EVENT_BUS_SCOPE.LOBBY)
     self.removeListener(VIEW_ALIAS.LOBBY_INVENTORY, self.__onSomeViewSelected, EVENT_BUS_SCOPE.LOBBY)
     self.removeListener(VIEW_ALIAS.LOBBY_SHOP, self.__onSomeViewSelected, EVENT_BUS_SCOPE.LOBBY)
     self.removeListener(VIEW_ALIAS.LOBBY_PROFILE, self.__onSomeViewSelected, EVENT_BUS_SCOPE.LOBBY)
     self.removeListener(VIEW_ALIAS.LOBBY_TECHTREE, self.__onSomeViewSelected, EVENT_BUS_SCOPE.LOBBY)
     self.removeListener(VIEW_ALIAS.LOBBY_RESEARCH, self.__onSomeViewSelected, EVENT_BUS_SCOPE.LOBBY)
     self.removeListener(VIEW_ALIAS.LOBBY_BARRACKS, self.__onSomeViewSelected, EVENT_BUS_SCOPE.LOBBY)
     self.removeListener(VIEW_ALIAS.LOBBY_CUSTOMIZATION, self.__onSomeViewSelected, EVENT_BUS_SCOPE.LOBBY)
     self.removeListener(VIEW_ALIAS.BATTLE_QUEUE, self.__onSomeViewSelected, EVENT_BUS_SCOPE.LOBBY)
     self.removeListener(VIEW_ALIAS.BATTLE_LOADING, self.__onSomeViewSelected, EVENT_BUS_SCOPE.LOBBY)
     self.removeListener(VIEW_ALIAS.TUTORIAL_LOADING, self.__onSomeViewSelected, EVENT_BUS_SCOPE.LOBBY)
     self.removeListener(PREBATTLE_ALIASES.TRAINING_LIST_VIEW_PY, self.__onSomeViewSelected, EVENT_BUS_SCOPE.LOBBY)
     self.removeListener(PREBATTLE_ALIASES.TRAINING_ROOM_VIEW_PY, self.__onSomeViewSelected, EVENT_BUS_SCOPE.LOBBY)
     BaseMessagesController.cleanUp(self)
示例#4
0
 def cleanUp(self):
     self.removeListener(LoadEvent.LOAD_HANGAR, self.__onHangarViewSelected, EVENT_BUS_SCOPE.LOBBY)
     self.removeListener(LoadEvent.LOAD_INVENTORY, self.__onSomeViewSelected, EVENT_BUS_SCOPE.LOBBY)
     self.removeListener(LoadEvent.LOAD_SHOP, self.__onSomeViewSelected, EVENT_BUS_SCOPE.LOBBY)
     self.removeListener(LoadEvent.LOAD_PROFILE, self.__onSomeViewSelected, EVENT_BUS_SCOPE.LOBBY)
     self.removeListener(LoadEvent.LOAD_TECHTREE, self.__onSomeViewSelected, EVENT_BUS_SCOPE.LOBBY)
     self.removeListener(LoadEvent.LOAD_RESEARCH, self.__onSomeViewSelected, EVENT_BUS_SCOPE.LOBBY)
     self.removeListener(LoadEvent.LOAD_BARRACKS, self.__onSomeViewSelected, EVENT_BUS_SCOPE.LOBBY)
     self.removeListener(LoadEvent.LOAD_CUSTOMIZATION, self.__onSomeViewSelected, EVENT_BUS_SCOPE.LOBBY)
     self.removeListener(LoadEvent.LOAD_BATTLE_QUEUE, self.__onSomeViewSelected, EVENT_BUS_SCOPE.LOBBY)
     self.removeListener(LoadEvent.LOAD_BATTLE_LOADING, self.__onSomeViewSelected, EVENT_BUS_SCOPE.LOBBY)
     self.removeListener(LoadEvent.LOAD_TUTORIAL_LOADING, self.__onSomeViewSelected, EVENT_BUS_SCOPE.LOBBY)
     self.removeListener(LoadEvent.LOAD_TRAININGS, self.__onSomeViewSelected, EVENT_BUS_SCOPE.LOBBY)
     self.removeListener(LoadEvent.LOAD_TRAINING_ROOM, self.__onSomeViewSelected, EVENT_BUS_SCOPE.LOBBY)
     BaseMessagesController.cleanUp(self)