mirror of
https://github.com/ACEmulator/ACE
synced 2026-08-17 12:26:06 -04:00
* Change >> 1) & 1 to & 2 Cosmetic change pointed out by Rawaho. * Better fix of the Portal Flags in the dat code * ACE.DatLoader refactoring This new code format uses extention methods to re-use code. It allows decouples object unpacking from DatReader and reduces the dependancy to a simple BinaryReader. * Forgot to remove the temp StarterAreas code from the transition * Some files were ignored, not sure why. This should fix
21 lines
573 B
C#
21 lines
573 B
C#
using System.IO;
|
|
|
|
namespace ACE.DatLoader.Entity
|
|
{
|
|
public class EyeStripCG : IUnpackable
|
|
{
|
|
public uint IconImage { get; private set; }
|
|
public uint IconImageBald { get; private set; }
|
|
public ObjDesc ObjDesc { get; } = new ObjDesc();
|
|
public ObjDesc ObjDescBald { get; } = new ObjDesc();
|
|
|
|
public void Unpack(BinaryReader reader)
|
|
{
|
|
IconImage = reader.ReadUInt32();
|
|
IconImageBald = reader.ReadUInt32();
|
|
|
|
ObjDesc.Unpack(reader);
|
|
ObjDescBald.Unpack(reader);
|
|
}
|
|
}
|
|
}
|