public static void Initialize(BaseServicesDispatcher servicesDispatcher, TriggerManager triggerManager, CommandManager commandManager, INetwork network, IChiConsole console, PythonEngine pythonEngine, KeyManager keyManager, HiliteManager hiliteManager) { s_servicesDispatcher = servicesDispatcher; s_triggerManager = triggerManager; s_commandManager = commandManager; s_network = network; s_console = console; s_pythonEngine = pythonEngine; s_keyManager = keyManager; s_hiliteManager = hiliteManager; }
public CommandManager(BaseServicesDispatcher dispatcher) { dispatcher.RegisterInputHandler(HandleInput); AddCommand("help", HelpCmd, "list all commands or display help for a single command", ""); }
public KeyManager(BaseServicesDispatcher dispatcher) { dispatcher.RegisterKeyDownHandler(HandleKey); }
public TriggerManager(BaseServicesDispatcher dispatcher) { dispatcher.RegisterMessageHandler(HandleColorMessage); }