Dalamud/Dalamud/Game/Config/GameConfigAddressResolver.cs
2025-11-27 09:41:02 +01:00

20 lines
589 B
C#

using Dalamud.Plugin.Services;
namespace Dalamud.Game.Config;
/// <summary>
/// Game config system address resolver.
/// </summary>
internal sealed class GameConfigAddressResolver : BaseAddressResolver
{
/// <summary>
/// Gets the address of the method called when any config option is changed.
/// </summary>
public nint ConfigChangeAddress { get; private set; }
/// <inheritdoc/>
protected override void Setup64Bit(ISigScanner scanner)
{
this.ConfigChangeAddress = scanner.ScanText("E8 ?? ?? ?? ?? 48 8B 3F 49 3B 3E"); // unnamed in CS
}
}