| | |
| | | public Dictionary<int, List<int>> equipLegendAttrTypeDict { get; private set; }
|
| | | public Dictionary<int, Dictionary<int, string>> wingsLegendAttrColorDict { get; private set; }
|
| | | private Dictionary<int, int> itemComposeTypeDict;
|
| | |
|
| | | public int[] NotComposeIds { get; private set;}
|
| | | public Dictionary<string, Dictionary<LegendAttrType, int>> legendAttrCntPreviewDict { get; private set; } // key 品质+星级 value 属性条目数
|
| | | public Dictionary<int, Dictionary<LegendAttrType, List<int>>> legendAttrIDPreviewDict { get; private set; } // key 装备位 value 属性类型,属性ID
|
| | | public Dictionary<int, Dictionary<int, int>> legendAttrColorValuePreviewDict { get; private set; } // key 属性ID value 装备品质,属性数值
|
| | |
| | |
|
| | | FuncConfigConfig itemComposeTypeFunc = Config.Instance.Get<FuncConfigConfig>("BagCompound");
|
| | | itemComposeTypeDict = ConfigParse.GetDic<int, int>(itemComposeTypeFunc.Numerical1);
|
| | | |
| | | NotComposeIds = ConfigParse.GetMultipleStr<int>(itemComposeTypeFunc.Numerical2);
|
| | |
|
| | | FuncConfigConfig legendAttrCountPreview = Config.Instance.Get<FuncConfigConfig>("LegendAttrCountPreview");
|
| | | JsonData legendAttrCntData = JsonMapper.ToObject(legendAttrCountPreview.Numerical1);
|
| | |
| | |
|
| | | if (!isOverdue)
|
| | | {
|
| | | if (itemComposeTypeDict.ContainsKey(attrData.itemConfig.Type))
|
| | | if (itemComposeTypeDict.ContainsKey(attrData.itemConfig.Type) && !NotComposeIds.Contains(attrData.itemId))
|
| | | {
|
| | | attrData.SetTipsFuncBtn(ItemWinBtnType.compose, (ItemWinBtnType, ItemAttrData) => {
|
| | | bool isUnlock = ModelCenter.Instance.GetModel<ComposeWinModel>().CheckComposeItemById(attrData.itemId);
|