39 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			39 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
| using System;
 | |
| using System.Runtime.InteropServices;
 | |
| using FFXIVClientStructs.FFXIV.Client.Game.Character;
 | |
| using FFXIVClientStructs.FFXIV.Client.Graphics.Scene;
 | |
| using FFXIVClientStructs.FFXIV.Client.System.Resource.Handle;
 | |
| using Penumbra.Interop.Structs;
 | |
| 
 | |
| 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;
 | |
| }
 | |
| 
 | |
| [StructLayout(LayoutKind.Explicit)]
 | |
| public unsafe struct WeaponDrawObject
 | |
| {
 | |
|     [FieldOffset(0x00)] public RenderModel* RenderModel;
 | |
| }
 | |
| 
 | |
| [StructLayout(LayoutKind.Explicit)]
 | |
| public unsafe struct HumanExt
 | |
| {
 | |
|     [FieldOffset(0x0)] public Human Human;
 | |
|     [FieldOffset(0x9E8)] public Penumbra.Interop.Structs.ResourceHandle* Decal;
 | |
|     [FieldOffset(0x9F0)] public Penumbra.Interop.Structs.ResourceHandle* LegacyBodyDecal;
 | |
| }
 | |
| 
 | |
| [StructLayout(LayoutKind.Explicit)]
 | |
| public unsafe struct CharaExt
 | |
| {
 | |
|     [FieldOffset(0x0)] public Character Character;
 | |
|     [FieldOffset(0x650)] public Character* Mount;
 | |
| }
 | 
