v1.0.2.7: Fix Mount/Companion/Emote tooltips on hotbars
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
+3
-3
@@ -9,9 +9,9 @@
|
||||
|
||||
<PropertyGroup>
|
||||
<AssemblyName>HSUI</AssemblyName>
|
||||
<AssemblyVersion>1.0.2.6</AssemblyVersion>
|
||||
<FileVersion>1.0.2.6</FileVersion>
|
||||
<InformationalVersion>1.0.2.6</InformationalVersion>
|
||||
<AssemblyVersion>1.0.2.7</AssemblyVersion>
|
||||
<FileVersion>1.0.2.7</FileVersion>
|
||||
<InformationalVersion>1.0.2.7</InformationalVersion>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"Author": "Knack117",
|
||||
"Name": "HSUI",
|
||||
"InternalName": "HSUI",
|
||||
"AssemblyVersion": "1.0.2.6",
|
||||
"AssemblyVersion": "1.0.2.7",
|
||||
"Description": "HSUI provides a highly configurable HUD replacement for FFXIV, recreated from DelvUI using KamiToolKit, FFXIVClientStructs, and Dalamud. Features unit frames, castbars, job gauges, nameplates, party frames, status effects, enemy list, configurable hotbars with drag-and-drop, and profiles.",
|
||||
"ApplicableVersion": "any",
|
||||
"RepoUrl": "https://github.com/Knack117/HSUI",
|
||||
|
||||
@@ -1256,6 +1256,57 @@ namespace HSUI.Interface.GeneralElements
|
||||
return ("Macro", "");
|
||||
}
|
||||
|
||||
if (slot.SlotType == RaptureHotbarModule.HotbarSlotType.Mount)
|
||||
{
|
||||
var row = Plugin.DataManager.GetExcelSheet<Mount>()?.GetRow(slot.ActionId);
|
||||
if (row.HasValue)
|
||||
{
|
||||
string name = row.Value.Singular.ToString();
|
||||
string desc = "";
|
||||
try
|
||||
{
|
||||
var transient = Plugin.DataManager.GetExcelSheet<MountTransient>()?.GetRow(slot.ActionId);
|
||||
if (transient.HasValue)
|
||||
{
|
||||
string descRaw = transient.Value.Description.ToDalamudString().ToString();
|
||||
if (!string.IsNullOrEmpty(descRaw))
|
||||
desc = EncryptedStringsHelper.GetString(descRaw);
|
||||
}
|
||||
}
|
||||
catch { /* ignore */ }
|
||||
return (name, desc);
|
||||
}
|
||||
}
|
||||
|
||||
if (slot.SlotType == RaptureHotbarModule.HotbarSlotType.Companion)
|
||||
{
|
||||
var row = Plugin.DataManager.GetExcelSheet<Companion>()?.GetRow(slot.ActionId);
|
||||
if (row.HasValue)
|
||||
{
|
||||
string name = row.Value.Singular.ToString();
|
||||
string desc = "";
|
||||
try
|
||||
{
|
||||
var transient = Plugin.DataManager.GetExcelSheet<CompanionTransient>()?.GetRow(slot.ActionId);
|
||||
if (transient.HasValue)
|
||||
{
|
||||
string descRaw = transient.Value.Description.ToDalamudString().ToString();
|
||||
if (!string.IsNullOrEmpty(descRaw))
|
||||
desc = EncryptedStringsHelper.GetString(descRaw);
|
||||
}
|
||||
}
|
||||
catch { /* ignore */ }
|
||||
return (name, desc);
|
||||
}
|
||||
}
|
||||
|
||||
if (slot.SlotType == RaptureHotbarModule.HotbarSlotType.Emote)
|
||||
{
|
||||
var row = Plugin.DataManager.GetExcelSheet<Emote>()?.GetRow(slot.ActionId);
|
||||
if (row.HasValue)
|
||||
return (row.Value.Name.ToString(), "");
|
||||
}
|
||||
|
||||
if (slot.SlotType == RaptureHotbarModule.HotbarSlotType.Item)
|
||||
{
|
||||
var row = Plugin.DataManager.GetExcelSheet<Item>()?.GetRow(slot.ActionId);
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
# 1.0.2.7
|
||||
- **Hotbars**: Fixed Mount/Companion/Emote tooltips — now show actual mount name and description instead of generic "Mount".
|
||||
|
||||
# 1.0.2.6
|
||||
- **Hotbars**: Fixed cooldown overlay direction — icon now greys out when used and lights back up as it cools down (was reversed).
|
||||
|
||||
|
||||
+5
-5
@@ -4,9 +4,9 @@
|
||||
"Name": "HSUI",
|
||||
"Punchline": "A modern HUD replacement built for customization.",
|
||||
"Description": "HSUI provides a highly configurable HUD replacement for FFXIV, recreated from DelvUI using KamiToolKit, FFXIVClientStructs, and Dalamud. Features unit frames, castbars, job gauges, nameplates, party frames, status effects, enemy list, configurable hotbars with drag-and-drop, and profiles.",
|
||||
"Changelog": "Hotbars: Fixed cooldown overlay direction (grey when used, lights up as ready).",
|
||||
"Changelog": "Hotbars: Fixed Mount/Companion/Emote tooltips. Now show actual mount name and description.",
|
||||
"InternalName": "HSUI",
|
||||
"AssemblyVersion": "1.0.2.6",
|
||||
"AssemblyVersion": "1.0.2.7",
|
||||
"RepoUrl": "https://github.com/Knack117/HSUI",
|
||||
"ApplicableVersion": "any",
|
||||
"Tags": ["UI", "HUD", "Unit Frames", "Nameplates", "Party Frames", "Hotbars"],
|
||||
@@ -14,10 +14,10 @@
|
||||
"DalamudApiLevel": 14,
|
||||
"IconUrl": "https://raw.githubusercontent.com/Knack117/HSUI/main/Media/Images/icon.png",
|
||||
"ImageUrls": [],
|
||||
"DownloadLinkInstall": "https://github.com/Knack117/HSUI/releases/download/v1.0.2.6/latest.zip",
|
||||
"DownloadLinkInstall": "https://github.com/Knack117/HSUI/releases/download/v1.0.2.7/latest.zip",
|
||||
"IsHide": false,
|
||||
"IsTestingExclusive": false,
|
||||
"DownloadLinkTesting": "https://github.com/Knack117/HSUI/releases/download/v1.0.2.6/latest.zip",
|
||||
"DownloadLinkUpdate": "https://github.com/Knack117/HSUI/releases/download/v1.0.2.6/latest.zip"
|
||||
"DownloadLinkTesting": "https://github.com/Knack117/HSUI/releases/download/v1.0.2.7/latest.zip",
|
||||
"DownloadLinkUpdate": "https://github.com/Knack117/HSUI/releases/download/v1.0.2.7/latest.zip"
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user