Fixed list length value returning always zero.

Added separated pointer and count memory offsets to list attributes.
Tried handling them
This commit is contained in:
Samuele Lorefice
2025-03-06 19:11:03 +01:00
parent 0bc7f73aee
commit fb50e3fa44
12 changed files with 75 additions and 48 deletions

View File

@@ -13,11 +13,11 @@ using System;
namespace BlendFile.DNA {
using BlendFile;
[DNAClassAttribute(68, "ActionStripKeyframeData", 4)]
[DNAClassAttribute(68, "ActionStripKeyframeData", 12)]
public class ActionStripKeyframeData {
[DNAFieldAttribute(4, "uchar", 2, "_pad[4]", "System.Byte[]", false, 0)]
public byte[] _pad = new System.Byte[4];
[DNAListAttribute(8, "ActionChannelBag", "**channelbag_array", 0, "ActionChannelBag", "channelbag_array_num", 1, 4)]
[DNAListAttribute(8, "ActionChannelBag", "**channelbag_array", 0, "ActionChannelBag", "channelbag_array_num", 1, 4, 0)]
public System.Collections.Generic.List<ActionChannelBag> channelbag_array;
public ActionStripKeyframeData() {
this._pad = default;