Files
BlenderSharp/BlendFile/DNA/Script.cs
2025-03-04 18:48:04 +01:00

64 lines
2.6 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", 1536)]
public class Script {
[DNAFieldAttribute(208, "ID", 0, "id", "ID", false, 0)]
public ID id;
[DNAFieldAttribute(8, "void", 1, "*py_draw", "void", true, 208)]
public object py_draw;
[DNAFieldAttribute(8, "void", 2, "*py_event", "void", true, 216)]
public object py_event;
[DNAFieldAttribute(8, "void", 3, "*py_button", "void", true, 224)]
public object py_button;
[DNAFieldAttribute(8, "void", 4, "*py_browsercallback", "void", true, 232)]
public object py_browsercallback;
[DNAFieldAttribute(8, "void", 5, "*py_globaldict", "void", true, 240)]
public object py_globaldict;
[DNAFieldAttribute(4, "int", 6, "flags", "int", false, 248)]
public int flags;
[DNAFieldAttribute(4, "int", 7, "lastspace", "int", false, 252)]
public int lastspace;
[DNAFieldAttribute(1024, "char", 8, "scriptname[1024]", "System.Char[]", false, 256)]
public char[] scriptname = new System.Char[1024];
[DNAFieldAttribute(256, "char", 9, "scriptarg[256]", "System.Char[]", false, 1280)]
public char[] scriptarg = new System.Char[256];
public Script() {
this.id = default;
this.py_draw = default;
this.py_event = default;
this.py_button = default;
this.py_browsercallback = default;
this.py_globaldict = default;
this.flags = default;
this.lastspace = default;
this.scriptname = default;
this.scriptarg = default;
}
public Script(ID id, object py_draw, object py_event, object py_button, object py_browsercallback, object py_globaldict, int flags, int lastspace, char[] scriptname, char[] scriptarg) {
this.id = id;
this.py_draw = py_draw;
this.py_event = py_event;
this.py_button = py_button;
this.py_browsercallback = py_browsercallback;
this.py_globaldict = py_globaldict;
this.flags = flags;
this.lastspace = lastspace;
this.scriptname = scriptname;
this.scriptarg = scriptarg;
}
}
}