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

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