Added memoryOffset value to DNAFieldAttribute, regenerated files.

This commit is contained in:
Samuele Lorefice
2025-02-20 21:00:55 +01:00
parent b171b65aa5
commit f383debd18
939 changed files with 9636 additions and 9605 deletions

View File

@@ -67,13 +67,25 @@ namespace BlendFile {
this._isPointer = value;
}
}
public DNAFieldAttribute(int originalIndex, string originalType, string originalName, string underlyingType, int size, bool isPointer) {
private int _memoryOffset;
public virtual int MemoryOffset {
get {
return 0;
}
set {
this._memoryOffset = value;
}
}
public DNAFieldAttribute(int originalIndex, string originalType, string originalName, string underlyingType, int size, bool isPointer, int memoryOffset) {
this.OriginalIndex = originalIndex;
this.OriginalType = originalType;
this.OriginalName = originalName;
this.OriginalType = underlyingType;
this.Size = size;
this.IsPointer = isPointer;
this.MemoryOffset = memoryOffset;
}
}
}