- Added auto generation of DNAClass attributes on file generation - Regenerated all files
110 lines
4.2 KiB
C#
110 lines
4.2 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(886, "bSound")]
|
|
public class bSound {
|
|
[DNAFieldAttribute(0, "ID", "id", 208)]
|
|
public ID id;
|
|
[DNAFieldAttribute(1, "char", "name[1024]", 1)]
|
|
public char[] name = new System.Char[1024];
|
|
[DNAFieldAttribute(2, "PackedFile", "*packedfile", 24)]
|
|
public PackedFile ptr_packedfile;
|
|
[DNAFieldAttribute(3, "void", "*handle", 0)]
|
|
public object ptr_handle;
|
|
[DNAFieldAttribute(4, "PackedFile", "*newpackedfile", 24)]
|
|
public PackedFile ptr_newpackedfile;
|
|
[DNAFieldAttribute(5, "Ipo", "*ipo", 248)]
|
|
public Ipo ptr_ipo;
|
|
[DNAFieldAttribute(6, "float", "volume", 4)]
|
|
public float volume;
|
|
[DNAFieldAttribute(7, "float", "attenuation", 4)]
|
|
public float attenuation;
|
|
[DNAFieldAttribute(8, "float", "pitch", 4)]
|
|
public float pitch;
|
|
[DNAFieldAttribute(9, "float", "min_gain", 4)]
|
|
public float min_gain;
|
|
[DNAFieldAttribute(10, "float", "max_gain", 4)]
|
|
public float max_gain;
|
|
[DNAFieldAttribute(11, "float", "distance", 4)]
|
|
public float distance;
|
|
[DNAFieldAttribute(12, "short", "flags", 2)]
|
|
public short flags;
|
|
[DNAFieldAttribute(13, "short", "tags", 2)]
|
|
public short tags;
|
|
[DNAFieldAttribute(14, "char", "_pad[4]", 1)]
|
|
public char[] _pad = new System.Char[4];
|
|
[DNAFieldAttribute(15, "double", "offset_time", 8)]
|
|
public double offset_time;
|
|
[DNAFieldAttribute(16, "void", "*cache", 0)]
|
|
public object ptr_cache;
|
|
[DNAFieldAttribute(17, "void", "*waveform", 0)]
|
|
public object ptr_waveform;
|
|
[DNAFieldAttribute(18, "void", "*playback_handle", 0)]
|
|
public object ptr_playback_handle;
|
|
[DNAFieldAttribute(19, "void", "*spinlock", 0)]
|
|
public object ptr_spinlock;
|
|
[DNAFieldAttribute(20, "int", "audio_channels", 4)]
|
|
public int audio_channels;
|
|
[DNAFieldAttribute(21, "int", "samplerate", 4)]
|
|
public int samplerate;
|
|
public bSound(
|
|
ID id,
|
|
char[] name,
|
|
PackedFile ptr_packedfile,
|
|
object ptr_handle,
|
|
PackedFile ptr_newpackedfile,
|
|
Ipo ptr_ipo,
|
|
float volume,
|
|
float attenuation,
|
|
float pitch,
|
|
float min_gain,
|
|
float max_gain,
|
|
float distance,
|
|
short flags,
|
|
short tags,
|
|
char[] _pad,
|
|
double offset_time,
|
|
object ptr_cache,
|
|
object ptr_waveform,
|
|
object ptr_playback_handle,
|
|
object ptr_spinlock,
|
|
int audio_channels,
|
|
int samplerate) {
|
|
this.id = id;
|
|
this.name = name;
|
|
this.ptr_packedfile = ptr_packedfile;
|
|
this.ptr_handle = ptr_handle;
|
|
this.ptr_newpackedfile = ptr_newpackedfile;
|
|
this.ptr_ipo = ptr_ipo;
|
|
this.volume = volume;
|
|
this.attenuation = attenuation;
|
|
this.pitch = pitch;
|
|
this.min_gain = min_gain;
|
|
this.max_gain = max_gain;
|
|
this.distance = distance;
|
|
this.flags = flags;
|
|
this.tags = tags;
|
|
this._pad = _pad;
|
|
this.offset_time = offset_time;
|
|
this.ptr_cache = ptr_cache;
|
|
this.ptr_waveform = ptr_waveform;
|
|
this.ptr_playback_handle = ptr_playback_handle;
|
|
this.ptr_spinlock = ptr_spinlock;
|
|
this.audio_channels = audio_channels;
|
|
this.samplerate = samplerate;
|
|
}
|
|
}
|
|
}
|