refactor
This commit is contained in:
parent
4424f4c3a8
commit
0e7de0a5f3
281 changed files with 3188 additions and 611 deletions
|
|
@ -1,25 +0,0 @@
|
|||
using System.Runtime.InteropServices;
|
||||
using Roboto.GameOffsets.Natives;
|
||||
|
||||
namespace Roboto.GameOffsets.Components;
|
||||
|
||||
/// <summary>Buffs component — active status effects.</summary>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 0x178)]
|
||||
public struct Buffs
|
||||
{
|
||||
[FieldOffset(0x00)] public ComponentHeader Header;
|
||||
|
||||
/// <summary>StdVector of StatusEffectStruct pointers.</summary>
|
||||
[FieldOffset(0x160)] public StdVector StatusEffects;
|
||||
}
|
||||
|
||||
/// <summary>A single status effect (buff/debuff).</summary>
|
||||
[StructLayout(LayoutKind.Explicit, Size = 0x40)]
|
||||
public struct StatusEffectStruct
|
||||
{
|
||||
[FieldOffset(0x00)] public nint NamePtr;
|
||||
[FieldOffset(0x10)] public float Duration;
|
||||
[FieldOffset(0x14)] public float Timer;
|
||||
[FieldOffset(0x18)] public int Charges;
|
||||
[FieldOffset(0x1C)] public short FlaskSlot;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue