Table of Contents
ModSetting for a decimal value
public class ModSettingDouble : BTD_Mod_Helper.Api.ModOptions.ModSettingNumber<double>
Inheritance System.Object ModSetting BTD_Mod_Helper.Api.ModOptions.ModSetting<System.Double> BTD_Mod_Helper.Api.ModOptions.ModSettingNumber<System.Double> ModSettingDouble
Derived
↳ ModSettingFloat
Old way of doing slider
public bool isSlider;
Old way of doing max
public Nullable<double> maxValue;
System.Nullable<System.Double>
Old way of doing min
public Nullable<double> minValue;
System.Nullable<System.Double>
Step size to use for slider, or how much to round the input
public float stepSize;
Step Size for the slider
protected override float StepSize { get; }
Validation to use for the input component
protected override CharacterValidation Validation { get; }
Il2CppTMPro.CharacterValidation
Conversion of the type from a float for the slider component
protected override double FromFloat(float f);
Get the value from the string input component
protected override double FromString(string s);
Constructs a new ModSetting with the given value as default
public static BTD_Mod_Helper.Api.ModOptions.ModSettingDouble implicit operator ModSettingDouble(double value);
value
System.Double
Constructs a new ModSetting with the given value as default
public static BTD_Mod_Helper.Api.ModOptions.ModSettingDouble implicit operator ModSettingDouble(float value);
value
System.Single
Gets the current value out of a ModSetting
public static double implicit operator double(BTD_Mod_Helper.Api.ModOptions.ModSettingDouble modSettingDouble);
modSettingDouble
ModSettingDouble
Gets the current value out of a ModSetting
public static float implicit operator float(BTD_Mod_Helper.Api.ModOptions.ModSettingDouble modSettingDouble);
modSettingDouble
ModSettingDouble