refactor: ContextMenus cleanup, docs

This commit is contained in:
goaaats 2022-01-28 23:50:06 +01:00
parent 4aebbfa2cb
commit 7a242c962a
No known key found for this signature in database
GPG key ID: 49E2AA8C6A76498B
14 changed files with 179 additions and 135 deletions

View file

@ -12,7 +12,7 @@ using FFXIVClientStructs.FFXIV.Client.UI;
using FFXIVClientStructs.FFXIV.Client.UI.Agent;
using FFXIVClientStructs.FFXIV.Component.GUI;
using Serilog;
using SignatureHelper = Dalamud.Utility.Signatures.SignatureHelper;
using ValueType = FFXIVClientStructs.FFXIV.Component.GUI.ValueType;
namespace Dalamud.Game.Gui.ContextMenus
@ -48,7 +48,6 @@ namespace Dalamud.Game.Gui.ContextMenus
/// <summary>
/// Initializes a new instance of the <see cref="ContextMenu"/> class.
/// </summary>
/// <param name="address">Address resolver for context menu hooks.</param>
public ContextMenu()
{
this.Address = new ContextMenuAddressResolver();
@ -66,7 +65,6 @@ namespace Dalamud.Game.Gui.ContextMenus
}
}
#region Delegates
private unsafe delegate bool OpenSubContextMenuDelegate(AgentContext* agentContext);