aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Serialization/External/UserInventoryItemSerializer.cs
diff options
context:
space:
mode:
authorJustin Clarke Casey2009-04-24 15:02:48 +0000
committerJustin Clarke Casey2009-04-24 15:02:48 +0000
commitd69a018ba84beede1f84f06eb17ab799133e006a (patch)
treeaad6e2c01950e5123f6b0ecfdf407f5a5a83d590 /OpenSim/Framework/Serialization/External/UserInventoryItemSerializer.cs
parentsilly C# not letting me use a File.Exists test for a directory. Don't (diff)
downloadopensim-SC-d69a018ba84beede1f84f06eb17ab799133e006a.zip
opensim-SC-d69a018ba84beede1f84f06eb17ab799133e006a.tar.gz
opensim-SC-d69a018ba84beede1f84f06eb17ab799133e006a.tar.bz2
opensim-SC-d69a018ba84beede1f84f06eb17ab799133e006a.tar.xz
* Write basic, incomplete load iar test
Diffstat (limited to 'OpenSim/Framework/Serialization/External/UserInventoryItemSerializer.cs')
-rw-r--r--OpenSim/Framework/Serialization/External/UserInventoryItemSerializer.cs4
1 files changed, 1 insertions, 3 deletions
diff --git a/OpenSim/Framework/Serialization/External/UserInventoryItemSerializer.cs b/OpenSim/Framework/Serialization/External/UserInventoryItemSerializer.cs
index d51107d..5fd5ab5 100644
--- a/OpenSim/Framework/Serialization/External/UserInventoryItemSerializer.cs
+++ b/OpenSim/Framework/Serialization/External/UserInventoryItemSerializer.cs
@@ -76,9 +76,7 @@ namespace OpenSim.Framework.Serialization.External
76 reader.ReadStartElement("InvType"); 76 reader.ReadStartElement("InvType");
77 item.InvType = Convert.ToInt32(reader.ReadString()); 77 item.InvType = Convert.ToInt32(reader.ReadString());
78 reader.ReadEndElement(); 78 reader.ReadEndElement();
79 reader.ReadStartElement("CreatorUUID"); 79 item.CreatorId = reader.ReadElementString("CreatorUUID");
80 item.CreatorId = reader.ReadString();
81 reader.ReadEndElement();
82 reader.ReadStartElement("CreationDate"); 80 reader.ReadStartElement("CreationDate");
83 item.CreationDate = Convert.ToInt32(reader.ReadString()); 81 item.CreationDate = Convert.ToInt32(reader.ReadString());
84 reader.ReadEndElement(); 82 reader.ReadEndElement();