Update AddonEventType (#2238)

* Update AddonEventType

* Fix copy paste mistake
This commit is contained in:
Haselnussbomber 2025-04-09 22:16:28 +02:00 committed by GitHub
parent a555514de3
commit 98c5fbd666
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -30,11 +30,21 @@ public enum AddonEventType : byte
/// </summary> /// </summary>
MouseOut = 7, MouseOut = 7,
/// <summary>
/// Mouse Wheel.
/// </summary>
MouseWheel = 8,
/// <summary> /// <summary>
/// Mouse Click. /// Mouse Click.
/// </summary> /// </summary>
MouseClick = 9, MouseClick = 9,
/// <summary>
/// Mouse Double Click.
/// </summary>
MouseDoubleClick = 10,
/// <summary> /// <summary>
/// Input Received. /// Input Received.
/// </summary> /// </summary>
@ -51,108 +61,199 @@ public enum AddonEventType : byte
FocusStop = 19, FocusStop = 19,
/// <summary> /// <summary>
/// Button Press, sent on MouseDown on Button. /// Resize (ChatLogPanel).
/// </summary>
Resize = 19,
/// <summary>
/// AtkComponentButton Press, sent on MouseDown on Button.
/// </summary> /// </summary>
ButtonPress = 23, ButtonPress = 23,
/// <summary> /// <summary>
/// Button Release, sent on MouseUp and MouseOut. /// AtkComponentButton Release, sent on MouseUp and MouseOut.
/// </summary> /// </summary>
ButtonRelease = 24, ButtonRelease = 24,
/// <summary> /// <summary>
/// Button Click, sent on MouseUp and MouseClick on button. /// AtkComponentButton Click, sent on MouseUp and MouseClick on button.
/// </summary> /// </summary>
ButtonClick = 25, ButtonClick = 25,
/// <summary> /// <summary>
/// List Item RollOver. /// Value Update (NumericInput, ScrollBar, etc.)
/// </summary>
ValueUpdate = 27,
/// <summary>
/// AtkComponentSlider Value Update.
/// </summary>
SliderValueUpdate = 29,
/// <summary>
/// AtkComponentSlider Released.
/// </summary>
SliderReleased = 30,
/// <summary>
/// AtkComponentList RollOver.
/// </summary> /// </summary>
ListItemRollOver = 33, ListItemRollOver = 33,
/// <summary> /// <summary>
/// List Item Roll Out. /// AtkComponentList Roll Out.
/// </summary> /// </summary>
ListItemRollOut = 34, ListItemRollOut = 34,
/// <summary> /// <summary>
/// List Item Toggle. /// AtkComponentList Click.
/// </summary> /// </summary>
ListItemClick = 35,
/// <summary>
/// AtkComponentList Toggle.
/// </summary>
[Obsolete("Use ListItemClick")]
ListItemToggle = 35, ListItemToggle = 35,
/// <summary> /// <summary>
/// Drag Drop Begin. /// AtkComponentList Double Click.
/// </summary>
ListItemDoubleClick = 36,
/// <summary>
/// AtkComponentList Select.
/// </summary>
ListItemSelect = 38,
/// <summary>
/// AtkComponentDragDrop Begin.
/// Sent on MouseDown over a draggable icon (will NOT send for a locked icon). /// Sent on MouseDown over a draggable icon (will NOT send for a locked icon).
/// </summary> /// </summary>
DragDropBegin = 47, DragDropBegin = 50,
/// <summary> /// <summary>
/// Drag Drop Insert. /// AtkComponentDragDrop End.
/// </summary>
DragDropEnd = 51,
/// <summary>
/// AtkComponentDragDrop Insert.
/// Sent when dropping an icon into a hotbar/inventory slot or similar. /// Sent when dropping an icon into a hotbar/inventory slot or similar.
/// </summary> /// </summary>
DragDropInsert = 50, DragDropInsert = 53,
/// <summary> /// <summary>
/// Drag Drop Roll Over. /// AtkComponentDragDrop Roll Over.
/// </summary> /// </summary>
DragDropRollOver = 52, DragDropRollOver = 55,
/// <summary> /// <summary>
/// Drag Drop Roll Out. /// AtkComponentDragDrop Roll Out.
/// </summary> /// </summary>
DragDropRollOut = 53, DragDropRollOut = 56,
/// <summary> /// <summary>
/// Drag Drop Discard. /// AtkComponentDragDrop Discard.
/// Sent when dropping an icon into empty screenspace, eg to remove an action from a hotBar. /// Sent when dropping an icon into empty screenspace, eg to remove an action from a hotBar.
/// </summary> /// </summary>
DragDropDiscard = 54, DragDropDiscard = 57,
/// <summary> /// <summary>
/// Drag Drop Unknown. /// Drag Drop Unknown.
/// </summary> /// </summary>
[Obsolete("Use DragDropDiscard")] [Obsolete("Use DragDropDiscard", true)]
DragDropUnk54 = 54, DragDropUnk54 = 54,
/// <summary> /// <summary>
/// Drag Drop Cancel. /// AtkComponentDragDrop Cancel.
/// Sent on MouseUp if the cursor has not moved since DragDropBegin, OR on MouseDown over a locked icon. /// Sent on MouseUp if the cursor has not moved since DragDropBegin, OR on MouseDown over a locked icon.
/// </summary> /// </summary>
DragDropCancel = 55, DragDropCancel = 58,
/// <summary> /// <summary>
/// Drag Drop Unknown. /// Drag Drop Unknown.
/// </summary> /// </summary>
[Obsolete("Use DragDropCancel")] [Obsolete("Use DragDropCancel", true)]
DragDropUnk55 = 55, DragDropUnk55 = 55,
/// <summary> /// <summary>
/// Icon Text Roll Over. /// AtkComponentIconText Roll Over.
/// </summary> /// </summary>
IconTextRollOver = 56, IconTextRollOver = 59,
/// <summary> /// <summary>
/// Icon Text Roll Out. /// AtkComponentIconText Roll Out.
/// </summary> /// </summary>
IconTextRollOut = 57, IconTextRollOut = 60,
/// <summary> /// <summary>
/// Icon Text Click. /// AtkComponentIconText Click.
/// </summary> /// </summary>
IconTextClick = 58, IconTextClick = 61,
/// <summary> /// <summary>
/// Window Roll Over. /// AtkDialogue Close.
/// </summary> /// </summary>
WindowRollOver = 67, DialogueClose = 62,
/// <summary> /// <summary>
/// Window Roll Out. /// AtkDialogue Submit.
/// </summary> /// </summary>
WindowRollOut = 68, DialogueSubmit = 63,
/// <summary> /// <summary>
/// Window Change Scale. /// AtkTimer Tick.
/// </summary> /// </summary>
WindowChangeScale = 69, TimerTick = 64,
/// <summary>
/// AtkTimer End.
/// </summary>
TimerEnd = 65,
/// <summary>
/// AtkSimpleTween Progress.
/// </summary>
TweenProgress = 67,
/// <summary>
/// AtkSimpleTween Complete.
/// </summary>
TweenComplete = 68,
/// <summary>
/// AtkAddonControl Child Addon Attached.
/// </summary>
ChildAddonAttached = 69,
/// <summary>
/// AtkComponentWindow Roll Over.
/// </summary>
WindowRollOver = 70,
/// <summary>
/// AtkComponentWindow Roll Out.
/// </summary>
WindowRollOut = 71,
/// <summary>
/// AtkComponentWindow Change Scale.
/// </summary>
WindowChangeScale = 72,
/// <summary>
/// AtkTextNode Link Mouse Click.
/// </summary>
LinkMouseClick = 75,
/// <summary>
/// AtkTextNode Link Mouse Over.
/// </summary>
LinkMouseOver = 76,
/// <summary>
/// AtkTextNode Link Mouse Out.
/// </summary>
LinkMouseOut = 77,
} }