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
16 lines
374 B
C#
16 lines
374 B
C#
using System.IO;
|
|
|
|
namespace ACE.DatLoader.Entity
|
|
{
|
|
public class ScriptAndModData : IUnpackable
|
|
{
|
|
public float Mod { get; private set; }
|
|
public uint ScriptId { get; private set; }
|
|
|
|
public void Unpack(BinaryReader reader)
|
|
{
|
|
Mod = reader.ReadSingle();
|
|
ScriptId = reader.ReadUInt32();
|
|
}
|
|
}
|
|
}
|