public void Equip(Equipment equipment)
 {
     equipment.Equip(role);
     role.data.equipmentData.SetData(equipment.equipmentType, (int)equipment.id);
     m_EquipmentMap[(int)equipment.equipmentType] = equipment;
 }
 public void UnEquip(Equipment equipment)
 {
     equipment.UnEquip(role);
     role.data.equipmentData.SetData(equipment.equipmentType, -1);
     m_EquipmentMap[(int)equipment.equipmentType] = null;
 }
 public PlayerEquipmentCellData(Equipment item) : base(item)
 {
 }