Added count field type argument to the list attribute

This commit is contained in:
Samuele Lorefice
2025-03-06 19:41:37 +01:00
parent e11cd54096
commit bfa185c8e4
12 changed files with 59 additions and 28 deletions

View File

@@ -59,6 +59,15 @@ namespace BlendFile {
this._UnderlyingType = value;
}
}
private string _CountFieldType;
public virtual string CountFieldType {
get {
return this._CountFieldType;
}
set {
this._CountFieldType = value;
}
}
private string _CountFieldName;
public virtual string CountFieldName {
get {
@@ -95,13 +104,14 @@ namespace BlendFile {
this._CountMemoryOffset = value;
}
}
public DNAListAttribute(int Size, string OriginalType, string OriginalName, int OriginalIndex, string UnderlyingType, string CountFieldName, int CountFieldIndex, int PtrMemoryOffset, int CountMemoryOffset) :
public DNAListAttribute(int Size, string OriginalType, string OriginalName, int OriginalIndex, string UnderlyingType, string CountFieldType, string CountFieldName, int CountFieldIndex, int PtrMemoryOffset, int CountMemoryOffset) :
base(OriginalIndex, OriginalName) {
this._Size = Size;
this._OriginalType = OriginalType;
this._OriginalName = OriginalName;
this._OriginalIndex = OriginalIndex;
this._UnderlyingType = UnderlyingType;
this._CountFieldType = CountFieldType;
this._CountFieldName = CountFieldName;
this._CountFieldIndex = CountFieldIndex;
this._PtrMemoryOffset = PtrMemoryOffset;