using NewHorizons.Utility;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using System.Runtime.Serialization;
namespace NewHorizons.External.Modules.VariableSize
{
public enum FunnelType
{
[EnumMember(Value = @"Sand")] Sand = 0,
[EnumMember(Value = @"Water")] Water = 1,
[EnumMember(Value = @"Lava")] Lava = 2,
[EnumMember(Value = @"Star")] Star = 3
}
[JsonObject]
public class FunnelModule : VariableSizeModule
{
///
/// The planet the funnel will flow to
///
public string target;
///
/// Tint of the funnel
///
public MColor tint;
///
/// Type of fluid the funnel transfers
///
[JsonConverter(typeof(StringEnumConverter))]
public FunnelType type = FunnelType.Sand;
}
}