public int GetItemIdBySlot(EquipSlot slot) { var target = StorageItems[slot.GetHashCode()]; if (target != null) return target.ItemId; return 0; }
public int GetItemIdBySlot(EquipSlot slot) { var target = StorageItems[slot.GetHashCode()]; if (target != null) { return(target.ItemId); } return(0); }
public bool IsEquip(EquipSlot type) { var targetItem = StorageItems[type.GetHashCode()]; if (targetItem != null) { return(true); } return(false); }
public AStorageItem GetItemByEquipSlot(EquipSlot slot) { return StorageItems[slot.GetHashCode()]; }
public bool IsEquip(EquipSlot type) { var targetItem = StorageItems[type.GetHashCode()]; if (targetItem != null) return true; return false; }
public AStorageItem GetItemByEquipSlot(EquipSlot slot) { return(StorageItems[slot.GetHashCode()]); }