using System.ComponentModel;
using NewHorizons.External.SerializableData;
using Newtonsoft.Json;
namespace NewHorizons.External.Modules
{
[JsonObject]
public class ReferenceFrameModule
{
///
/// Allows the object to be targeted.
///
[DefaultValue(true)] public bool enabled = true;
///
/// Stop the object from being targeted on the map.
///
public bool hideInMap;
///
/// Radius of the brackets that show up when you target this. Defaults to the sphere of influence.
///
[DefaultValue(-1f)] public float bracketRadius = -1f;
///
/// If it should be targetable even when super close.
///
public bool targetWhenClose;
///
/// The maximum distance that the reference frame can be targeted from. Defaults to 100km and cannot be greater than that.
///
public float maxTargetDistance; // If it's less than or equal to zero the game makes it 100km
///
/// The radius of the sphere around the planet which you can click on to target it. Defaults to twice the sphere of influence.
///
public float targetColliderRadius;
///
/// Position of the reference frame relative to the object.
///
public MVector3 localPosition;
}
}