Skip to main content
Version: 15.x (API 15) [Current]

Class AddonMouseEventData

Object representing data that is relevant in handling native events.

Assembly: Dalamud.dll​
Declaration
public class AddonMouseEventData : AddonEventData

Inheritance: System.Object -> Dalamud.Game.Addon.Events.EventDataTypes.AddonEventData

Properties​

IsLeftClick​

Gets a value indicating whether the event was a Left Mouse Click.

Declaration
public bool IsLeftClick { get; }

IsRightClick​

Gets a value indicating whether the event was a Right Mouse Click.

Declaration
public bool IsRightClick { get; }

IsNoModifier​

Gets a value indicating whether there are any modifiers set such as alt, control, shift, or dragging.

Declaration
public bool IsNoModifier { get; }

IsAltHeld​

Gets a value indicating whether alt was being held when this event triggered.

Declaration
public bool IsAltHeld { get; }

IsControlHeld​

Gets a value indicating whether control was being held when this event triggered.

Declaration
public bool IsControlHeld { get; }

IsShiftHeld​

Gets a value indicating whether shift was being held when this event triggered.

Declaration
public bool IsShiftHeld { get; }

IsDragging​

Gets a value indicating whether this event is a mouse drag or not.

Declaration
public bool IsDragging { get; }

IsScrollUp​

Gets a value indicating whether the event was a scroll up.

Declaration
public bool IsScrollUp { get; }

IsScrollDown​

Gets a value indicating whether the event was a scroll down.

Declaration
public bool IsScrollDown { get; }

Position​

Gets the position of the mouse when this event was triggered.

Declaration
public Vector2 Position { get; }