poe2-bot/src/Roboto.GameOffsets/Components/ActorVaalSkill.cs
2026-03-04 16:49:30 -05:00

15 lines
486 B
C#

using System.Runtime.InteropServices;
namespace Roboto.GameOffsets.Components;
/// <summary>Vaal soul tracking.</summary>
[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;
}