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 * 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
22 lines
665 B
C#
22 lines
665 B
C#
using System.IO;
|
|
|
|
namespace ACE.DatLoader.Entity
|
|
{
|
|
public class GfxObjInfo : IUnpackable
|
|
{
|
|
public uint Id { get; private set; }
|
|
public uint DegradeMode { get; private set; }
|
|
public float MinDist { get; private set; }
|
|
public float IdealDist { get; private set; }
|
|
public float MaxDist { get; private set; }
|
|
|
|
public void Unpack(BinaryReader reader)
|
|
{
|
|
Id = reader.ReadUInt32();
|
|
DegradeMode = reader.ReadUInt32();
|
|
MinDist = reader.ReadSingle();
|
|
IdealDist = reader.ReadSingle();
|
|
MaxDist = reader.ReadSingle();
|
|
}
|
|
}
|
|
}
|