ace/Source/ACE.DatLoader/Entity/Position.cs
Mag-nus c29389843d
few small things (#627)
* ACE.DatLoader renames PositionNew to Position

* Remove comment

* ACE.DatLoader DatDatabase I prefer this type instead.
2018-02-08 08:00:13 -06:00

21 lines
457 B
C#

using System.IO;
namespace ACE.DatLoader.Entity
{
/// <summary>
/// Position consists of a CellID + a Frame (Origin + Orientation)
/// </summary>
public class Position : IUnpackable
{
public uint ObjCellID { get; private set; }
public Frame Frame = new Frame();
public void Unpack(BinaryReader reader)
{
ObjCellID = reader.ReadUInt32();
Frame.Unpack(reader);
}
}
}