ace/Source/ACE.DatLoader/Entity/PhysicsScriptData.cs
OptimShi 732e68391c More Dat Parsing Updates (#503)
* More Portal.Dat Parsing

* Update

* Fixed Palette, removed Debug commands

* Fixed spacing issue

* Added ContractTable
2017-09-06 10:16:49 -04:00

24 lines
576 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ACE.DatLoader.Entity
{
public class PhysicsScriptData
{
public double StartTime { get; set; }
public AnimationHook Hook { get; set; }
public static PhysicsScriptData Read(DatReader datReader)
{
PhysicsScriptData obj = new PhysicsScriptData();
obj.StartTime = datReader.ReadDouble();
obj.Hook = AnimationHook.Read(datReader);
return obj;
}
}
}