From 9a0f2c062c7db964e0b4e41200db2383077894cb Mon Sep 17 00:00:00 2001 From: Professor Fartsalot Date: Fri, 5 Sep 2025 13:39:25 -0400 Subject: [PATCH] Add /snow as possible command Due to popular request, I've added /snow as a possible command. --- MareSynchronos/Services/CommandManagerService.cs | 7 ++++++- MareSynchronos/UI/CharaDataHubUi.cs | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/MareSynchronos/Services/CommandManagerService.cs b/MareSynchronos/Services/CommandManagerService.cs index 3676a0e..28d4b84 100644 --- a/MareSynchronos/Services/CommandManagerService.cs +++ b/MareSynchronos/Services/CommandManagerService.cs @@ -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) diff --git a/MareSynchronos/UI/CharaDataHubUi.cs b/MareSynchronos/UI/CharaDataHubUi.cs index bc4da09..454cbf9 100644 --- a/MareSynchronos/UI/CharaDataHubUi.cs +++ b/MareSynchronos/UI/CharaDataHubUi.cs @@ -1054,7 +1054,7 @@ internal sealed partial class CharaDataHubUi : WindowMediatorSubscriberBase _configService.Current.OpenMareHubOnGposeStart = openInGpose; _configService.Save(); } - _uiSharedService.DrawHelpText("This will automatically open the import menu when loading into Gpose. If unchecked you can open the menu manually with /sync gpose"); + _uiSharedService.DrawHelpText("This will automatically open the import menu when loading into Gpose. If unchecked you can open the menu manually with /snow gpose"); bool downloadDataOnConnection = _configService.Current.DownloadMcdDataOnConnection; if (ImGui.Checkbox("Download Online Character Data on connecting", ref downloadDataOnConnection)) {