Esempio n. 1
0
 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;
 }
Esempio n. 2
0
 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;
 }
Esempio n. 3
0
 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;
 }
Esempio n. 4
0
 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;
 }
Esempio n. 5
0
 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;
 }
Esempio n. 6
0
 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;
 }
Esempio n. 7
0
 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;
 }
Esempio n. 8
0
 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;
 }