| | |
| | | }
|
| | |
|
| | | public List<ItemModel> selectEquipPlacelist { get; private set; }
|
| | | public List<ItemModel> GetDogzItemListByIndex(int index)
|
| | | public List<ItemModel> GetDogzItemListByIndex(int dogzId,int index)
|
| | | {
|
| | | SinglePackModel singlePack = playerPack.GetSinglePackModel(PackType.rptDogzItem);
|
| | | selectEquipPlacelist.Clear();
|
| | | if (singlePack == null) return selectEquipPlacelist;
|
| | |
|
| | | var _itemColor = GetDogzEquipLimitByIndex(presentSelectDogz, index);
|
| | | var _itemColor = GetDogzEquipLimitByIndex(dogzId, index);
|
| | | var _equipPlace = GetDogzEquipPlaceByIndex(index);
|
| | | Dictionary<int, ItemModel> pairs = singlePack.GetPackModelIndexDict();
|
| | | foreach (var value in pairs.Values)
|
| | |
| | | bool _equiped = TryGetDogzEquip(spaceDogzId, i + 101, out _data);
|
| | | if(!_equiped)
|
| | | {
|
| | | GetDogzItemListByIndex(i);
|
| | | GetDogzItemListByIndex(spaceDogzId,i);
|
| | | if (selectEquipPlacelist.Count > 0)
|
| | | {
|
| | | Redpoint equipPlaceRedpoint = GetDogzEquipPlaceRedpointById(spaceDogzId,i);
|
| | |
| | | bool _equiped = TryGetDogzEquip(dogzId, i + 101, out _data);
|
| | | if (!_equiped)
|
| | | {
|
| | | GetDogzItemListByIndex(i);
|
| | | GetDogzItemListByIndex(dogzId,i);
|
| | | if (selectEquipPlacelist.Count < 1)
|
| | | {
|
| | | isBetterDogz = false;
|