using System; using System.ComponentModel; using System.Runtime.Serialization; using NewHorizons.Utility; using Newtonsoft.Json; using Newtonsoft.Json.Converters; namespace NewHorizons.External.Modules { [JsonObject] public class ReferenceFrameModule { /// /// 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(-1)] public float bracketRadius = -1; /// /// 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; } }