Begining major rework of Asset/Inventory code. Doing a lot of refectoing. What's in here so far?

+ Inventory, Asset and Image managers are now directly apart of the SecondLife class
+ Root Inventory folder has been added to MainAvatar and is set upon login
+ Inventory is no longer downloaded all at once, you have to request the download of individual folders
+ Folder downloading is available Asynchronously, and returns a object that has a ManualResetEvent that you can use to optionally block with
+ The code for AssetManager has been reworked some in prep for allowing Wearables to be Saved/Loaded to/from disk, and for creating new wearables.


git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@742 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
Michael Cortez
2006-12-19 23:13:04 +00:00
parent df1ac0424f
commit b686cebf3d
17 changed files with 835 additions and 439 deletions

View File

@@ -11,13 +11,21 @@ namespace libsecondlife.InventorySystem
/// </summary>
public class InventoryPacketHelper
{
private LLUUID AgentID;
private LLUUID SessionID;
private SecondLife Client;
public InventoryPacketHelper(LLUUID AgentID, LLUUID SessionID)
private LLUUID AgentID
{
get { return Client.Network.AgentID; }
}
private LLUUID SessionID
{
get { return Client.Network.SessionID; }
}
public InventoryPacketHelper(SecondLife client)
{
this.AgentID = AgentID;
this.SessionID = SessionID;
Client = client;
}
public const int FETCH_INVENTORY_SORT_NAME = 0;