ServerConsole
An abstract class in Root.Township, the global namespace.
Base for the dedicated server's text console (Windows, Linux or a null console). Queues typed lines and hands them to listeners on the main thread.
- Listed in Global namespace: S
- Derived types
LinuxServerConsole,NullConsole,WindowsServerConsole - Documented in Logging
Constructors
| Member | What it is |
|---|---|
ServerConsole() | Creates a ServerConsole with default values. |
Fields
2 private and internal fields
Events
| Member | What it is |
|---|---|
event Action<string> TextEntered | Raised from ProcessInputQueue with each line typed into the console. |
Methods
Used in
Members of other types that take, return or hold a ServerConsole: