update to api9
This commit is contained in:
		| @@ -1,11 +0,0 @@ | ||||
| using System.Runtime.InteropServices; | ||||
| using FFXIVClientStructs.FFXIV.Client.Game.Character; | ||||
|  | ||||
| namespace MareSynchronos.Interop.FFXIV; | ||||
|  | ||||
| [StructLayout(LayoutKind.Explicit)] | ||||
| public unsafe struct CharaExt | ||||
| { | ||||
|     [FieldOffset(0x0)] public Character Character; | ||||
|     [FieldOffset(0x650)] public Character* Mount; | ||||
| } | ||||
| @@ -1,12 +0,0 @@ | ||||
| using System.Runtime.InteropServices; | ||||
| using FFXIVClientStructs.FFXIV.Client.Graphics.Scene; | ||||
|  | ||||
| namespace MareSynchronos.Interop.FFXIV; | ||||
|  | ||||
| [StructLayout(LayoutKind.Explicit)] | ||||
| public unsafe struct HumanExt | ||||
| { | ||||
|     [FieldOffset(0x0)] public Human Human; | ||||
|     [FieldOffset(0x9E8)] public ResourceHandle* Decal; | ||||
|     [FieldOffset(0x9F0)] public ResourceHandle* LegacyBodyDecal; | ||||
| } | ||||
| @@ -1,10 +0,0 @@ | ||||
| using System.Runtime.InteropServices; | ||||
|  | ||||
| namespace MareSynchronos.Interop.FFXIV; | ||||
|  | ||||
| [StructLayout(LayoutKind.Explicit)] | ||||
| public unsafe struct Material | ||||
| { | ||||
|     [FieldOffset(0x10)] | ||||
|     public ResourceHandle* ResourceHandle; | ||||
| } | ||||
| @@ -1,10 +0,0 @@ | ||||
| using System.Runtime.InteropServices; | ||||
|  | ||||
| namespace MareSynchronos.Interop.FFXIV; | ||||
|  | ||||
| [StructLayout(LayoutKind.Explicit)] | ||||
| public unsafe struct MaterialData | ||||
| { | ||||
|     [FieldOffset(0x0)] | ||||
|     public byte* Data; | ||||
| } | ||||
| @@ -1,28 +0,0 @@ | ||||
| using System.Runtime.InteropServices; | ||||
|  | ||||
| namespace MareSynchronos.Interop.FFXIV; | ||||
|  | ||||
| [StructLayout(LayoutKind.Explicit)] | ||||
| public unsafe struct MtrlResource | ||||
| { | ||||
|     [FieldOffset(0x00)] | ||||
|     public ResourceHandle Handle; | ||||
|  | ||||
|     [FieldOffset(0xD0)] | ||||
|     public ushort* TexSpace; // Contains the offsets for the tex files inside the string list. | ||||
|  | ||||
|     [FieldOffset(0xE0)] | ||||
|     public byte* StringList; | ||||
|  | ||||
|     [FieldOffset(0xF8)] | ||||
|     public ushort ShpkOffset; | ||||
|  | ||||
|     [FieldOffset(0xFA)] | ||||
|     public byte NumTex; | ||||
|  | ||||
|     public byte* ShpkString | ||||
|         => StringList + ShpkOffset; | ||||
|  | ||||
|     public byte* TexString(int idx) | ||||
|         => StringList + *(TexSpace + 4 + idx * 8); | ||||
| } | ||||
		Reference in New Issue
	
	Block a user
	 rootdarkarchon
					rootdarkarchon