public INIVariableDef(string var, string section, string variable, INIVariableType type, string defValue, Dictionary <string, double> dict, double min, double max) { this.var = var; this.section = section; this.key = variable; this.type = type; this.boolType = INIBoolType.Text; this.defValue = defValue; this.dict = dict; this.min = min; this.max = max; this.precision = -1; this.useMinMax = true; }
public INIVariableDef(string var, string section, string variable, INIVariableType type, string defValue) { this.var = var; this.section = section; this.key = variable; this.type = type; this.boolType = INIBoolType.Text; this.defValue = defValue; this.dict = (type == INIVariableType.Boolean ? INIBools : null); this.min = 0; this.max = 0; this.precision = -1; this.useMinMax = false; }
public INIVariableDef(string var, string section, string variable, INIVariableType type, string defValue, double min, double max, sbyte precision) { this.var = var; this.section = section; this.key = variable; this.type = type; this.boolType = INIBoolType.Text; this.defValue = defValue; this.dict = (type == INIVariableType.Boolean ? INIBools : null); this.min = min; this.max = max; this.precision = precision; this.useMinMax = true; }
public INIVariableDef(string section, string defValue) { this.var = null; this.section = section; this.key = null; this.type = INIVariableType.None; this.boolType = INIBoolType.Text; this.defValue = defValue; this.dict = null; this.min = 0; this.max = 0; this.precision = -1; this.useMinMax = false; }
public INIVariableDef(string var, string section, string variable, INIVariableType type, string defValue, Dictionary<string, double> dict, double min, double max) { this.var = var; this.section = section; this.key = variable; this.type = type; this.boolType = INIBoolType.Text; this.defValue = defValue; this.dict = dict; this.min = min; this.max = max; this.precision = -1; this.useMinMax = true; }