mirror of
https://github.com/ACEmulator/ACE
synced 2026-08-17 12:26:06 -04:00
* 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
18 lines
407 B
C#
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);
|
|
}
|
|
}
|
|
}
|