hch
2025-09-01 0218597f66eb99cf1ebf13d57623107ed433b49a
Main/System/Equip/EquipModel.cs
@@ -25,6 +25,8 @@
    public int lastShowEquipIndex = -1;  //上一次界面显示装备的索引,拾取后物品消失需记录下做表现
    public Queue<int> waitEquipOP = new Queue<int>();    //等待操作的装备,需要和UI交互确认 不含分解
    public List<int> lastDropIndexs = new List<int>(); //上一次掉落物品索引
    public override void Init()
    {
        DTCA814_tagMCMakeItemAnswer.MakeItemAnswerEvent += OnEquipResult;
@@ -60,7 +62,9 @@
        selectFloorEquip = null;
        waitEquipOP.Clear();
        lastShowEquipIndex = -1;
        lastDropIndexs.Clear();
    }
    public static int GetItemServerEquipPlace(int itemId)
    {
@@ -81,6 +85,9 @@
    void OnDropEvent(string guid, BattleDrops drops, Action action)
    {
        if (!string.IsNullOrEmpty(guid))
            return;
        lastDropIndexs = drops.dropItemPackIndex;
        NotifyItemDrop(drops.dropItemPackIndex, drops.rectTransform);
        action?.Invoke();
    }