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

40 lines
1.5 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(112, "bUUID")]
public struct bUUID {
[DNAFieldAttribute(0, "int", "time_low", 4)]
public int time_low;
[DNAFieldAttribute(1, "ushort", "time_mid", 2)]
public ushort time_mid;
[DNAFieldAttribute(2, "ushort", "time_hi_and_version", 2)]
public ushort time_hi_and_version;
[DNAFieldAttribute(3, "uchar", "clock_seq_hi_and_reserved", 1)]
public byte clock_seq_hi_and_reserved;
[DNAFieldAttribute(4, "uchar", "clock_seq_low", 1)]
public byte clock_seq_low;
[DNAFieldAttribute(5, "uchar", "node[6]", 1)]
public byte[] node = new System.Byte[6];
public bUUID(int time_low, ushort time_mid, ushort time_hi_and_version, byte clock_seq_hi_and_reserved, byte clock_seq_low, byte[] node) {
this.time_low = time_low;
this.time_mid = time_mid;
this.time_hi_and_version = time_hi_and_version;
this.clock_seq_hi_and_reserved = clock_seq_hi_and_reserved;
this.clock_seq_low = clock_seq_low;
this.node = node;
}
}
}