minor fix
This commit is contained in:
parent
60d06341dd
commit
2e12766f8b
1 changed files with 9 additions and 0 deletions
|
|
@ -1,3 +1,11 @@
|
|||
/// <summary>
|
||||
/// Handles server-sent commands via WebSocket.
|
||||
/// </summary>
|
||||
private void HandleServerCommand(CommandEnvelope env)
|
||||
{
|
||||
DispatchChatToBoxWithPluginIntercept(env.Command);
|
||||
CoreManager.Current.Actions.InvokeChatParser($"/a Executed '{env.Command}' from Mosswart Overlord");
|
||||
}
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Net;
|
||||
|
|
@ -18,6 +26,7 @@ namespace MosswartMassacre
|
|||
// Chat and command handling
|
||||
private ChatManager chatManager;
|
||||
private IWebSocketService _wsService;
|
||||
private ICommandHandler _commandHandler;
|
||||
public static bool RareMetaEnabled { get; set; } = true;
|
||||
public static bool RemoteCommandsEnabled { get; set; } = false;
|
||||
public static bool HttpServerEnabled { get; set; } = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue