mirror of
https://github.com/ACEmulator/ACE
synced 2026-08-17 12:26:06 -04:00
24 lines
619 B
C#
24 lines
619 B
C#
using System.Collections.Generic;
|
|
using System.IO;
|
|
|
|
namespace ACE.DatLoader.Entity
|
|
{
|
|
public class CloSubPalette : IUnpackable
|
|
{
|
|
/// <summary>
|
|
/// Contains a list of valid offsets & color values
|
|
/// </summary>
|
|
public List<CloSubPaletteRange> Ranges { get; } = new List<CloSubPaletteRange>();
|
|
/// <summary>
|
|
/// Icon portal.dat 0x0F000000
|
|
/// </summary>
|
|
public uint PaletteSet { get; set; }
|
|
|
|
public void Unpack(BinaryReader reader)
|
|
{
|
|
Ranges.Unpack(reader);
|
|
|
|
PaletteSet = reader.ReadUInt32();
|
|
}
|
|
}
|
|
}
|