mirror of
https://github.com/goatcorp/Dalamud.git
synced 2026-02-22 07:47:45 +01:00
* 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>
21 lines
740 B
C#
21 lines
740 B
C#
namespace Dalamud.Game.Addon.Events;
|
|
|
|
/// <summary>
|
|
/// AddonEventManager memory address resolver.
|
|
/// </summary>
|
|
internal class AddonEventManagerAddressResolver : BaseAddressResolver
|
|
{
|
|
/// <summary>
|
|
/// Gets the address of the AtkModule UpdateCursor method.
|
|
/// </summary>
|
|
public nint UpdateCursor { get; private set; }
|
|
|
|
/// <summary>
|
|
/// Scan for and setup any configured address pointers.
|
|
/// </summary>
|
|
/// <param name="scanner">The signature scanner to facilitate setup.</param>
|
|
protected override void Setup64Bit(ISigScanner scanner)
|
|
{
|
|
this.UpdateCursor = scanner.ScanText("48 89 74 24 ?? 48 89 7C 24 ?? 41 56 48 83 EC 20 4C 8B F1 E8 ?? ?? ?? ?? 49 8B CE"); // unnamed in CS
|
|
}
|
|
}
|