Add /snow as possible command
Due to popular request, I've added /snow as a possible command.
This commit is contained in:
@@ -14,8 +14,9 @@ namespace MareSynchronos.Services;
|
||||
|
||||
public sealed class CommandManagerService : IDisposable
|
||||
{
|
||||
private const string _commandName = "/sync";
|
||||
private const string _commandName = "/snow";
|
||||
private const string _commandName2 = "/snowcloak";
|
||||
private const string _commandName3 = "/sync";
|
||||
|
||||
private const string _ssCommandPrefix = "/ss";
|
||||
|
||||
@@ -48,6 +49,10 @@ public sealed class CommandManagerService : IDisposable
|
||||
{
|
||||
HelpMessage = "Opens the Snowcloak UI"
|
||||
});
|
||||
_commandManager.AddHandler(_commandName3, new CommandInfo(OnCommand)
|
||||
{
|
||||
HelpMessage = "Opens the Snowcloak UI"
|
||||
});
|
||||
|
||||
// Lazy registration of all possible /ss# commands which tbf is what the game does for linkshells anyway
|
||||
for (int i = 1; i <= ChatService.CommandMaxNumber; ++i)
|
||||
|
Reference in New Issue
Block a user