ace/Source/ACE.DatLoader/Entity/Position.cs
Mag-nus 652e076d1f
ACE.DatLoader IUnpackable progress (#612)
* ACE.DatLoader: XpTable updated

* ACE.DatLoader physics and environment using new unpack pattern

* ACE.DatLoader ContractTable updated to IUnpackable

* ACE.DatLoader EnvCell refactored to new IUnpackable

* Update PackableExtensions.cs
2018-02-03 13:56:28 -06:00

18 lines
407 B
C#

using System.IO;
namespace ACE.DatLoader.Entity
{
public class PositionNew : IUnpackable // Rename this to Position after migration is complete
{
public uint ObjCellID { get; private set; }
public Frame Frame = new Frame();
public void Unpack(BinaryReader reader)
{
ObjCellID = reader.ReadUInt32();
Frame.Unpack(reader);
}
}
}