PvP hotbar fix: load saved PvE on zone leave then use live bars; Show Action ID in tooltips
- On leaving PvP, LoadSavedHotbar for all 10 bars (via TryRestorePvEHotbarsAfterLeavePvP in Framework update) and re-apply for ~2s so live Hotbars show PvE - GetSlotData always reads from live StandardHotbars so combo updates (e.g. Pictomancer) and icons work normally - Misc: Show Action ID option in Misc -> Tooltips; hotbar/party cooldown tooltips pass TooltipIdKind for Action vs Status IDs Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -370,7 +370,7 @@ namespace HSUI.Interface.GeneralElements
|
||||
if (!string.IsNullOrEmpty(title) || !string.IsNullOrEmpty(text))
|
||||
{
|
||||
string body = string.IsNullOrEmpty(text) ? title : text;
|
||||
TooltipsHelper.Instance.ShowTooltipOnCursor(body, title, slot.ActionId, "", slot.IconId > 0 ? slot.IconId : null);
|
||||
TooltipsHelper.Instance.ShowTooltipOnCursor(body, title, slot.ActionId, "", slot.IconId > 0 ? slot.IconId : null, Helpers.TooltipIdKind.Action);
|
||||
if (IsTooltipDebugEnabled())
|
||||
Plugin.Logger.Information($"[HSUI Tooltip DBG] ActionBar tooltip (main overlay): slot={i} title='{title}'");
|
||||
}
|
||||
@@ -429,7 +429,7 @@ namespace HSUI.Interface.GeneralElements
|
||||
if (!string.IsNullOrEmpty(title) || !string.IsNullOrEmpty(text))
|
||||
{
|
||||
string body = string.IsNullOrEmpty(text) ? title : text;
|
||||
TooltipsHelper.Instance.ShowTooltipOnCursor(body, title, slot.ActionId, "", slot.IconId > 0 ? slot.IconId : null);
|
||||
TooltipsHelper.Instance.ShowTooltipOnCursor(body, title, slot.ActionId, "", slot.IconId > 0 ? slot.IconId : null, Helpers.TooltipIdKind.Action);
|
||||
if (IsTooltipDebugEnabled())
|
||||
Plugin.Logger.Information($"[HSUI Tooltip DBG] ActionBar tooltip (overlay): slot={i} title='{title}'");
|
||||
}
|
||||
|
||||
@@ -289,7 +289,8 @@ namespace HSUI.Interface.Party
|
||||
hoveringCooldown.Data.Name,
|
||||
hoveringCooldown.Data.ActionId,
|
||||
"",
|
||||
iconId
|
||||
iconId,
|
||||
HSUI.Helpers.TooltipIdKind.Action
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -310,7 +310,8 @@ namespace HSUI.Interface.PartyCooldowns
|
||||
cooldown.Data.Name,
|
||||
cooldown.Data.ActionId,
|
||||
"",
|
||||
iconId
|
||||
iconId,
|
||||
HSUI.Helpers.TooltipIdKind.Action
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@@ -474,7 +474,8 @@ namespace HSUI.Interface.StatusEffects
|
||||
EncryptedStringsHelper.GetString(data.Data.Name.ToString()),
|
||||
data.Status.StatusId,
|
||||
GetStatusActorName(data.Status),
|
||||
iconId
|
||||
iconId,
|
||||
HSUI.Helpers.TooltipIdKind.Status
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user