From 0604caad4e6dcf5e52af99659b82c0e682391e74 Mon Sep 17 00:00:00 2001 From: Blair Date: Sat, 29 Jun 2024 19:28:56 +1000 Subject: [PATCH] Fix inheritence of IMenuItemClickedArgs (#1863) --- .../Gui/ContextMenu/MenuItemClickedArgs.cs | 37 +------------------ 1 file changed, 1 insertion(+), 36 deletions(-) diff --git a/Dalamud/Game/Gui/ContextMenu/MenuItemClickedArgs.cs b/Dalamud/Game/Gui/ContextMenu/MenuItemClickedArgs.cs index b2542132a..03ff486ef 100644 --- a/Dalamud/Game/Gui/ContextMenu/MenuItemClickedArgs.cs +++ b/Dalamud/Game/Gui/ContextMenu/MenuItemClickedArgs.cs @@ -40,7 +40,7 @@ internal sealed unsafe class MenuItemClickedArgs : MenuArgs, IMenuItemClickedArg /// /// An interface representing the callback args used when a menu item is clicked. /// -public interface IMenuItemClickedArgs +public interface IMenuItemClickedArgs : IMenuArgs { /// /// Opens a submenu with the given name and items. @@ -54,39 +54,4 @@ public interface IMenuItemClickedArgs /// /// The items to display in the submenu. void OpenSubmenu(IReadOnlyList items); - - /// - /// Gets a list of AtkEventInterface pointers associated with the context menu. - /// Only available with . - /// Almost always an agent pointer. You can use this to find out what type of context menu it is. - /// - /// Thrown when the context menu is not a . - IReadOnlySet EventInterfaces { get; } - - /// - /// Gets the name of the addon that opened the context menu. - /// - string? AddonName { get; } - - /// - /// Gets the memory pointer of the addon that opened the context menu. - /// - nint AddonPtr { get; } - - /// - /// Gets the memory pointer of the agent that opened the context menu. - /// - nint AgentPtr { get; } - - /// - /// Gets the type of the context menu. - /// - ContextMenuType MenuType { get; } - - /// - /// Gets the target info of the context menu. The actual type depends on . - /// signifies a . - /// signifies a . - /// - MenuTarget Target { get; } }