chore: some more context menu debug output

This commit is contained in:
goaaats 2022-01-30 22:29:14 +01:00
parent ccb3f1100a
commit 5b74435050
No known key found for this signature in database
GPG key ID: 49E2AA8C6A76498B
2 changed files with 13 additions and 1 deletions

View file

@ -11,6 +11,7 @@ using Dalamud.Memory;
using FFXIVClientStructs.FFXIV.Client.UI;
using FFXIVClientStructs.FFXIV.Client.UI.Agent;
using FFXIVClientStructs.FFXIV.Component.GUI;
using Serilog;
using ValueType = FFXIVClientStructs.FFXIV.Component.GUI.ValueType;
@ -277,6 +278,8 @@ namespace Dalamud.Game.Gui.ContextMenus
{
var parentAddonName = this.GetParentAddonName(&addonContextMenu->AtkUnitBase);
Log.Warning($"AgentContextInterface at: {new IntPtr(agentContextInterface):X}");
InventoryItemContext? inventoryItemContext = null;
GameObjectContext? gameObjectContext = null;
if (IsInventoryContext(agentContextInterface))