mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-18 13:57:43 +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;
|
namespace Dalamud.Game.NativeWrapper;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// A wrapper for AgentInterface.
|
/// A readonly wrapper for AgentInterface.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="address">The address to the AgentInterface.</param>
|
/// <param name="address">The address to the AgentInterface.</param>
|
||||||
[StructLayout(LayoutKind.Explicit, Size = 0x08)]
|
[StructLayout(LayoutKind.Explicit, Size = 0x08)]
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ using FFXIVClientStructs.FFXIV.Component.GUI;
|
||||||
namespace Dalamud.Game.NativeWrapper;
|
namespace Dalamud.Game.NativeWrapper;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// A wrapper for AtkUnitBase.
|
/// A readonly wrapper for AtkUnitBase.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="address">The address to the AtkUnitBase.</param>
|
/// <param name="address">The address to the AtkUnitBase.</param>
|
||||||
[StructLayout(LayoutKind.Explicit, Size = 0x08)]
|
[StructLayout(LayoutKind.Explicit, Size = 0x08)]
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ using FFXIVClientStructs.FFXIV.Client.UI;
|
||||||
namespace Dalamud.Game.NativeWrapper;
|
namespace Dalamud.Game.NativeWrapper;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// A wrapper for UIModule.
|
/// A readonly wrapper for UIModule.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="address">The address to the UIModule.</param>
|
/// <param name="address">The address to the UIModule.</param>
|
||||||
[StructLayout(LayoutKind.Explicit, Size = 0x08)]
|
[StructLayout(LayoutKind.Explicit, Size = 0x08)]
|
||||||
|
|
|
||||||
|
|
@ -152,7 +152,7 @@ public unsafe partial class AddonTree : IDisposable
|
||||||
var uldManager = addon->UldManager;
|
var uldManager = addon->UldManager;
|
||||||
|
|
||||||
PrintFieldValuePair("Address", $"{(nint)addon:X}");
|
PrintFieldValuePair("Address", $"{(nint)addon:X}");
|
||||||
PrintFieldValuePair("Agent", $"{GameGui.FindAgentInterface(addon):X}");
|
PrintFieldValuePair("Agent", $"{(nint)GameGui.FindAgentInterface(addon):X}");
|
||||||
|
|
||||||
PrintFieldValuePairs(
|
PrintFieldValuePairs(
|
||||||
("X", $"{addon->X}"),
|
("X", $"{addon->X}"),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue