/// <returns>An <seealso cref="InventoryItem"/> object with the type and id passed</returns>
public static InventoryItem CreateInventoryItem(InventoryType type, UUID id)
{
switch (type)
{
case Texture: return new InventoryTexture(id);
case Sound: return new InventorySound(id);
case CallingCard: return new InventoryCallingCard(id);
case Landmark: return new InventoryLandmark(id);
case Object: return new InventoryObject(id);
case Notecard: return new InventoryNotecard(id);