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