2017-05-05 10:26:35 -04:00
|
|
|
using System.Collections.Generic;
|
2018-02-04 11:16:30 -06:00
|
|
|
using System.IO;
|
2017-05-05 10:26:35 -04:00
|
|
|
|
|
|
|
|
namespace ACE.DatLoader.Entity
|
|
|
|
|
{
|
2018-02-04 11:16:30 -06:00
|
|
|
public class CloObjectEffect : IUnpackable
|
2017-05-05 10:26:35 -04:00
|
|
|
{
|
2018-02-04 11:16:30 -06:00
|
|
|
public uint Index { get; private set; }
|
|
|
|
|
public uint ModelId { get; private set; }
|
|
|
|
|
public List<CloTextureEffect> CloTextureEffects { get; } = new List<CloTextureEffect>();
|
|
|
|
|
|
|
|
|
|
public void Unpack(BinaryReader reader)
|
|
|
|
|
{
|
|
|
|
|
Index = reader.ReadUInt32();
|
|
|
|
|
ModelId = reader.ReadUInt32();
|
|
|
|
|
|
|
|
|
|
CloTextureEffects.Unpack(reader);
|
|
|
|
|
}
|
2017-05-05 10:26:35 -04:00
|
|
|
}
|
|
|
|
|
}
|