mirror of
https://github.com/ACEmulator/ACE
synced 2026-08-17 12:26:06 -04:00
28 lines
828 B
C#
28 lines
828 B
C#
using System.IO;
|
|
|
|
namespace ACE.DatLoader.Entity
|
|
{
|
|
public class FontCharDesc : IUnpackable
|
|
{
|
|
public ushort Unicode;
|
|
public ushort OffsetX;
|
|
public ushort OffsetY;
|
|
public byte Width;
|
|
public byte Height;
|
|
public byte HorizontalOffsetBefore;
|
|
public byte HorizontalOffsetAfter;
|
|
public byte VerticalOffsetBefore;
|
|
|
|
public void Unpack(BinaryReader reader)
|
|
{
|
|
Unicode = reader.ReadUInt16();
|
|
OffsetX = reader.ReadUInt16();
|
|
OffsetY = reader.ReadUInt16();
|
|
Width = reader.ReadByte();
|
|
Height = reader.ReadByte();
|
|
HorizontalOffsetBefore = reader.ReadByte();
|
|
HorizontalOffsetAfter = reader.ReadByte();
|
|
VerticalOffsetBefore = reader.ReadByte();
|
|
}
|
|
}
|
|
}
|