using System; namespace Dalamud.Game.Internal.Gui { /// /// An address resolver for the class. /// public class FlyTextGuiAddressResolver : BaseAddressResolver { /// /// Gets the address of the native AddFlyText method, which occurs /// when the game adds fly text elements to the UI. Multiple fly text /// elements can be added in a single AddFlyText call. /// public IntPtr AddFlyText { get; private set; } /// /// Gets the address of the native CreateFlyText method, which occurs /// when the game creates a new fly text element. This method is called /// once per fly text element, and can be called multiple times per /// AddFlyText call. /// public IntPtr CreateFlyText { get; private set; } /// protected override void Setup64Bit(SigScanner sig) { this.AddFlyText = sig.ScanText("E8 ?? ?? ?? ?? FF C7 41 D1 C7"); this.CreateFlyText = sig.ScanText("48 89 74 24 ?? 48 89 7C 24 ?? 41 56 48 83 EC 40 48 63 FA"); } } }