From 8627e62f2d8791fdf1c5ccf67e007d50764aed11 Mon Sep 17 00:00:00 2001 From: Jelle <60387522+JelleInfinity@users.noreply.github.com> Date: Tue, 6 Dec 2022 23:10:24 +0100 Subject: [PATCH] Update PokeResourceTable field names --- .../Poke/PokeResource/PokeResourceTable8a.cs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/pkNX.Structures.FlatBuffers/Arceus/Poke/PokeResource/PokeResourceTable8a.cs b/pkNX.Structures.FlatBuffers/Arceus/Poke/PokeResource/PokeResourceTable8a.cs index c0c32679..f6cd088b 100644 --- a/pkNX.Structures.FlatBuffers/Arceus/Poke/PokeResource/PokeResourceTable8a.cs +++ b/pkNX.Structures.FlatBuffers/Arceus/Poke/PokeResource/PokeResourceTable8a.cs @@ -41,17 +41,17 @@ public PokeModelConfig8a AddEntry(ushort species, ushort form, byte gender) { Meta = new() { Species = species, Form = form, Gender = gender }, PathModel = $"{basePath}/mdl/{pmStr}.trmdl", - PathConfig = $"{basePath}/mdl/{pmStr}.trmmt", - PathArchive = $"{basePath}/{pmStr}.trpokecfg", + PathMeshMaterial = $"{basePath}/mdl/{pmStr}.trmmt", + PathConfig = $"{basePath}/{pmStr}.trpokecfg", - Field_05 = new AnimationConfigStringTuple8a[] { + Animations = new AnimationConfigStringTuple8a[] { new(){ Name = "base", Path = $"{basePath}/anm/{pmStr}_base.tracn", } }, - Field_06 = new AnimationConfigStringTuple8a[] { + Effects = new AnimationConfigStringTuple8a[] { new() { Name = "eff", Path = $"{basePath}/locators/{pmStr}_eff.trskl", @@ -83,11 +83,11 @@ public class PokeModelConfig8a { [FlatBufferItem(00)] public PokeModelMeta8a Meta { get; set; } = new(); [FlatBufferItem(01)] public string PathModel { get; set; } = string.Empty; // string - [FlatBufferItem(02)] public string PathConfig { get; set; } = string.Empty; // string - [FlatBufferItem(03)] public string PathArchive { get; set; } = string.Empty; // string + [FlatBufferItem(02)] public string PathMeshMaterial { get; set; } = string.Empty; // string + [FlatBufferItem(03)] public string PathConfig { get; set; } = string.Empty; // string [FlatBufferItem(04)] public byte Unused { get; set; } // unused! - [FlatBufferItem(05)] public AnimationConfigStringTuple8a[] Field_05 { get; set; } = Array.Empty(); - [FlatBufferItem(06)] public AnimationConfigStringTuple8a[] Field_06 { get; set; } = Array.Empty(); + [FlatBufferItem(05)] public AnimationConfigStringTuple8a[] Animations { get; set; } = Array.Empty(); + [FlatBufferItem(06)] public AnimationConfigStringTuple8a[] Effects { get; set; } = Array.Empty(); [FlatBufferItem(07)] public int? ArceusType { get; set; } // Specified by Arceus' forms -- NEW! }