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