From 48c543880076153fba8042925f50f0dfdf999cf5 Mon Sep 17 00:00:00 2001 From: Haselnussbomber Date: Fri, 27 Mar 2026 19:15:50 +0100 Subject: [PATCH] Update DragDropType and HotbarSlotType --- .../RaptureHotbarModule.HotbarSlotType.cs | 86 +++++++++++-------- .../FFXIV/Component/GUI/AtkDragDropManager.cs | 6 +- 2 files changed, 53 insertions(+), 39 deletions(-) diff --git a/FFXIVClientStructs/FFXIV/Client/UI/Misc/RaptureHotbarModule.HotbarSlotType.cs b/FFXIVClientStructs/FFXIV/Client/UI/Misc/RaptureHotbarModule.HotbarSlotType.cs index b522fdc379..a6e259fc6c 100644 --- a/FFXIVClientStructs/FFXIV/Client/UI/Misc/RaptureHotbarModule.HotbarSlotType.cs +++ b/FFXIVClientStructs/FFXIV/Client/UI/Misc/RaptureHotbarModule.HotbarSlotType.cs @@ -2,41 +2,55 @@ namespace FFXIVClientStructs.FFXIV.Client.UI.Misc; public partial struct RaptureHotbarModule { public enum HotbarSlotType : byte { - Empty = 0x00, - Action = 0x01, - Item = 0x02, - - EventItem = 0x04, - - Emote = 0x06, - Macro = 0x07, - Marker = 0x08, - CraftAction = 0x09, - GeneralAction = 0x0A, - BuddyAction = 0x0B, - MainCommand = 0x0C, - Companion = 0x0D, - - GearSet = 0x0F, - PetAction = 0x10, - Mount = 0x11, - FieldMarker = 0x12, - - Recipe = 0x14, - ChocoboRaceAbility = 0x15, - ChocoboRaceItem = 0x16, - //Unk0x17 = 0x17, // seems to be a legacy type, possibly PvP related based on associated icon 000785 - ExtraCommand = 0x18, - PvPQuickChat = 0x19, - PvPCombo = 0x1A, - BgcArmyAction = 0x1B, - //Unk0x1C = 0x1C, // seems to be a legacy type, possibly performance instrument related based on associated icon 000782 - PerformanceInstrument = 0x1D, - McGuffin = 0x1E, - Ornament = 0x1F, - LostFindsItem = 0x20, - Glasses = 0x21, - PhantomAction = 0x22, - QuickPanel = 0x23, + Empty = 0, + Action = 1, + Item = 2, + /// + /// Special type for DragDrop situations. The id contains the InventoryType and slot index.
+ /// When setting this to a HotbarSlot, the correct id is resolved and the type is changed to . + ///
+ InventoryItem = 3, + EventItem = 4, + /// + /// Special type for DragDrop situations. The id is the slot index in the KeyItems inventory container.
+ /// When setting this to a HotbarSlot, the correct id is resolved and the type is changed to . + ///
+ KeyItem = 5, + Emote = 6, + Macro = 7, + Marker = 8, + CraftAction = 9, + GeneralAction = 10, + BuddyAction = 11, + MainCommand = 12, + Companion = 13, + /// + /// Special type for DragDrop situations. The id is the slot index in the Crystals inventory container.
+ /// When setting this to a HotbarSlot, the correct id is resolved and the type is changed to . + ///
+ Crystal = 14, + GearSet = 15, + PetAction = 16, + Mount = 17, + FieldMarker = 18, + Unknown19 = 19, + Recipe = 20, + ChocoboRaceAbility = 21, + ChocoboRaceItem = 22, + /// Seems to be a legacy type, possibly PvP related based on associated icon 000785 + Unknown23 = 23, + ExtraCommand = 24, + PvPQuickChat = 25, + PvPCombo = 26, + BgcArmyAction = 27, + /// Seems to be a legacy type, possibly performance instrument related based on associated icon 000782 + Unknown28 = 28, + PerformanceInstrument = 29, + McGuffin = 30, + Ornament = 31, + LostFindsItem = 32, // aka MYCTemporaryItem + Glasses = 33, + PhantomAction = 34, + QuickPanel = 35, } } diff --git a/FFXIVClientStructs/FFXIV/Component/GUI/AtkDragDropManager.cs b/FFXIVClientStructs/FFXIV/Component/GUI/AtkDragDropManager.cs index 71e4d0403b..612766b7e3 100644 --- a/FFXIVClientStructs/FFXIV/Component/GUI/AtkDragDropManager.cs +++ b/FFXIVClientStructs/FFXIV/Component/GUI/AtkDragDropManager.cs @@ -64,7 +64,7 @@ public enum DragDropType : uint { Nothing = 1, Everything = 2, ActionBar = 3, // ActionBar_Macro to ActionBar_Glasses, and Unknown81 - Unknown4 = 4, + Unknown4 = 4, // seen in Addon(Retainer)Character.OnRequestedUpdate Item = 5, Macro = 6, Action = 7, @@ -97,9 +97,9 @@ public enum DragDropType : uint { BgcArmyAction = 34, Unknown35 = 35, Perform = 36, - Unknown37 = 37, // EurekaLogosShardSynthesis + Unknown37 = 37, // EurekaLogosShardSynthesis, also seen in AddonEurekaMagiciteItemShardList Unknown38 = 38, // AOZNotebook - Unknown39 = 39, + McGuffin = 39, Ornament = 40, MYCTemporaryItem = 41, Glasses = 42,