ace/Source/ACE.DatLoader/Entity/SoundTableData.cs

24 lines
585 B
C#
Raw Permalink Normal View History

using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace ACE.DatLoader.Entity
{
public class SoundTableData : IUnpackable
{
public uint SoundId; // Corresponds to the DatFileType.Wave
public float Priority;
public float Probability;
public float Volume;
public void Unpack(BinaryReader reader)
{
SoundId = reader.ReadUInt32();
Priority = reader.ReadSingle();
Probability = reader.ReadSingle();
Volume = reader.ReadSingle();
}
}
}