From 375163a6fece8b3a57c7555246abe8338223a599 Mon Sep 17 00:00:00 2001 From: Adam Frisby Date: Tue, 29 Apr 2008 14:04:55 +0000 Subject: * Spring cleaning. * Added new generic "Location" class to handle 2D integer locations. Going to use it to replace all RegionHandle and X,Y coordinate references throughout the entire project. You have been warned. --- OpenSim/Framework/AgentInventory.cs | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'OpenSim/Framework/AgentInventory.cs') diff --git a/OpenSim/Framework/AgentInventory.cs b/OpenSim/Framework/AgentInventory.cs index ef3ad16..61e8636 100644 --- a/OpenSim/Framework/AgentInventory.cs +++ b/OpenSim/Framework/AgentInventory.cs @@ -35,11 +35,11 @@ namespace OpenSim.Framework public class AgentInventory { //Holds the local copy of Inventory info for a agent + public LLUUID AgentID; public Dictionary InventoryFolders; public Dictionary InventoryItems; public InventoryFolder InventoryRoot; public int LastCached; //maybe used by opensim app, time this was last stored/compared to user server - public LLUUID AgentID; public AvatarWearable[] Wearables; public AgentInventory() @@ -206,13 +206,13 @@ namespace OpenSim.Framework public class InventoryFolder { - public List Items; //public List Subfolders; + public ushort DefaultType; public LLUUID FolderID; + public string FolderName; + public List Items; public LLUUID OwnerID; public LLUUID ParentID = LLUUID.Zero; - public string FolderName; - public ushort DefaultType; public ushort Version; public InventoryFolder() @@ -224,15 +224,15 @@ namespace OpenSim.Framework public class InventoryItem { - public LLUUID FolderID; - public LLUUID OwnerID; - public LLUUID ItemID; public LLUUID AssetID; public LLUUID CreatorID; + public string Description; + public LLUUID FolderID; public sbyte InvType; - public sbyte Type; + public LLUUID ItemID; public string Name = String.Empty; - public string Description; + public LLUUID OwnerID; + public sbyte Type; public InventoryItem() { @@ -252,4 +252,4 @@ namespace OpenSim.Framework return result; } } -} +} \ No newline at end of file -- cgit v1.1