internal static AudioArrayVoice ParseAsset(BinaryReader reader, AssetImportCollection imports) { return(new AudioArrayVoice { AudioEntries = reader.ReadListAtOffset(() => AudioVoiceEntry.ParseAsset(reader, imports)), ObjectSpecificEntries = reader.ReadArrayAtOffset(() => AudioObjectSpecificVoiceEntry.ParseAsset(reader, imports)), NamedEntries = reader.ReadArrayAtOffset(() => AudioVoiceReferentialEntry.ParseAsset(reader, imports)), }); }
internal static AudioVoiceEntry ParseAsset(BinaryReader reader, AssetImportCollection imports) { var result = new AudioVoiceEntry(); ParseAsset(reader, result, imports); result.AudioType = reader.ReadUInt32AsEnum <ThingTemplateVoiceType>(); return(result); }