Example #1
0
        public bool IsTuple(string sectionName, string keyName)
        {
            KeyType type = GetKeyType(sectionName, keyName);

            return(type == KeyType.Tuple || type == KeyType.FloatTuple);
        }
 public bool Key(string sectionName, string keyName, KeyType keyType, out ModSettingsKey keyOut)
 {
     return(Key(sectionName, keyName, out keyOut) && keyOut.type == keyType);
 }
Example #3
0
        public bool IsSlider(string sectionName, string keyName)
        {
            KeyType type = GetKeyType(sectionName, keyName);

            return(type == KeyType.Slider || type == KeyType.FloatSlider);
        }