2021-12-03 15:35:57 +01:00
|
|
|
|
using Robust.Shared.Console;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Content.Client.Decals;
|
|
|
|
|
|
|
2025-06-17 14:08:12 -04:00
|
|
|
|
public sealed class ToggleDecalCommand : LocalizedEntityCommands
|
2021-12-03 15:35:57 +01:00
|
|
|
|
{
|
2025-06-17 14:08:12 -04:00
|
|
|
|
[Dependency] private readonly DecalSystem _decal = default!;
|
2024-05-12 17:34:52 -07:00
|
|
|
|
|
2025-06-17 14:08:12 -04:00
|
|
|
|
public override string Command => "toggledecals";
|
|
|
|
|
|
|
|
|
|
|
|
public override void Execute(IConsoleShell shell, string argStr, string[] args)
|
2021-12-03 15:35:57 +01:00
|
|
|
|
{
|
2025-06-17 14:08:12 -04:00
|
|
|
|
_decal.ToggleOverlay();
|
2021-12-03 15:35:57 +01:00
|
|
|
|
}
|
|
|
|
|
|
}
|