public DeleteItem ( InventoryType type, short slot ) : void | ||
type | InventoryType | |
slot | short | |
return | void |
public void DeleteItem(InventoryType type, short slot)
{
if (Inventory != null)
{
Inventory.DeleteFromSlotAndType(slot, type);
Session.SendPacket(GenerateInventoryAdd(-1, 0, type, slot, 0, 0, 0, 0));
}
}