You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
730 B
23 lines
730 B
using System.Collections.Generic; |
|
using System.Threading; |
|
|
|
namespace ET |
|
{ |
|
public static class ConsoleMode |
|
{ |
|
public const string ReloadDll = "R"; |
|
public const string ReloadConfig = "C"; |
|
public const string ShowMemory = "M"; |
|
public const string Repl = "Repl"; |
|
public const string Debugger = "Debugger"; |
|
public const string CreateRobot = "CreateRobot"; |
|
public const string Robot = "Robot"; |
|
} |
|
|
|
[ComponentOf(typeof(Scene))] |
|
public class ConsoleComponent: Entity, IAwake, ILoad |
|
{ |
|
public CancellationTokenSource CancellationTokenSource; |
|
public Dictionary<string, IConsoleHandler> Handlers = new Dictionary<string, IConsoleHandler>(); |
|
} |
|
} |