From 568db5148b3e1ea5a65058b74c2aa3fe1c0e5f52 Mon Sep 17 00:00:00 2001 From: Michael Cortez Date: Sat, 9 Dec 2006 01:23:25 +0000 Subject: [PATCH] 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 --- .../examples/IA_SimpleInventory/IA_SimpleInventory.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libsecondlife-cs/examples/IA_SimpleInventory/IA_SimpleInventory.cs b/libsecondlife-cs/examples/IA_SimpleInventory/IA_SimpleInventory.cs index 715fc41d..17507425 100644 --- a/libsecondlife-cs/examples/IA_SimpleInventory/IA_SimpleInventory.cs +++ b/libsecondlife-cs/examples/IA_SimpleInventory/IA_SimpleInventory.cs @@ -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 alInventoryRoot = (List)client.Network.LoginValues["inventory-root"]; - Dictionary htInventoryRoot = (Dictionary)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