added ParentPartID to TaskInventoryItem class to make it easier to store them in database.

afrisby
MW 2007-08-22 15:07:21 +00:00
parent f90bd59708
commit a3648b6862
1 changed files with 4 additions and 4 deletions

View File

@ -417,6 +417,7 @@ namespace OpenSim.Region.Environment.Scenes
{
item.parent_id = m_folderID;
item.creation_date = 1000;
item.ParentPartID = this.UUID;
this.TaskInventory.Add(item.item_id, item);
this.m_inventorySerial++;
}
@ -444,8 +445,6 @@ namespace OpenSim.Region.Environment.Scenes
client.SendTaskInventory(this.m_uuid, 0, new byte[0]);
return false;
}
//client.SendTaskInventory(this.m_uuid, 1, Helpers.StringToField("primInventory2"));
//client.SendTaskInventory(this.m_uuid, 0, new byte[0]);
}
return false;
}
@ -733,6 +732,7 @@ namespace OpenSim.Region.Environment.Scenes
"lsltext",
""
};
public LLUUID item_id = LLUUID.Zero;
public LLUUID parent_id = LLUUID.Zero;
@ -753,11 +753,11 @@ namespace OpenSim.Region.Environment.Scenes
public string name = "";
public string desc = "";
public uint creation_date = 0;
public string FileName = "";
public LLUUID ParentPartID = LLUUID.Zero;
public TaskInventoryItem()
{
FileName = "taskItem" + LLUUID.Random().ToString();
}
}
}