mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 19:17:22 +01:00
add weapon sync
This commit is contained in:
parent
6994112b03
commit
0a6584bc32
4 changed files with 81 additions and 11 deletions
23
MareSynchronos/Interop/Weapon.cs
Normal file
23
MareSynchronos/Interop/Weapon.cs
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using FFXIVClientStructs.FFXIV.Client.Graphics.Scene;
|
||||
using Penumbra.Interop.Structs;
|
||||
|
||||
namespace MareSynchronos.Interop
|
||||
{
|
||||
[StructLayout(LayoutKind.Explicit)]
|
||||
public unsafe struct Weapon
|
||||
{
|
||||
[FieldOffset(0xA8)] public WeaponDrawObject* WeaponRenderModel;
|
||||
}
|
||||
|
||||
[StructLayout(LayoutKind.Explicit)]
|
||||
public unsafe struct WeaponDrawObject
|
||||
{
|
||||
[FieldOffset(0x00)] public RenderModel* RenderModel;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue