| | |
| | | /// </summary>
|
| | | private byte[] fixedIndexArray = null;
|
| | | private byte[] addonsReduceArray = null;
|
| | | private byte[] unfixedIndexArray = null;
|
| | | Dictionary<int, Dictionary<int, int>> fixedMatIsBindDict = new Dictionary<int, Dictionary<int, int>>(); //id , isBind, count
|
| | | Dictionary<int, Dictionary<int, int>> unfixedMatIsBindDict = new Dictionary<int, Dictionary<int, int>>();
|
| | |
|
| | |
| | | }
|
| | | }
|
| | |
|
| | | byte[] unfixedIndexArray = DictToArray(selectModel.GetHaveUnfixedSelectItem());
|
| | | if(compoundModel.unfixedItemCount > 0)
|
| | | {
|
| | | DictToArray(selectModel.GetHaveUnfixedSelectItem());
|
| | | }
|
| | | else
|
| | | {
|
| | | unfixedIndexArray = null;
|
| | | }
|
| | |
|
| | | if (unfixedIndexArray != null)
|
| | | {
|
| | | for (i = 0; i < unfixedIndexArray.Length; i++)
|
| | |
| | |
|
| | | private void SetMatIsBindDict(ItemModel itemModel,Dictionary<int, Dictionary<int, int>> matDict)
|
| | | {
|
| | | if (itemModel == null) return;
|
| | |
|
| | | if (!matDict.ContainsKey(itemModel.itemId))
|
| | | {
|
| | | Dictionary<int, int> bindDict = new Dictionary<int, int>();
|