ace/Source/ACE.DatLoader/Entity/Stab.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

21 lines
665 B
C#

using System.IO;
namespace ACE.DatLoader.Entity
{
/// <summary>
/// I'm not quite sure what a "Stab" is, but this is what the client calls these.
/// It is an object and a corresponding position.
/// Note that since these are referenced by either a landblock or a cellblock, the corresponding Landblock and Cell should come from the parent.
/// </summary>
public class Stab : IUnpackable
{
public uint Id { get; private set; }
public Frame Frame { get; } = new Frame();
public void Unpack(BinaryReader reader)
{
Id = reader.ReadUInt32();
Frame.Unpack(reader);
}
}
}