mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-15 03:30:53 +01:00
25 lines
665 B
C#
25 lines
665 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using SS14.Client.Interfaces.Console;
|
|
using SS14.Shared.IoC;
|
|
|
|
namespace SS14.Client.Console
|
|
{
|
|
[IoCTarget]
|
|
class QuitCommand : IConsoleCommand
|
|
{
|
|
public string Command => "quit";
|
|
public string Description => "Kills the game client instantly.";
|
|
public string Help => "Kills the game client instantly, leaving no traces. No telling the server goodbye";
|
|
|
|
public bool Execute(IDebugConsole console, params string[] args)
|
|
{
|
|
Environment.Exit(0);
|
|
return false;
|
|
}
|
|
}
|
|
}
|