using System.Collections.Generic; using System.Linq; using ET; using GFGGame; namespace cfg.GfgCfg { public partial class ItemCfg { // 获取合成套装中的其他物品 ID 列表 public List SyntheticSuit { get { if (ItemCfgArray.Instance.SyntheticSuitDic.Count == 0) { return new List(); } if (ItemType == ConstItemType.DRESS_UP) { ItemCfgArray.Instance.SyntheticSuitDic.TryGetValue(Id, out var syntheticSuit); return syntheticSuit ?? new List(); } return new List(); } } } }