mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-13 17:54:15 +01:00
rework for ui shit
This commit is contained in:
parent
d817eda5e2
commit
f6a471f457
19 changed files with 821 additions and 681 deletions
|
|
@ -55,6 +55,12 @@ public sealed class CommandManagerService : IDisposable
|
|||
|
||||
if (string.Equals(splitArgs[0], "toggle", StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
if (_apiController.ServerState == WebAPI.SignalR.Utils.ServerState.Disconnecting)
|
||||
{
|
||||
_mediator.Publish(new NotificationMessage("Mare disconnecting", "Cannot use /toggle while Mare Synchronos is still disconnecting",
|
||||
Dalamud.Interface.Internal.Notifications.NotificationType.Error));
|
||||
}
|
||||
|
||||
if (_serverConfigurationManager.CurrentServer == null) return;
|
||||
var fullPause = splitArgs.Length > 1 ? splitArgs[1] switch
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue