Files
BlenderSharp/BlendFile/DNA/Script.cs
2025-02-19 17:07:50 +01:00

64 lines
2.7 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(953, "Script")]
public class Script {
[DNAFieldAttribute(0, "ID", "id", "ID", 208, false)]
public ID id;
[DNAFieldAttribute(1, "void", "*py_draw", "void", 4, true)]
public object ptr_py_draw;
[DNAFieldAttribute(2, "void", "*py_event", "void", 4, true)]
public object ptr_py_event;
[DNAFieldAttribute(3, "void", "*py_button", "void", 4, true)]
public object ptr_py_button;
[DNAFieldAttribute(4, "void", "*py_browsercallback", "void", 4, true)]
public object ptr_py_browsercallback;
[DNAFieldAttribute(5, "void", "*py_globaldict", "void", 4, true)]
public object ptr_py_globaldict;
[DNAFieldAttribute(6, "int", "flags", "int", 4, false)]
public int flags;
[DNAFieldAttribute(7, "int", "lastspace", "int", 4, false)]
public int lastspace;
[DNAFieldAttribute(8, "char", "scriptname[1024]", "System.Char[]", 1024, false)]
public char[] scriptname = new System.Char[1024];
[DNAFieldAttribute(9, "char", "scriptarg[256]", "System.Char[]", 256, false)]
public char[] scriptarg = new System.Char[256];
public Script() {
this.id = default;
this.ptr_py_draw = default;
this.ptr_py_event = default;
this.ptr_py_button = default;
this.ptr_py_browsercallback = default;
this.ptr_py_globaldict = default;
this.flags = default;
this.lastspace = default;
this.scriptname = default;
this.scriptarg = default;
}
public Script(ID id, object ptr_py_draw, object ptr_py_event, object ptr_py_button, object ptr_py_browsercallback, object ptr_py_globaldict, int flags, int lastspace, char[] scriptname, char[] scriptarg) {
this.id = id;
this.ptr_py_draw = ptr_py_draw;
this.ptr_py_event = ptr_py_event;
this.ptr_py_button = ptr_py_button;
this.ptr_py_browsercallback = ptr_py_browsercallback;
this.ptr_py_globaldict = ptr_py_globaldict;
this.flags = flags;
this.lastspace = lastspace;
this.scriptname = scriptname;
this.scriptarg = scriptarg;
}
}
}