Files
RobustToolbox/Robust.Shared/Log/ProxyLogManager.cs
Pieter-Jan Briers 5057c91dcd Console command completions v1. (#2817)
* Console command completions v1.

I think it works™️

* Unify cvar commands

* Handle no-completions-at-all better.

* Don't crash if you tab complete while no completions available.

* Always show hints if available

* Properly null completion hint over the wire

* Unify help command, localize it.

* Clean up + localize cvar command.

* Remove debug logging

* List command unified & localized.

* Remove server completions debug logging

* Remote execute command.

Had to make everything async for this.

* Don't lower case enums or bools
Why

* GC commands converted and localized.

* Fix remote command completions.

Whoops

* Kick command completions

* lsasm unified & localized.

* Revert "Don't lower case enums or bools"

This reverts commit 2f825347c3.

* ToString gc_mode command enums instead of trying to fix Fluent.

Ah well.

* Unify szr_stats

* Unify log commands, completions

* Fix compile

* Improve completion with complex cases (quotes, escapes)

* Code cleanup, comments.

* Fix tab completion with empty arg ruining everything.

* Fix RegisteredCommand completions

* Add more complex completion options system.

* Refactor content directory entries into a proper resource manager API.

* Implement GetEntries for DirLoader

* Make type hint darker.

* Exec command autocomplete, pulled play global sound code out to engine.
2022-05-17 13:07:25 +10:00

24 lines
526 B
C#

using System.Collections.Generic;
namespace Robust.Shared.Log
{
public sealed class ProxyLogManager : ILogManager
{
private readonly ILogManager _impl;
public ProxyLogManager(ILogManager impl)
{
_impl = impl;
}
ISawmill ILogManager.RootSawmill => _impl.RootSawmill;
ISawmill ILogManager.GetSawmill(string name)
{
return _impl.GetSawmill(name);
}
public IEnumerable<ISawmill> AllSawmills => _impl.AllSawmills;
}
}