134 lines
5.5 KiB
C#
134 lines
5.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(886, "bSound", 1344)]
|
|
public class bSound {
|
|
[DNAFieldAttribute(0, "ID", "id", "ID", 208, false, 0)]
|
|
public ID id;
|
|
[DNAFieldAttribute(1, "char", "name[1024]", "System.Char[]", 1024, false, 208)]
|
|
public char[] name = new System.Char[1024];
|
|
[DNAFieldAttribute(2, "PackedFile", "*packedfile", "PackedFile", 8, true, 1232)]
|
|
public PackedFile ptr_packedfile;
|
|
[DNAFieldAttribute(3, "void", "*handle", "void", 8, true, 1240)]
|
|
public object ptr_handle;
|
|
[DNAFieldAttribute(4, "PackedFile", "*newpackedfile", "PackedFile", 8, true, 1248)]
|
|
public PackedFile ptr_newpackedfile;
|
|
[DNAFieldAttribute(5, "Ipo", "*ipo", "Ipo", 8, true, 1256)]
|
|
public Ipo ptr_ipo;
|
|
[DNAFieldAttribute(6, "float", "volume", "float", 4, false, 1264)]
|
|
public float volume;
|
|
[DNAFieldAttribute(7, "float", "attenuation", "float", 4, false, 1268)]
|
|
public float attenuation;
|
|
[DNAFieldAttribute(8, "float", "pitch", "float", 4, false, 1272)]
|
|
public float pitch;
|
|
[DNAFieldAttribute(9, "float", "min_gain", "float", 4, false, 1276)]
|
|
public float min_gain;
|
|
[DNAFieldAttribute(10, "float", "max_gain", "float", 4, false, 1280)]
|
|
public float max_gain;
|
|
[DNAFieldAttribute(11, "float", "distance", "float", 4, false, 1284)]
|
|
public float distance;
|
|
[DNAFieldAttribute(12, "short", "flags", "short", 2, false, 1288)]
|
|
public short flags;
|
|
[DNAFieldAttribute(13, "short", "tags", "short", 2, false, 1290)]
|
|
public short tags;
|
|
[DNAFieldAttribute(14, "char", "_pad[4]", "System.Char[]", 4, false, 1292)]
|
|
public char[] _pad = new System.Char[4];
|
|
[DNAFieldAttribute(15, "double", "offset_time", "double", 8, false, 1296)]
|
|
public double offset_time;
|
|
[DNAFieldAttribute(16, "void", "*cache", "void", 8, true, 1304)]
|
|
public object ptr_cache;
|
|
[DNAFieldAttribute(17, "void", "*waveform", "void", 8, true, 1312)]
|
|
public object ptr_waveform;
|
|
[DNAFieldAttribute(18, "void", "*playback_handle", "void", 8, true, 1320)]
|
|
public object ptr_playback_handle;
|
|
[DNAFieldAttribute(19, "void", "*spinlock", "void", 8, true, 1328)]
|
|
public object ptr_spinlock;
|
|
[DNAFieldAttribute(20, "int", "audio_channels", "int", 4, false, 1336)]
|
|
public int audio_channels;
|
|
[DNAFieldAttribute(21, "int", "samplerate", "int", 4, false, 1340)]
|
|
public int samplerate;
|
|
public bSound() {
|
|
this.id = default;
|
|
this.name = default;
|
|
this.ptr_packedfile = default;
|
|
this.ptr_handle = default;
|
|
this.ptr_newpackedfile = default;
|
|
this.ptr_ipo = default;
|
|
this.volume = default;
|
|
this.attenuation = default;
|
|
this.pitch = default;
|
|
this.min_gain = default;
|
|
this.max_gain = default;
|
|
this.distance = default;
|
|
this.flags = default;
|
|
this.tags = default;
|
|
this._pad = default;
|
|
this.offset_time = default;
|
|
this.ptr_cache = default;
|
|
this.ptr_waveform = default;
|
|
this.ptr_playback_handle = default;
|
|
this.ptr_spinlock = default;
|
|
this.audio_channels = default;
|
|
this.samplerate = default;
|
|
}
|
|
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;
|
|
}
|
|
}
|
|
}
|