/// <summary> /// Initialize the class with the string name of the data. /// </summary> /// <param name="parent"></param> /// <param name="str">Data object name.</param> protected audSoundBase(RageDataFile parent, string str) : base(parent, str) { Header = new audSoundHeader(parent); AudioTracks = new audHashCollection(this); AudioContainers = new audHashCollection(this); }
/// <summary> /// Default parameterless constructor for serialization. /// </summary> protected audSoundBase() { Header = new audSoundHeader(); AudioTracks = new audHashCollection(this); AudioContainers = new audHashCollection(this); }
/// <summary> /// Initialize the class with the hashed name of the data. /// </summary> /// <param name="parent"></param> /// <param name="hashName">Data object hash.</param> protected audSoundBase(RageDataFile parent, uint hashName) : base(parent, hashName) { Header = new audSoundHeader(parent); AudioTracks = new audHashCollection(this); AudioContainers = new audHashCollection(this); }