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);
case Category: return new InventoryCategory(id);