Esempio n. 1
0
 public void Equip(Equipment equipment)
 {
     equipment.Equip(role);
     role.data.equipmentData.SetData(equipment.equipmentType, (int)equipment.id);
     m_EquipmentMap[(int)equipment.equipmentType] = equipment;
 }
Esempio n. 2
0
 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)
 {
 }