using Dalamud.Plugin.Services; using Dalamud.Utility.Signatures; using FFXIVClientStructs.FFXIV.Client.System.Resource; namespace SqPackIndexer { public unsafe class ResourceManagerService { public ResourceManagerService(IGameInteropProvider interop) => interop.InitializeFromAttributes(this); /// The SE Resource Manager as pointer. public ResourceManager* ResourceManager => *ResourceManagerAddress; /// A static pointer to the SE Resource Manager. [Signature(Sigs.ResourceManager, ScanType = ScanType.StaticAddress)] internal readonly ResourceManager** ResourceManagerAddress = null; } }