mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-01-03 14:23:40 +01:00
Fix displaying agent address
This commit is contained in:
parent
85a9e59dad
commit
08512f3845
4 changed files with 4 additions and 4 deletions
|
|
@ -6,7 +6,7 @@ using FFXIVClientStructs.FFXIV.Client.UI.Agent;
|
|||
namespace Dalamud.Game.NativeWrapper;
|
||||
|
||||
/// <summary>
|
||||
/// A wrapper for AgentInterface.
|
||||
/// A readonly wrapper for AgentInterface.
|
||||
/// </summary>
|
||||
/// <param name="address">The address to the AgentInterface.</param>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 0x08)]
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ using FFXIVClientStructs.FFXIV.Component.GUI;
|
|||
namespace Dalamud.Game.NativeWrapper;
|
||||
|
||||
/// <summary>
|
||||
/// A wrapper for AtkUnitBase.
|
||||
/// A readonly wrapper for AtkUnitBase.
|
||||
/// </summary>
|
||||
/// <param name="address">The address to the AtkUnitBase.</param>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 0x08)]
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ using FFXIVClientStructs.FFXIV.Client.UI;
|
|||
namespace Dalamud.Game.NativeWrapper;
|
||||
|
||||
/// <summary>
|
||||
/// A wrapper for UIModule.
|
||||
/// A readonly wrapper for UIModule.
|
||||
/// </summary>
|
||||
/// <param name="address">The address to the UIModule.</param>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 0x08)]
|
||||
|
|
|
|||
|
|
@ -152,7 +152,7 @@ public unsafe partial class AddonTree : IDisposable
|
|||
var uldManager = addon->UldManager;
|
||||
|
||||
PrintFieldValuePair("Address", $"{(nint)addon:X}");
|
||||
PrintFieldValuePair("Agent", $"{GameGui.FindAgentInterface(addon):X}");
|
||||
PrintFieldValuePair("Agent", $"{(nint)GameGui.FindAgentInterface(addon):X}");
|
||||
|
||||
PrintFieldValuePairs(
|
||||
("X", $"{addon->X}"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue