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); }
public bool IsSlider(string sectionName, string keyName) { KeyType type = GetKeyType(sectionName, keyName); return(type == KeyType.Slider || type == KeyType.FloatSlider); }