Example #1
0
    public void PCItemSystemClear()
    {
        foreach (KeyValuePair <EAObjID, EA_Equipment> pEquipData in m_PCEquipMap)
        {
            EA_Equipment pEquipment = m_PCEquipMap[pEquipData.Key];

            if (pEquipment != null)
            {
                pEquipment.RemoveAllItem();
            }
        }

        m_PCEquipMap.Clear();
    }
Example #2
0
    /*! Player_id로 해당 pc 장비 삭제.*/
    public bool RemovePCEquip(EAObjID _id)
    {
        if (m_PCEquipMap.ContainsKey(_id) == true)
        {
            EA_Equipment pEquipment = m_PCEquipMap[_id];

            if (pEquipment != null)
            {
                pEquipment.RemoveAllItem();
                pEquipment = null;
            }

            m_PCEquipMap.Remove(_id);
            return(true);
        }
        return(false);
    }
Example #3
0
 /*! Delete player item data */
 public void MyItemSystemClear()
 {
     Debug.Log("EA_MyPLItemManager - MyItemSystemClear");
     m_pEquipment.RemoveAllItem();
 }