| Main/Config/Configs/CTGConfig.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| Main/System/DailySpecials/DailySpecialsDayGiftWin.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| Main/System/DailySpecials/DailySpecialsWeekGiftWin.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
Main/Config/Configs/CTGConfig.cs
@@ -1,6 +1,6 @@ //-------------------------------------------------------- // [Author]: YYL // [ Date ]: 2025年11月9日 // [ Date ]: Friday, January 9, 2026 //-------------------------------------------------------- using System.Collections.Generic; @@ -31,6 +31,7 @@ public int[][] SelectItemInfo; public string Icon; public int PayType; public int SortNum; public int Percentage; public override int LoadKey(string _key) @@ -73,7 +74,9 @@ int.TryParse(tables[14],out PayType); int.TryParse(tables[15],out Percentage); int.TryParse(tables[15],out SortNum); int.TryParse(tables[16],out Percentage); } catch (Exception exception) { Main/System/DailySpecials/DailySpecialsDayGiftWin.cs
@@ -45,7 +45,11 @@ } if (!ctgIDList.IsNullOrEmpty()) { ctgIDList = ctgIDList.OrderBy(ctgId => { return manager.IsDayGiftBuy(ctgId); }).ThenBy(ctgId => ctgId).ToList(); ctgIDList = ctgIDList .OrderBy(ctgId => manager.IsDayGiftBuy(ctgId)) .ThenBy(ctgId => CTGConfig.HasKey(ctgId) ? CTGConfig.Get(ctgId).SortNum : int.MaxValue) .ThenBy(ctgId => ctgId) .ToList(); scroller.Refresh(); for (int i = 0; i < ctgIDList.Count; i++) { Main/System/DailySpecials/DailySpecialsWeekGiftWin.cs
@@ -43,7 +43,11 @@ } if (!ctgIDList.IsNullOrEmpty()) { ctgIDList = ctgIDList.OrderBy(ctgId => { return manager.IsWeekGiftBuy(ctgId); }).ThenBy(ctgId => ctgId).ToList(); ctgIDList = ctgIDList .OrderBy(ctgId => manager.IsWeekGiftBuy(ctgId)) .ThenBy(ctgId => CTGConfig.HasKey(ctgId) ? CTGConfig.Get(ctgId).SortNum : int.MaxValue) .ThenBy(ctgId => ctgId) .ToList(); scroller.Refresh(); for (int i = 0; i < ctgIDList.Count; i++) {