mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-27 10:59:18 +01:00
21 lines
784 B
C#
21 lines
784 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using Dalamud.Game.Internal;
|
|
|
|
namespace Dalamud.Game.ClientState
|
|
{
|
|
public sealed class ClientStateAddressResolver : BaseAddressResolver {
|
|
public IntPtr ActorTable { get; private set; }
|
|
public IntPtr LocalContentId { get; private set; }
|
|
public IntPtr JobGaugeData { get; set; }
|
|
|
|
protected override void Setup64Bit(SigScanner sig) {
|
|
ActorTable = sig.GetStaticAddressFromSig("48 8D 0D ?? ?? ?? ?? 85 ED", 0) + 0x148;
|
|
LocalContentId = sig.Module.BaseAddress + 0x1C2E000;
|
|
JobGaugeData = sig.GetStaticAddressFromSig("E8 ?? ?? ?? ?? 80 BB ?? ?? ?? ?? ?? 77 93", 0x220) + 0x10;
|
|
}
|
|
}
|
|
}
|