mirror of
https://github.com/ACEmulator/ACE
synced 2026-08-17 12:26:06 -04:00
* 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
22 lines
644 B
C#
22 lines
644 B
C#
using System.IO;
|
|
|
|
namespace ACE.DatLoader.Entity.AnimationHooks
|
|
{
|
|
public class CreateParticleHook : AnimationHook
|
|
{
|
|
public uint EmitterInfoId { get; private set; }
|
|
public uint PartIndex { get; private set; }
|
|
public Frame Offset { get; } = new Frame();
|
|
public uint EmitterId { get; private set; }
|
|
|
|
public override void Unpack(BinaryReader reader)
|
|
{
|
|
base.Unpack(reader);
|
|
|
|
EmitterInfoId = reader.ReadUInt32();
|
|
PartIndex = reader.ReadUInt32();
|
|
Offset.Unpack(reader);
|
|
EmitterId = reader.ReadUInt32();
|
|
}
|
|
}
|
|
}
|