// Token: 0x0600031F RID: 799 RVA: 0x0003A2C8 File Offset: 0x000386C8 public static T[] GetEnumKeys <T>(string key) where T : struct, IConvertible { string keyList = KeysHelper.GetKeyList(KeysHelper.GetKeyListKey(key)); string[] array = KeysHelper.SplitList(keyList); return(Array.ConvertAll <string, T>(array, (string str) => (T)((object)Enum.Parse(typeof(T), str)))); }
// Token: 0x06001476 RID: 5238 RVA: 0x000B5BEC File Offset: 0x000B3DEC public static void AddIfMissing(string key, string id) { string keyListKey = KeysHelper.GetKeyListKey(key); string keyList = KeysHelper.GetKeyList(keyListKey); if (!KeysHelper.HasKey(KeysHelper.SplitList(keyList), id)) { KeysHelper.AppendKey(keyListKey, keyList, id); } }
// Token: 0x0600031D RID: 797 RVA: 0x0003A25C File Offset: 0x0003865C public static int[] GetIntegerKeys(string key) { string keyList = KeysHelper.GetKeyList(KeysHelper.GetKeyListKey(key)); string[] array = KeysHelper.SplitList(keyList); string[] array2 = array; if (KeysHelper.temp == null) { KeysHelper.temp = new Converter <string, int>(int.Parse); } return(Array.ConvertAll <string, int>(array2, KeysHelper.temp)); }
// Token: 0x06001475 RID: 5237 RVA: 0x000B5B70 File Offset: 0x000B3D70 public static KeyValuePair <T, U>[] GetKeys <T, U>(string key) where T : struct where U : struct { string[] array = KeysHelper.SplitList(KeysHelper.GetKeyList(KeysHelper.GetKeyListKey(key))); KeyValuePair <T, U>[] array2 = new KeyValuePair <T, U> [array.Length]; for (int i = 0; i < array.Length; i++) { string[] array3 = array[i].Split(new char[] { '^' }); array2[i] = new KeyValuePair <T, U>((T)((object)int.Parse(array3[0])), (U)((object)int.Parse(array3[1]))); } return(array2); }
// Token: 0x06001472 RID: 5234 RVA: 0x000B5AF1 File Offset: 0x000B3CF1 public static int[] GetIntegerKeys(string key) { return(Array.ConvertAll <string, int>(KeysHelper.SplitList(KeysHelper.GetKeyList(KeysHelper.GetKeyListKey(key))), (string str) => int.Parse(str))); }
// Token: 0x06001477 RID: 5239 RVA: 0x000B5C1D File Offset: 0x000B3E1D public static void Delete(string key) { Globals.Delete(KeysHelper.GetKeyListKey(key)); }
// Token: 0x06001473 RID: 5235 RVA: 0x000B5B27 File Offset: 0x000B3D27 public static string[] GetStringKeys(string key) { return(KeysHelper.SplitList(KeysHelper.GetKeyList(KeysHelper.GetKeyListKey(key)))); }