mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 19:47:21 +01:00
add disable autologon on a per character basis
add automatic notes population on empty notes adjust mare command help text
This commit is contained in:
parent
f6df371339
commit
c66b58d156
11 changed files with 90 additions and 13 deletions
|
|
@ -36,7 +36,13 @@ public sealed class CommandManagerService : IDisposable
|
|||
_mareConfigService = mareConfigService;
|
||||
_commandManager.AddHandler(_commandName, new CommandInfo(OnCommand)
|
||||
{
|
||||
HelpMessage = "Opens the Mare Synchronos UI"
|
||||
HelpMessage = "Opens the Mare Synchronos UI" + Environment.NewLine + Environment.NewLine +
|
||||
"Additionally possible commands:" + Environment.NewLine +
|
||||
"\t /mare toggle - Disconnects from Mare, if connected. Connects to Mare, if disconnected" + Environment.NewLine +
|
||||
"\t /mare toggle on|off - Connects or disconnects to Mare respectively" + Environment.NewLine +
|
||||
"\t /mare gpose - Opens the GPose MCDF import window (only works in GPose)" + Environment.NewLine +
|
||||
"\t /mare analyze - Opens the Mare Character Data Analysis window" + Environment.NewLine +
|
||||
"\t /mare settings - Opens the Mare Settings window"
|
||||
});
|
||||
}
|
||||
|
||||
|
|
@ -59,6 +65,9 @@ public sealed class CommandManagerService : IDisposable
|
|||
return;
|
||||
}
|
||||
|
||||
if (!_mareConfigService.Current.HasValidSetup())
|
||||
return;
|
||||
|
||||
if (string.Equals(splitArgs[0], "toggle", StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
if (_apiController.ServerState == WebAPI.SignalR.Utils.ServerState.Disconnecting)
|
||||
|
|
@ -109,5 +118,9 @@ public sealed class CommandManagerService : IDisposable
|
|||
{
|
||||
_mediator.Publish(new UiToggleMessage(typeof(DataAnalysisUi)));
|
||||
}
|
||||
else if (string.Equals(splitArgs[0], "settings", StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
_mediator.Publish(new UiToggleMessage(typeof(SettingsUi)));
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue