Files
BlenderSharp/BlendFile/DNA/bNodeSocket.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

126 lines
5.1 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(570, "bNodeSocket")]
public class bNodeSocket {
[DNAFieldAttribute(0, "bNodeSocket", "*next", 528)]
public bNodeSocket ptr_next;
[DNAFieldAttribute(1, "bNodeSocket", "*prev", 528)]
public bNodeSocket ptr_prev;
[DNAFieldAttribute(2, "IDProperty", "*prop", 136)]
public IDProperty ptr_prop;
[DNAFieldAttribute(3, "char", "identifier[64]", 1)]
public char[] identifier = new System.Char[64];
[DNAFieldAttribute(4, "char", "name[64]", 1)]
public char[] name = new System.Char[64];
[DNAFieldAttribute(5, "void", "*storage", 0)]
public object ptr_storage;
[DNAFieldAttribute(6, "short", "type", 2)]
public short type;
[DNAFieldAttribute(7, "short", "flag", 2)]
public short flag;
[DNAFieldAttribute(8, "short", "limit", 2)]
public short limit;
[DNAFieldAttribute(9, "short", "in_out", 2)]
public short in_out;
[DNAFieldAttribute(10, "bNodeSocketTypeHandle", "*typeinfo", 0)]
public bNodeSocketTypeHandle ptr_typeinfo;
[DNAFieldAttribute(11, "char", "idname[64]", 1)]
public char[] idname = new System.Char[64];
[DNAFieldAttribute(12, "void", "*default_value", 0)]
public object ptr_default_value;
[DNAFieldAttribute(13, "short", "stack_index", 2)]
public short stack_index;
[DNAFieldAttribute(14, "char", "display_shape", 1)]
public char display_shape;
[DNAFieldAttribute(15, "char", "attribute_domain", 1)]
public char attribute_domain;
[DNAFieldAttribute(16, "char", "_pad[4]", 1)]
public char[] _pad = new System.Char[4];
[DNAFieldAttribute(17, "char", "label[64]", 1)]
public char[] label = new System.Char[64];
[DNAFieldAttribute(18, "char", "short_label[64]", 1)]
public char[] short_label = new System.Char[64];
[DNAFieldAttribute(19, "char", "description[64]", 1)]
public char[] description = new System.Char[64];
[DNAFieldAttribute(20, "char", "*default_attribute_name", 1)]
public char ptr_default_attribute_name;
[DNAFieldAttribute(21, "int", "own_index", 4)]
public int own_index;
[DNAFieldAttribute(22, "int", "to_index", 4)]
public int to_index;
[DNAFieldAttribute(23, "bNodeLink", "*link", 56)]
public bNodeLink ptr_link;
[DNAFieldAttribute(24, "bNodeStack", "ns", 48)]
public bNodeStack ns;
[DNAFieldAttribute(25, "bNodeSocketRuntimeHandle", "*runtime", 0)]
public bNodeSocketRuntimeHandle ptr_runtime;
public bNodeSocket(
bNodeSocket ptr_next,
bNodeSocket ptr_prev,
IDProperty ptr_prop,
char[] identifier,
char[] name,
object ptr_storage,
short type,
short flag,
short limit,
short in_out,
bNodeSocketTypeHandle ptr_typeinfo,
char[] idname,
object ptr_default_value,
short stack_index,
char display_shape,
char attribute_domain,
char[] _pad,
char[] label,
char[] short_label,
char[] description,
char ptr_default_attribute_name,
int own_index,
int to_index,
bNodeLink ptr_link,
bNodeStack ns,
bNodeSocketRuntimeHandle ptr_runtime) {
this.ptr_next = ptr_next;
this.ptr_prev = ptr_prev;
this.ptr_prop = ptr_prop;
this.identifier = identifier;
this.name = name;
this.ptr_storage = ptr_storage;
this.type = type;
this.flag = flag;
this.limit = limit;
this.in_out = in_out;
this.ptr_typeinfo = ptr_typeinfo;
this.idname = idname;
this.ptr_default_value = ptr_default_value;
this.stack_index = stack_index;
this.display_shape = display_shape;
this.attribute_domain = attribute_domain;
this._pad = _pad;
this.label = label;
this.short_label = short_label;
this.description = description;
this.ptr_default_attribute_name = ptr_default_attribute_name;
this.own_index = own_index;
this.to_index = to_index;
this.ptr_link = ptr_link;
this.ns = ns;
this.ptr_runtime = ptr_runtime;
}
}
}