Change resolving to possibly work correctly for all materials and load specific materials for each collection.

This commit is contained in:
Ottermandias 2022-03-24 22:01:39 +01:00
parent b6ed27e235
commit 1e5776a481
16 changed files with 408 additions and 172 deletions

View file

@ -1,6 +1,8 @@
using System;
using System.Runtime.InteropServices;
using FFXIVClientStructs.FFXIV.Client.System.Resource;
using Penumbra.GameData.Enums;
using Penumbra.Interop.Resolver;
namespace Penumbra.Interop.Structs;
@ -45,7 +47,7 @@ public unsafe struct ResourceHandle
public ResourceCategory Category;
[FieldOffset( 0x0C )]
public uint FileType;
public ResourceType FileType;
[FieldOffset( 0x10 )]
public uint Id;