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
21 lines
665 B
C#
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);
|
|
}
|
|
}
|
|
}
|