Add /snow as possible command

Due to popular request, I've added /snow as a possible command.
This commit is contained in:
2025-09-05 13:39:25 -04:00
parent f0cef81b5e
commit 9a0f2c062c
2 changed files with 7 additions and 2 deletions

View File

@@ -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)

View File

@@ -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))
{