public RemoveInventoryItem ( uint localID, UUID itemID ) : int | ||
localID | uint | |
itemID | UUID | |
Результат | int |
public int RemoveInventoryItem(uint localID, UUID itemID)
{
SceneObjectPart part = (SceneObjectPart) GetChildPart(localID);
if (part != null)
{
int type = part.Inventory.RemoveInventoryItem(itemID);
return type;
}
return -1;
}