ace/Source/ACE.DatLoader/Entity/PhysicsScriptData.cs
Mag-nus 1c14e76f5f
ACE.DatLoader bug fixes (#622)
* ACE.DatLoader LandblockInfo removed testing code

* ACE.DatLoader rename PackableExtensions to UnpackableExtensions

* ACE.DatLoader.Tests: Better testing to make sure full objects are being parsed

* ACE.DatLoader bug fixes

* ACE.DatLoader: Add missing file for build

* ACE.DatLoader Switch to native Vector3 object
2018-02-05 13:34:12 -06:00

17 lines
413 B
C#

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);
}
}
}