Switch to ArrayList & Hashtable due to changes in XML stuff

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@697 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
Michael Cortez
2006-12-09 01:23:25 +00:00
parent b8b11a4094
commit 568db5148b

View File

@@ -25,6 +25,7 @@
*/
using System;
using System.Collections;
using System.Collections.Generic;
using libsecondlife;
@@ -93,8 +94,8 @@ namespace IA_SimpleInventory
// Get Root Inventory Folder UUID
Console.WriteLine("Pulling root folder UUID from login data.");
List<object> alInventoryRoot = (List<object>)client.Network.LoginValues["inventory-root"];
Dictionary<string, object> htInventoryRoot = (Dictionary<string, object>)alInventoryRoot[0];
ArrayList alInventoryRoot = (ArrayList)client.Network.LoginValues["inventory-root"];
Hashtable htInventoryRoot = (Hashtable)alInventoryRoot[0];
LLUUID agentRootFolderID = new LLUUID((string)htInventoryRoot["folder_id"]);
// Initialize Inventory Manager object