def deinit(): bf2.triggerManager.destroyAllTriggers() global g_controlPoints g_controlPoints = [] host.unregisterGameStatusHandler(onGameStatusChanged) if g_debug: print "gpm_cq.py uninitialized"
def deinit(): bf2.triggerManager.destroyAllTriggers() global g_plugin global g_controlPoints g_controlPoints = [] host.unregisterGameStatusHandler(onGameStatusChanged) if g_debug: print "gpm_cq.py uninitialized" if g_plugin: g_plugin.bf2_deinit()
def shutdown(self): """Shutdown and stop processing.""" # Unregister game handlers and do any other # other actions to ensure your module no longer affects # the game in anyway host.unregisterGameStatusHandler(self.onGameStatusChanged) # Flag as shutdown as there is currently way to do this self.__state = 2
def shutdown(self): """Shutdown and stop processing.""" # Unregister our game handlers host.unregisterGameStatusHandler(self.onGameStatusChanged) if self.updateTimer: self.updateTimer.destroy() self.updateTimer = None # Flag as shutdown as there is currently way to do this self.__state = 2
def shutdown( self ): """Shutdown and stop processing.""" # Unregister our game handlers host.unregisterGameStatusHandler( self.onGameStatusChanged ) if self.updateTimer: self.updateTimer.destroy() self.updateTimer = None # Flag as shutdown as there is currently way to do this self.__state = 2
def shutdown( self ): """Shutdown the Module manager and all modules.""" self.info( 'ModManager shutting down' ) # Save the config if required if self.autoSave: self.__saveConfig() shutdown = 0 for module_name in self.__modules: shutdown += self.__shutdownModule( module_name ) self.info( "%d modules shutdown" % shutdown ) host.unregisterGameStatusHandler( self.onGameStatusChanged )
def shutdown( self ): """Shutdown and stop processing.""" # Unregister game handlers and do any other # other actions to ensure your module no longer affects # the game in anyway # Unregister our game handlers host.unregisterGameStatusHandler( self.onGameStatusChanged ) self.mm.unregisterRconCmdHandler( 'bm' ) # Flag as shutdown as there is currently way to: # host.unregisterHandler self.__state = 2
def shutdown(self): """Shutdown and stop processing.""" # destroy our timers self.__checkTimer.destroy() self.__checkTimer = None # Clear players for player in bf2.playerManager.getPlayers(): del player.mmKickerInfo # Unregister our handlers host.unregisterGameStatusHandler(self.onGameStatusChanged) self.mm.unregisterRconCmdHandler('kicker') # Unregister our game handlers # Flag as shutdown as there is currently way to do this self.__state = 2
def shutdown( self ): """Shutdown and stop processing.""" # destroy our timers self.__checkTimer.destroy() self.__checkTimer = None # Clear players for player in bf2.playerManager.getPlayers(): del player.mmKickerInfo # Unregister our handlers host.unregisterGameStatusHandler( self.onGameStatusChanged ) self.mm.unregisterRconCmdHandler( 'kicker' ) # Unregister our game handlers # Flag as shutdown as there is currently way to do this self.__state = 2
def shutdown(self): host.unregisterGameStatusHandler(self.onGameStatusChanged) self._state = 2
def deinit(): host.unregisterGameStatusHandler(onGameStatusChanged)
def shutdown( self ): host.unregisterGameStatusHandler(self.onGameStatusChanged) self._state = 2
def deinit(): global g_squad_monitor_enabled g_squad_monitor_enabled = False destroySquadCheckTimer() host.unregisterGameStatusHandler(onGameStatusChanged)
def shutdown(self): """Shutdown and stop processing.""" host.unregisterGameStatusHandler(self.onGameStatusChanged) self.__state = 2
def shutdown(self): self.Debug("shutdown") host.unregisterHandler(self.onPlayerSpawn) host.unregisterGameStatusHandler(self.onGameStatusChanged) self.__state = 2