mirror of
https://github.com/ACEmulator/ACE
synced 2026-08-17 12:26:06 -04:00
* ACE.DatLoader renames PositionNew to Position * Remove comment * ACE.DatLoader DatDatabase I prefer this type instead.
21 lines
457 B
C#
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);
|
|
}
|
|
}
|
|
}
|