Exemplo 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;
 }
Exemplo n.º 2
0
 public void UnEquip(Equipment equipment)
 {
     equipment.UnEquip(role);
     role.data.equipmentData.SetData(equipment.equipmentType, -1);
     m_EquipmentMap[(int)equipment.equipmentType] = null;
 }
Exemplo n.º 3
0
 public PlayerEquipmentCellData(Equipment item) : base(item)
 {
 }