TehHuntorz
Member
- Joined
- Jan 15, 2010
- Messages
- 63
As title states, just looking for a method to delete an InventoryItem.
Am trying to make a quick plugin to remove the junk from my inventory whilst botting.
So, just doing something like this...
But Delete or similar methods don't exist. (There's a Dispose, but I assume that's just memory related)
Is there something I'm missing, or?
Am trying to make a quick plugin to remove the junk from my inventory whilst botting.
So, just doing something like this...
Code:
foreach (var item in GameManager.Inventory.Bags.Items)
{
if ((ItemType)item.Info.Type.Id == ItemType.TechnologistFormula)
{
//item.Delete();
}
}
But Delete or similar methods don't exist. (There's a Dispose, but I assume that's just memory related)
Is there something I'm missing, or?