diff options
Diffstat (limited to 'OpenSim/Framework/SerializableInventory.cs')
-rw-r--r-- | OpenSim/Framework/SerializableInventory.cs | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/OpenSim/Framework/SerializableInventory.cs b/OpenSim/Framework/SerializableInventory.cs index 8193fa7..81f993c 100644 --- a/OpenSim/Framework/SerializableInventory.cs +++ b/OpenSim/Framework/SerializableInventory.cs | |||
@@ -39,16 +39,20 @@ namespace OpenSim.Framework | |||
39 | [XmlRoot(ElementName = "inventory", IsNullable = true)] | 39 | [XmlRoot(ElementName = "inventory", IsNullable = true)] |
40 | public class SerializableInventory | 40 | public class SerializableInventory |
41 | { | 41 | { |
42 | [XmlElement(ElementName = "folder", IsNullable = true)] public SerializableFolder root; | ||
43 | |||
44 | #region Nested type: SerializableFolder | ||
45 | |||
42 | [XmlRoot(ElementName = "folder", IsNullable = true)] | 46 | [XmlRoot(ElementName = "folder", IsNullable = true)] |
43 | public class SerializableFolder : InventoryFolderBase | 47 | public class SerializableFolder : InventoryFolderBase |
44 | { | 48 | { |
45 | [XmlArray(ElementName = "folders", IsNullable = true)] [XmlArrayItem(ElementName = "folder", IsNullable = true, Type = typeof (SerializableFolder))] public | ||
46 | ArrayList SubFolders; | ||
47 | |||
48 | [XmlArray(ElementName = "items", IsNullable = true)] [XmlArrayItem(ElementName = "item", IsNullable = true, Type = typeof (InventoryItemBase))] public ArrayList | 49 | [XmlArray(ElementName = "items", IsNullable = true)] [XmlArrayItem(ElementName = "item", IsNullable = true, Type = typeof (InventoryItemBase))] public ArrayList |
49 | Items; | 50 | Items; |
51 | |||
52 | [XmlArray(ElementName = "folders", IsNullable = true)] [XmlArrayItem(ElementName = "folder", IsNullable = true, Type = typeof (SerializableFolder))] public | ||
53 | ArrayList SubFolders; | ||
50 | } | 54 | } |
51 | 55 | ||
52 | [XmlElement(ElementName = "folder", IsNullable = true)] public SerializableFolder root; | 56 | #endregion |
53 | } | 57 | } |
54 | } | 58 | } \ No newline at end of file |