Esempio n. 1
0
 def stop(self):
     g_sessionProvider.removeViewComponent('fallout/flagsNots')
     if self.__flagNotification is not None:
         self.__flagNotification.destroy()
         self.__flagNotification = None
     super(FlagNotificationPlugin, self).stop()
     return
Esempio n. 2
0
 def stop(self):
     g_sessionProvider.removeViewComponent('fallout/flagsNots')
     if self.__flagNotification is not None:
         self.__flagNotification.destroy()
         self.__flagNotification = None
     super(FlagNotificationPlugin, self).stop()
     return
Esempio n. 3
0
 def stop(self):
     g_sessionProvider.removeViewComponent('fallout/respawn')
     if self.__respawnView is not None:
         self.__respawnView.destroy()
         self.__respawnView = None
     super(RespawnViewPlugin, self).stop()
     return
Esempio n. 4
0
 def _dispose(self):
     g_sessionProvider.removeViewComponent(_HIT_DIRECTION_COMPONENT_ID)
     self.removeListener(events.GameEvent.RADIAL_MENU_CMD, self._handleRadialMenuCmd, scope=EVENT_BUS_SCOPE.BATTLE)
     self.removeListener(events.GameEvent.FULL_STATS, self._handleToggleFullStats, scope=EVENT_BUS_SCOPE.BATTLE)
     self.removeListener(events.GameEvent.TOGGLE_GUI, self._handleGUIToggled, scope=EVENT_BUS_SCOPE.BATTLE)
     self.removeListener(events.GameEvent.SHOW_CURSOR, self.__handleShowCursor, scope=EVENT_BUS_SCOPE.GLOBAL)
     self.removeListener(events.GameEvent.HIDE_CURSOR, self.__handleHideCursor, scope=EVENT_BUS_SCOPE.GLOBAL)
     ctrl = g_sessionProvider.shared.vehicleState
     if ctrl is not None:
         ctrl.onPostMortemSwitched -= self.__onPostMortemSwitched
     aim_global_binding.unsubscribe(aim_global_binding.BINDING_ID.CTRL_MODE_NAME, self.__onAvatarCtrlModeChanged)
     super(SharedPage, self)._dispose()
     return
Esempio n. 5
0
 def _onUnregisterFlashComponent(self, viewPy, alias):
     g_sessionProvider.removeViewComponent(alias)
Esempio n. 6
0
 def stop(self):
     g_sessionProvider.removeViewComponent('fallout/gasAttack')
     super(GasAttackPlugin, self).stop()
Esempio n. 7
0
 def stop(self):
     g_sessionProvider.removeViewComponent('fallout/gasAttack')
     super(GasAttackPlugin, self).stop()