| | |
| | | return;
|
| | | }
|
| | |
|
| | | {
|
| | | var firstType = (int)ComposeFuncType.Item;
|
| | | ComposeSecondTypeData secondTypeData = null;
|
| | | TryGetSecondTypeData(firstType, 3, out secondTypeData);
|
| | | if (secondTypeData != null)
|
| | | {
|
| | | var thirdTypeDict = secondTypeData.thirdTypeDict;
|
| | | foreach (var third in thirdTypeDict.Keys)
|
| | | {
|
| | | List<ComposeThirdTypeData> thirdTypeDatas = thirdTypeDict[third];
|
| | | for (int i = 0; i < thirdTypeDatas.Count; i++)
|
| | | {
|
| | | var itemCompound = thirdTypeDatas[i].itemCompound;
|
| | | int makeID = itemCompound.makeID[0];
|
| | | var secondKey = firstType * 100 + 3;
|
| | | string key = (secondKey * 100 + third).ToString();
|
| | | if (IsEnoughFixedMat(itemCompound))
|
| | | {
|
| | | if (thirdTypeRedDict[key].state != RedPointState.Simple)
|
| | | {
|
| | | thirdTypeRedDict[key].state = RedPointState.Simple;
|
| | | }
|
| | | }
|
| | | else
|
| | | {
|
| | | if (thirdTypeRedDict[key].state != RedPointState.None)
|
| | | {
|
| | | thirdTypeRedDict[key].state = RedPointState.None;
|
| | | }
|
| | | }
|
| | | }
|
| | | }
|
| | | }
|
| | | }
|
| | |
|
| | |
|
| | | foreach (var category in composeRedpointCategories)
|
| | | {
|
| | | ComposeSecondTypeData secondTypeData = null;
|