mirror of
https://github.com/ACEmulator/ACE
synced 2026-08-17 12:26:06 -04:00
* ACE.DatLoader LandblockInfo removed testing code * ACE.DatLoader rename PackableExtensions to UnpackableExtensions * ACE.DatLoader.Tests: Better testing to make sure full objects are being parsed * ACE.DatLoader bug fixes * ACE.DatLoader: Add missing file for build * ACE.DatLoader Switch to native Vector3 object
17 lines
382 B
C#
17 lines
382 B
C#
using System.IO;
|
|
using System.Numerics;
|
|
|
|
namespace ACE.DatLoader.Entity
|
|
{
|
|
public class Sphere : IUnpackable
|
|
{
|
|
public Vector3 Origin { get; private set; }
|
|
public float Radius { get; private set; }
|
|
|
|
public void Unpack(BinaryReader reader)
|
|
{
|
|
Origin = reader.ReadVector3();
|
|
Radius = reader.ReadSingle();
|
|
}
|
|
}
|
|
}
|