Esempio n. 1
0
 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)),
     });
 }
Esempio n. 2
0
        internal static AudioVoiceReferentialEntry ParseAsset(BinaryReader reader, AssetImportCollection imports)
        {
            var result = new AudioVoiceReferentialEntry();

            ParseAsset(reader, result, imports);

            result.Name = reader.ReadUInt32PrefixedAsciiStringAtOffset();

            return(result);
        }