public DeleteItemByItemInstanceId ( System.Guid id ) : void | ||
id | System.Guid | |
return | void |
public void DeleteItemByItemInstanceId(Guid id)
{
if (Inventory != null)
{
Tuple<short, InventoryType> result = Inventory.DeleteById(id);
Session.SendPacket(GenerateInventoryAdd(-1, 0, result.Item2, result.Item1, 0, 0, 0, 0));
}
}