Skip to main content

Class AddonMouseEventData

Object representing data that is relevant in handling native events.

Assembly: Dalamud.dll
View Source
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.

View Source
Declaration
public bool IsLeftClick { get; }

IsRightClick

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

View Source
Declaration
public bool IsRightClick { get; }

IsNoModifier

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

View Source
Declaration
public bool IsNoModifier { get; }

IsAltHeld

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

View Source
Declaration
public bool IsAltHeld { get; }

IsControlHeld

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

View Source
Declaration
public bool IsControlHeld { get; }

IsShiftHeld

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

View Source
Declaration
public bool IsShiftHeld { get; }

IsDragging

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

View Source
Declaration
public bool IsDragging { get; }

IsScrollUp

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

View Source
Declaration
public bool IsScrollUp { get; }

IsScrollDown

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

View Source
Declaration
public bool IsScrollDown { get; }

Position

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

View Source
Declaration
public Vector2 Position { get; }