private void EndDirection()
 {
     endDirectionCount++;
     if (endDirectionCount >= equipItemInfo.GetValidLotAbility())
     {
         EndAllDirection();
     }
 }
 public override void UpdateUI()
 {
     if (!direction)
     {
         EquipItemInfo equipItemInfo = resultData.itemData as EquipItemInfo;
         if (equipItemInfo.GetValidLotAbility() > 0)
         {
             StartAddAbilityDirection(equipItemInfo.GetValidAbility());
         }
         else
         {
             OnFinishedAddAbilityDirection();
         }
         direction = true;
     }
     base.UpdateUI();
 }
    protected override void InitLocalInventory()
    {
        MonoBehaviourSingleton <InventoryManager> .I.changeInventoryType = base.selectInventoryType;
        MonoBehaviourSingleton <SmithManager> .I.CreateLocalInventory();

        selectInventoryIndex = -1;
        EquipItemInfo[]      array = MonoBehaviourSingleton <SmithManager> .I.localInventoryEquipData as EquipItemInfo[];
        List <EquipItemInfo> list  = new List <EquipItemInfo>(array.Length);
        int i = 0;

        for (int num = array.Length; i < num; i++)
        {
            EquipItemInfo equipItemInfo = array[i];
            if (equipItemInfo.GetValidLotAbility() > 0 || equipItemInfo.tableData.IsShadow())
            {
                list.Add(equipItemInfo);
            }
        }
        localInventoryEquipData = sortSettings.CreateSortAry <EquipItemInfo, EquipItemSortData>(list.ToArray());
    }