v1.0.3.0: Alliance frames fixes, PvP support, shared hotbar persistence, config save on teleport

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-01-31 20:35:25 -05:00
parent bda3762ac8
commit 11b4c268f0
17 changed files with 1145 additions and 77 deletions
+26 -1
View File
@@ -130,6 +130,7 @@ namespace HSUI
InputsHelper.Initialize();
NameplatesManager.Initialize();
PartyManager.Initialize();
AllianceManager.Initialize();
PartyCooldownsManager.Initialize();
PullTimerHelper.Initialize();
ActionBarsManager.Initialize();
@@ -163,7 +164,21 @@ namespace HSUI
+ "/hsui debug tooltips → Toggles debug logging for tooltips.\n"
+ "/hsui debug hud → Dumps HudLayout addon names and hashes to the log (for HUD hiding).\n"
+ "/hsui debug hotbarslots → Dumps all hotbar slot CommandType/CommandId to the log (for SwapSlots diagnosis).\n"
+ "/hsui debug macro <bar> <slot> → Dumps HotbarSlot + RaptureMacroModule.Macro memory for the slot (macro persistence).",
+ "/hsui debug macro <bar> <slot> → Dumps HotbarSlot + RaptureMacroModule.Macro memory for the slot (macro persistence).\n"
+ "/hsui_alliance_debug → Dumps alliance frame detection and letter-mapping debug info (run while in alliance raid).",
ShowInHelp = true
}
);
CommandManager.AddHandler(
"/hsui_alliance_debug",
new CommandInfo((_, _) =>
{
HSUI.Interface.Party.AllianceManager.DumpAllianceDebugToLog();
Chat.Print("HSUI: Alliance debug info dumped to the log (Dalamud log window or dev plugin).");
})
{
HelpMessage = "Dumps alliance frame detection and letter-mapping debug info. Run while in an alliance raid.",
ShowInHelp = true
}
);
@@ -338,6 +353,12 @@ namespace HSUI
Chat.Print("Usage: /hsui debug macro <bar> <slot> (e.g. /hsui debug macro 1 2)");
break;
case { } when string.Equals(arguments.Trim(), "debug alliance", StringComparison.OrdinalIgnoreCase)
|| string.Equals(arguments.Trim(), "debugalliance", StringComparison.OrdinalIgnoreCase):
HSUI.Interface.Party.AllianceManager.DumpAllianceDebugToLog();
Chat.Print("HSUI: Alliance debug info dumped to the log (Dalamud log window or dev plugin).");
break;
default:
configManager.ToggleConfigWindow();
break;
@@ -384,6 +405,8 @@ namespace HSUI
catch (Exception ex) { Logger.Warning($"NameplatesManager.Update: {ex.Message}"); }
try { PartyManager.Instance?.Update(); }
catch (Exception ex) { Logger.Warning($"PartyManager.Update: {ex.Message}"); }
try { AllianceManager.Instance?.Update(); }
catch (Exception ex) { Logger.Warning($"AllianceManager.Update: {ex.Message}"); }
try
{
@@ -419,6 +442,7 @@ namespace HSUI
{
Logger.Info("\tRemoving commands...");
CommandManager.RemoveHandler("/hsui");
CommandManager.RemoveHandler("/hsui debugalliance");
CommandManager.RemoveHandler("/hui");
}
catch (Exception e) { Logger.Error("Error removing commands: " + e.Message); }
@@ -448,6 +472,7 @@ namespace HSUI
TryDispose("GlobalColors", () => GlobalColors.Instance?.Dispose());
TryDispose("NameplatesManager", () => NameplatesManager.Instance?.Dispose());
TryDispose("PartyCooldownsManager", () => PartyCooldownsManager.Instance?.Dispose());
TryDispose("AllianceManager", () => AllianceManager.Instance?.Dispose());
TryDispose("PartyManager", () => PartyManager.Instance?.Dispose());
TryDispose("PullTimerHelper", () => PullTimerHelper.Instance?.Dispose());
TryDispose("ActionBarsManager", () => ActionBarsManager.Instance?.Dispose());