Interface IMenuArgs
Interface representing a context menus args.
Assembly: Dalamud.dll
View Source
public interface IMenuArgs
Properties
EventInterfaces
Gets a list of AtkEventInterface pointers associated with the context menu. Only available with Dalamud.Game.Gui.ContextMenu.ContextMenuType.Default. Almost always an agent pointer. You can use this to find out what type of context menu it is.
View Source
IReadOnlySet<nint> EventInterfaces { get; }
AddonName
Gets the name of the addon that opened the context menu.
View Source
string? AddonName { get; }
AddonPtr
Gets the memory pointer of the addon that opened the context menu.
View Source
nint AddonPtr { get; }
AgentPtr
Gets the memory pointer of the agent that opened the context menu.
View Source
nint AgentPtr { get; }
MenuType
Gets the type of the context menu.
View Source
ContextMenuType MenuType { get; }
Target
Gets the target info of the context menu. The actual type depends on Dalamud.Game.Gui.ContextMenu.IMenuArgs.MenuType. Dalamud.Game.Gui.ContextMenu.ContextMenuType.Default signifies a Dalamud.Game.Gui.ContextMenu.MenuTargetDefault. Dalamud.Game.Gui.ContextMenu.ContextMenuType.Inventory signifies a Dalamud.Game.Gui.ContextMenu.MenuTargetInventory.
View Source
MenuTarget Target { get; }