Dalamud/Dalamud/Game/DutyState/DutyStateAddressResolver.cs
KazWolfe 097f85eff6
Move more things to ClientStructs (#2080)
* GameGui uses CS methods now

Co-authored-by: Infi <infiziert@protonmail.ch>

* Shove even more things over to CS

* Clean up NetworkHandlers too

* bump cs so things build at least

---------

Co-authored-by: Infi <infiziert@protonmail.ch>
2024-11-14 08:29:28 -08:00

21 lines
805 B
C#

namespace Dalamud.Game.DutyState;
/// <summary>
/// Duty state memory address resolver.
/// </summary>
internal class DutyStateAddressResolver : BaseAddressResolver
{
/// <summary>
/// Gets the address of the method which is called when the client receives a content director update.
/// </summary>
public IntPtr ContentDirectorNetworkMessage { get; private set; }
/// <summary>
/// Scan for and setup any configured address pointers.
/// </summary>
/// <param name="sig">The signature scanner to facilitate setup.</param>
protected override void Setup64Bit(ISigScanner sig)
{
this.ContentDirectorNetworkMessage = sig.ScanText("48 89 5C 24 ?? 48 89 6C 24 ?? 48 89 74 24 ?? 57 41 56 41 57 48 83 EC ?? 33 FF 48 8B D9 41 0F B7 08"); // unnamed in cs
}
}