add sync of offhand weapons

This commit is contained in:
Stanley Dimant
2022-07-02 13:07:51 +02:00
parent 0a6584bc32
commit c0e7f6914e
2 changed files with 62 additions and 9 deletions

View File

@@ -12,6 +12,9 @@ namespace MareSynchronos.Interop
[StructLayout(LayoutKind.Explicit)]
public unsafe struct Weapon
{
[FieldOffset(0x18)] public IntPtr Parent;
[FieldOffset(0x20)] public IntPtr NextSibling;
[FieldOffset(0x28)] public IntPtr PreviousSibling;
[FieldOffset(0xA8)] public WeaponDrawObject* WeaponRenderModel;
}