add entity logs verb (#14170)
This commit is contained in:
@@ -7,6 +7,7 @@ using Content.Server.GameTicking;
|
||||
using Content.Shared.Administration;
|
||||
using Content.Shared.Administration.Logs;
|
||||
using Content.Shared.CCVar;
|
||||
using Content.Shared.Database;
|
||||
using Content.Shared.Eui;
|
||||
using Microsoft.Extensions.ObjectPool;
|
||||
using Robust.Shared.Configuration;
|
||||
@@ -140,6 +141,16 @@ public sealed class AdminLogsEui : BaseEui
|
||||
}
|
||||
}
|
||||
|
||||
public void SetLogFilter(string? search = null, bool invertTypes = false, HashSet<LogType>? types = null)
|
||||
{
|
||||
var message = new SetLogFilter(
|
||||
search,
|
||||
invertTypes,
|
||||
types);
|
||||
|
||||
SendMessage(message);
|
||||
}
|
||||
|
||||
private async void SendLogs(bool replace)
|
||||
{
|
||||
var stopwatch = new Stopwatch();
|
||||
|
||||
Reference in New Issue
Block a user