ace/Source/ACE.DatLoader/Entity/CloObjectEffect.cs
Mag-nus a24f7cbb17
ACE.DatLoader more IUnpackable refactoring (#616)
* ACE.DatLoader.Tests fix for Animation.

Also includes some ACE.Entity.Position replacements with ACE.DatLoader.Entity.Frame

* ACE.DatLoader Scene converted

Also made all the ReadFromDat code more generic/copyable

* ACE.DatLoader Palette converted

* ACE.DatLoader: PaletteSet converted

* ACE.DatLoader: CombatManeuverTable converted

* ACE.DatLoader PhysicsScriptTable converted

* ACE.DatLoader SpellComponentTable converted

* ACE.DatLoader misc cleanups

* ACE.DatLoader Surface converted

* ACE.DatLoader much more progress

* ACE.DatLoader/Tests Added cell.dat testing framework. First done EnvCell

* ACE.DatLoader ParticileEmitter converted. PositionExtensions removed (via conversion to Position/Frame/Vector3/Quaternion)

* ACE.DatLoader: ClothingTable converted and fixed

* ACE.DatLoader GeneratorTable converted

* ACE.DatLoader: GfxObjDegradeInfo converted

* ACE.DatLoader: MotionTable converted

* Merge conflicts

* Merge Conflicts

* More merge conflicts

* More conflicts resolved
2018-02-04 11:16:30 -06:00

20 lines
543 B
C#

using System.Collections.Generic;
using System.IO;
namespace ACE.DatLoader.Entity
{
public class CloObjectEffect : IUnpackable
{
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);
}
}
}