15 lines
486 B
C#
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;
|
|
}
|