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

@@ -37,8 +37,8 @@ namespace libsecondlife.InventorySystem
throw new Exception("Target Folder [" + value + "] does not exist.");
}
base.iManager.getFolder(this.FolderID).alContents.Remove(this);
iTargetFolder.alContents.Add(this);
base.iManager.getFolder(this.FolderID)._Contents.Remove(this);
iTargetFolder._Contents.Add(this);
_FolderID = value;
UpdateItem();
@@ -422,7 +422,7 @@ namespace libsecondlife.InventorySystem
/// </summary>
public void Delete()
{
base.iManager.getFolder(this.FolderID).alContents.Remove(this);
base.iManager.getFolder(this.FolderID)._Contents.Remove(this);
base.iManager.ItemRemove(this);
}