Make it build against Dalamud 13 (#84)

This commit is contained in:
N. Lo.
2025-08-08 22:42:18 +02:00
committed by GitHub
parent f94af2cc9e
commit 108bbe2a02
34 changed files with 78 additions and 82 deletions

View File

@@ -43,8 +43,8 @@ public sealed class XivDataAnalyzer
if ((nint)handle == nint.Zero) continue;
var curBones = handle->BoneCount;
// this is unrealistic, the filename shouldn't ever be that long
if (handle->ResourceHandle.FileName.Length > 1024) continue;
var skeletonName = handle->ResourceHandle.FileName.ToString();
if (handle->FileName.Length > 1024) continue;
var skeletonName = handle->FileName.ToString();
if (string.IsNullOrEmpty(skeletonName)) continue;
outputIndices[skeletonName] = new();
for (ushort boneIdx = 0; boneIdx < curBones; boneIdx++)