using System.Runtime.InteropServices; namespace Roboto.GameOffsets.Components; /// Vaal soul tracking. [StructLayout(LayoutKind.Explicit, Pack = 1)] public struct ActorVaalSoulStructure { [FieldOffset(0x00)] public nint ActiveSkillsDatPtr; [FieldOffset(0x08)] public nint UselessPtr; [FieldOffset(0x10)] public int RequiredSouls; [FieldOffset(0x14)] public int CurrentSouls; public readonly bool CannotBeUsed => CurrentSouls < RequiredSouls; }