92 lines
2.5 KiB
C#
92 lines
2.5 KiB
C#
//------------------------------------------------------------------------------
|
|
// <auto-generated>
|
|
// This code was generated by a tool.
|
|
//
|
|
// Changes to this file may cause incorrect behavior and will be lost if
|
|
// the code is regenerated.
|
|
// </auto-generated>
|
|
//------------------------------------------------------------------------------
|
|
|
|
using System;
|
|
|
|
|
|
namespace BlendFile {
|
|
|
|
[AttributeUsage(AttributeTargets.Field)]
|
|
public class DNAFieldAttribute : System.Attribute {
|
|
private int _size;
|
|
public virtual int Size {
|
|
get {
|
|
return this._size;
|
|
}
|
|
set {
|
|
this._size = value;
|
|
}
|
|
}
|
|
private string _originalType;
|
|
public virtual string OriginalType {
|
|
get {
|
|
return this._originalType;
|
|
}
|
|
set {
|
|
this._originalType = value;
|
|
}
|
|
}
|
|
private string _originalName;
|
|
public virtual string OriginalName {
|
|
get {
|
|
return this._originalName;
|
|
}
|
|
set {
|
|
this._originalName = value;
|
|
}
|
|
}
|
|
private int _originalIndex;
|
|
public virtual int OriginalIndex {
|
|
get {
|
|
return this._originalIndex;
|
|
}
|
|
set {
|
|
this._originalIndex = value;
|
|
}
|
|
}
|
|
public virtual string UnderlyingType {
|
|
get {
|
|
return _originalType;
|
|
}
|
|
set {
|
|
this._originalType = value;
|
|
}
|
|
}
|
|
private bool _isPointer;
|
|
public virtual bool IsPointer {
|
|
get {
|
|
return _isPointer;
|
|
}
|
|
set {
|
|
this._isPointer = value;
|
|
}
|
|
}
|
|
|
|
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;
|
|
}
|
|
}
|
|
}
|