mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-09-04 02:57:08 +02:00
* Renamed shared ICommand to IConsoleCommand. * Lots of refactoring into a shared context. * Removed ICommonSession from server concmd Execute. * Added argStr parameter to concmd execute. * The execute function of client concmds now returns void, use the new shell.RemoteExecuteCommand function to forward commands. # Conflicts: # Robust.Client/Console/Commands/Debug.cs * Finally move shells and commands into shared. * Console commands can now be registered directly without a class in a shared context. * Pulled up ConsoleHost and Console shell into a shared context. * Pulled up half the functions of ConsoleHost into a shared context. * Repair rebase damage. * Make LoadConsoleCommands function not remove any previously registered commands.
16 lines
349 B
C#
16 lines
349 B
C#
using Robust.Shared.Console;
|
|
|
|
namespace Robust.Server.Console
|
|
{
|
|
/// <summary>
|
|
/// The server console shell that executes commands.
|
|
/// </summary>
|
|
public interface IServerConsoleHost : IConsoleHost
|
|
{
|
|
/// <summary>
|
|
/// Initializes the ConsoleShell service.
|
|
/// </summary>
|
|
void Initialize();
|
|
}
|
|
}
|