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 sphereOfInfluence. /// [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 double the sphereOfInfluence. /// [DefaultValue(-1)] public float maxTargetDistance = -1; } }