test
This commit is contained in:
parent
0df70abad7
commit
0c14d78d8a
25 changed files with 1487 additions and 179 deletions
15
src/Roboto.GameOffsets/Components/ActorVaalSkill.cs
Normal file
15
src/Roboto.GameOffsets/Components/ActorVaalSkill.cs
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
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;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue