diff options
author | Justin Clarke Casey | 2009-04-24 15:56:41 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2009-04-24 15:56:41 +0000 |
commit | 35c7aae455b110d99c578c1bd0dc0f21a7fc6fa3 (patch) | |
tree | 8b71da96202e2e6318b01f7848e962ee95576f8f /OpenSim/Framework/Serialization | |
parent | * minor: make inventory item deserialization code easier to read (diff) | |
download | opensim-SC_OLD-35c7aae455b110d99c578c1bd0dc0f21a7fc6fa3.zip opensim-SC_OLD-35c7aae455b110d99c578c1bd0dc0f21a7fc6fa3.tar.gz opensim-SC_OLD-35c7aae455b110d99c578c1bd0dc0f21a7fc6fa3.tar.bz2 opensim-SC_OLD-35c7aae455b110d99c578c1bd0dc0f21a7fc6fa3.tar.xz |
* correct spelling mistake in item seiralization
Diffstat (limited to 'OpenSim/Framework/Serialization')
-rw-r--r-- | OpenSim/Framework/Serialization/External/UserInventoryItemSerializer.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Framework/Serialization/External/UserInventoryItemSerializer.cs b/OpenSim/Framework/Serialization/External/UserInventoryItemSerializer.cs index b9c6206..e0ddc96 100644 --- a/OpenSim/Framework/Serialization/External/UserInventoryItemSerializer.cs +++ b/OpenSim/Framework/Serialization/External/UserInventoryItemSerializer.cs | |||
@@ -81,7 +81,7 @@ namespace OpenSim.Framework.Serialization.External | |||
81 | item.SalePrice = Convert.ToInt32( xtr.ReadElementString("SalePrice")); | 81 | item.SalePrice = Convert.ToInt32( xtr.ReadElementString("SalePrice")); |
82 | item.BasePermissions = Convert.ToUInt32( xtr.ReadElementString("BasePermissions")); | 82 | item.BasePermissions = Convert.ToUInt32( xtr.ReadElementString("BasePermissions")); |
83 | item.CurrentPermissions = Convert.ToUInt32( xtr.ReadElementString("CurrentPermissions")); | 83 | item.CurrentPermissions = Convert.ToUInt32( xtr.ReadElementString("CurrentPermissions")); |
84 | item.EveryOnePermissions = Convert.ToUInt32( xtr.ReadElementString("EveryOnePermssions")); | 84 | item.EveryOnePermissions = Convert.ToUInt32( xtr.ReadElementString("EveryOnePermissions")); |
85 | item.NextPermissions = Convert.ToUInt32( xtr.ReadElementString("NextPermissions")); | 85 | item.NextPermissions = Convert.ToUInt32( xtr.ReadElementString("NextPermissions")); |
86 | item.Flags = Convert.ToUInt32( xtr.ReadElementString("Flags")); | 86 | item.Flags = Convert.ToUInt32( xtr.ReadElementString("Flags")); |
87 | item.GroupID = UUID.Parse( xtr.ReadElementString("GroupID")); | 87 | item.GroupID = UUID.Parse( xtr.ReadElementString("GroupID")); |
@@ -143,7 +143,7 @@ namespace OpenSim.Framework.Serialization.External | |||
143 | writer.WriteStartElement("CurrentPermissions"); | 143 | writer.WriteStartElement("CurrentPermissions"); |
144 | writer.WriteString(inventoryItem.CurrentPermissions.ToString()); | 144 | writer.WriteString(inventoryItem.CurrentPermissions.ToString()); |
145 | writer.WriteEndElement(); | 145 | writer.WriteEndElement(); |
146 | writer.WriteStartElement("EveryOnePermssions"); | 146 | writer.WriteStartElement("EveryOnePermissions"); |
147 | writer.WriteString(inventoryItem.EveryOnePermissions.ToString()); | 147 | writer.WriteString(inventoryItem.EveryOnePermissions.ToString()); |
148 | writer.WriteEndElement(); | 148 | writer.WriteEndElement(); |
149 | writer.WriteStartElement("NextPermissions"); | 149 | writer.WriteStartElement("NextPermissions"); |