From 9a8f370975cb533a9d4e70fac03c8ab718150910 Mon Sep 17 00:00:00 2001 From: MidoriKami <9083275+MidoriKami@users.noreply.github.com> Date: Fri, 10 Nov 2023 12:03:54 -0800 Subject: [PATCH] Update AddonEventType (#1516) --- Dalamud/Game/Addon/Events/AddonEventType.cs | 30 +++++++++++++++++++-- 1 file changed, 28 insertions(+), 2 deletions(-) diff --git a/Dalamud/Game/Addon/Events/AddonEventType.cs b/Dalamud/Game/Addon/Events/AddonEventType.cs index 2c6c96334..100168e22 100644 --- a/Dalamud/Game/Addon/Events/AddonEventType.cs +++ b/Dalamud/Game/Addon/Events/AddonEventType.cs @@ -80,6 +80,18 @@ public enum AddonEventType : byte /// ListItemToggle = 35, + /// + /// Drag Drop Begin. + /// Sent on MouseDown over a draggable icon (will NOT send for a locked icon). + /// + DragDropBegin = 47, + + /// + /// Drag Drop Insert. + /// Sent when dropping an icon into a hotbar/inventory slot or similar. + /// + DragDropInsert = 50, + /// /// Drag Drop Roll Over. /// @@ -91,13 +103,27 @@ public enum AddonEventType : byte DragDropRollOut = 53, /// - /// Drag Drop Unknown. + /// Drag Drop Discard. + /// Sent when dropping an icon into empty screenspace, eg to remove an action from a hotBar. /// - DragDropUnk54 = 54, + DragDropDiscard = 54, /// /// Drag Drop Unknown. /// + [Obsolete("Use DragDropDiscard")] + DragDropUnk54 = 54, + + /// + /// Drag Drop Cancel. + /// Sent on MouseUp if the cursor has not moved since DragDropBegin, OR on MouseDown over a locked icon. + /// + DragDropCancel = 55, + + /// + /// Drag Drop Unknown. + /// + [Obsolete("Use DragDropCancel")] DragDropUnk55 = 55, ///