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:
@@ -1154,6 +1154,13 @@ namespace libsecondlife
|
||||
Client.Self.HomePosition = posVector;
|
||||
Client.Self.HomeLookAt = lookatVector;
|
||||
|
||||
// Get Inventory Root Folder
|
||||
Client.Log("Pulling root folder UUID from login data.", Helpers.LogLevel.Debug);
|
||||
ArrayList alInventoryRoot = (ArrayList)LoginValues["inventory-root"];
|
||||
Hashtable htInventoryRoot = (Hashtable)alInventoryRoot[0];
|
||||
Client.Self.InventoryRootFolderUUID = new LLUUID((string)htInventoryRoot["folder_id"]);
|
||||
|
||||
|
||||
// Connect to the sim given in the login reply
|
||||
Simulator simulator = new Simulator(Client, this.Callbacks, (uint)(int)LoginValues["circuit_code"],
|
||||
IPAddress.Parse((string)LoginValues["sim_ip"]), (int)LoginValues["sim_port"]);
|
||||
|
||||
Reference in New Issue
Block a user