Files
BlenderSharp/BlendFile/DNA/CustomDataLayer.cs
Samuele Lorefice 0674e6b136 - Modified DNAClassAttribute to also support usage on structs
- Added auto generation of DNAClass attributes on file generation
- Regenerated all files
2025-01-23 16:15:50 +01:00

58 lines
2.2 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.DNA {
using BlendFile;
[DNAClassAttribute(221, "CustomDataLayer")]
public class CustomDataLayer {
[DNAFieldAttribute(0, "int", "type", 4)]
public int type;
[DNAFieldAttribute(1, "int", "offset", 4)]
public int offset;
[DNAFieldAttribute(2, "int", "flag", 4)]
public int flag;
[DNAFieldAttribute(3, "int", "active", 4)]
public int active;
[DNAFieldAttribute(4, "int", "active_rnd", 4)]
public int active_rnd;
[DNAFieldAttribute(5, "int", "active_clone", 4)]
public int active_clone;
[DNAFieldAttribute(6, "int", "active_mask", 4)]
public int active_mask;
[DNAFieldAttribute(7, "int", "uid", 4)]
public int uid;
[DNAFieldAttribute(8, "char", "name[68]", 1)]
public char[] name = new System.Char[68];
[DNAFieldAttribute(9, "char", "_pad1[4]", 1)]
public char[] _pad1 = new System.Char[4];
[DNAFieldAttribute(10, "void", "*data", 0)]
public object ptr_data;
[DNAFieldAttribute(11, "ImplicitSharingInfoHandle", "*sharing_info", 0)]
public ImplicitSharingInfoHandle ptr_sharing_info;
public CustomDataLayer(int type, int offset, int flag, int active, int active_rnd, int active_clone, int active_mask, int uid, char[] name, char[] _pad1, object ptr_data, ImplicitSharingInfoHandle ptr_sharing_info) {
this.type = type;
this.offset = offset;
this.flag = flag;
this.active = active;
this.active_rnd = active_rnd;
this.active_clone = active_clone;
this.active_mask = active_mask;
this.uid = uid;
this.name = name;
this._pad1 = _pad1;
this.ptr_data = ptr_data;
this.ptr_sharing_info = ptr_sharing_info;
}
}
}