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

18 lines
413 B
C#
Raw Permalink Normal View History

using System.IO;
namespace ACE.DatLoader.Entity
{
public class PhysicsScriptData : IUnpackable
{
public double StartTime { get; private set; }
public AnimationHook Hook { get; private set; } = new AnimationHook();
public void Unpack(BinaryReader reader)
{
StartTime = reader.ReadDouble();
Hook = AnimationHook.ReadHook(reader);
}
}
}