using System.Collections.Generic; using System.Collections.Specialized; public partial class MainChapterConfig : ConfigBase { public static OrderedDictionary unLockedChapterDict = new OrderedDictionary(); protected override void OnConfigParseCompleted() { if (DailyBootyUpperList != null) { for (int i = 0; i < DailyBootyUpperList.Length; i++) { if (DailyBootyUpperList[i].Length == 0) return; int itemID = DailyBootyUpperList[i][0]; if (!unLockedChapterDict.Contains(itemID)) { unLockedChapterDict.Add(itemID, ChapterID); } } } } }