diff options
Diffstat (limited to 'OpenSim/ApplicationPlugins')
-rw-r--r-- | OpenSim/ApplicationPlugins/Rest/Inventory/RestInventoryServices.cs | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/OpenSim/ApplicationPlugins/Rest/Inventory/RestInventoryServices.cs b/OpenSim/ApplicationPlugins/Rest/Inventory/RestInventoryServices.cs index a402989..9cbbf0c 100644 --- a/OpenSim/ApplicationPlugins/Rest/Inventory/RestInventoryServices.cs +++ b/OpenSim/ApplicationPlugins/Rest/Inventory/RestInventoryServices.cs | |||
@@ -1285,33 +1285,33 @@ namespace OpenSim.ApplicationPlugins.Rest.Inventory | |||
1285 | private void formatItem(InventoryRequestData rdata, InventoryItemBase i, string indent) | 1285 | private void formatItem(InventoryRequestData rdata, InventoryItemBase i, string indent) |
1286 | { | 1286 | { |
1287 | Rest.Log.DebugFormat("{0} Item : {1} {2} {3} Type = {4}, AssetType = {5}", | 1287 | Rest.Log.DebugFormat("{0} Item : {1} {2} {3} Type = {4}, AssetType = {5}", |
1288 | MsgId, i.ID, indent, i.Name, i.InvType, i.AssetType); | 1288 | MsgId, i.ID, indent, i.Name, i.InvType, i.AssetType); |
1289 | 1289 | ||
1290 | rdata.writer.WriteStartElement(String.Empty,"Item",String.Empty); | 1290 | rdata.writer.WriteStartElement(String.Empty, "Item", String.Empty); |
1291 | 1291 | ||
1292 | rdata.writer.WriteAttributeString("name",String.Empty,i.Name); | 1292 | rdata.writer.WriteAttributeString("name", String.Empty, i.Name); |
1293 | rdata.writer.WriteAttributeString("desc",String.Empty,i.Description); | 1293 | rdata.writer.WriteAttributeString("desc", String.Empty, i.Description); |
1294 | rdata.writer.WriteAttributeString("uuid",String.Empty,i.ID.ToString()); | 1294 | rdata.writer.WriteAttributeString("uuid", String.Empty, i.ID.ToString()); |
1295 | rdata.writer.WriteAttributeString("folder",String.Empty,i.Folder.ToString()); | 1295 | rdata.writer.WriteAttributeString("folder", String.Empty, i.Folder.ToString()); |
1296 | rdata.writer.WriteAttributeString("owner",String.Empty,i.Owner.ToString()); | 1296 | rdata.writer.WriteAttributeString("owner", String.Empty, i.Owner.ToString()); |
1297 | rdata.writer.WriteAttributeString("creator",String.Empty,i.Creator.ToString()); | 1297 | rdata.writer.WriteAttributeString("creator", String.Empty, i.Creator.ToString()); |
1298 | rdata.writer.WriteAttributeString("creationdate",String.Empty,i.CreationDate.ToString()); | 1298 | rdata.writer.WriteAttributeString("creationdate", String.Empty, i.CreationDate.ToString()); |
1299 | rdata.writer.WriteAttributeString("type",String.Empty,i.InvType.ToString()); | 1299 | rdata.writer.WriteAttributeString("type", String.Empty, i.InvType.ToString()); |
1300 | rdata.writer.WriteAttributeString("assettype",String.Empty,i.AssetType.ToString()); | 1300 | rdata.writer.WriteAttributeString("assettype", String.Empty, i.AssetType.ToString()); |
1301 | rdata.writer.WriteAttributeString("groupowned",String.Empty,i.GroupOwned.ToString()); | 1301 | rdata.writer.WriteAttributeString("groupowned", String.Empty, i.GroupOwned.ToString()); |
1302 | rdata.writer.WriteAttributeString("groupid",String.Empty,i.GroupID.ToString()); | 1302 | rdata.writer.WriteAttributeString("groupid", String.Empty, i.GroupID.ToString()); |
1303 | rdata.writer.WriteAttributeString("saletype",String.Empty,i.SaleType.ToString()); | 1303 | rdata.writer.WriteAttributeString("saletype", String.Empty, i.SaleType.ToString()); |
1304 | rdata.writer.WriteAttributeString("saleprice",String.Empty,i.SalePrice.ToString()); | 1304 | rdata.writer.WriteAttributeString("saleprice", String.Empty, i.SalePrice.ToString()); |
1305 | rdata.writer.WriteAttributeString("flags",String.Empty,i.Flags.ToString("X")); | 1305 | rdata.writer.WriteAttributeString("flags", String.Empty, i.Flags.ToString()); |
1306 | 1306 | ||
1307 | rdata.writer.WriteStartElement(String.Empty,"Permissions",String.Empty); | 1307 | rdata.writer.WriteStartElement(String.Empty, "Permissions", String.Empty); |
1308 | rdata.writer.WriteAttributeString("current",String.Empty,i.CurrentPermissions.ToString("X")); | 1308 | rdata.writer.WriteAttributeString("current", String.Empty, i.CurrentPermissions.ToString("X")); |
1309 | rdata.writer.WriteAttributeString("next",String.Empty,i.NextPermissions.ToString("X")); | 1309 | rdata.writer.WriteAttributeString("next", String.Empty, i.NextPermissions.ToString("X")); |
1310 | rdata.writer.WriteAttributeString("everyone",String.Empty,i.EveryOnePermissions.ToString("X")); | 1310 | rdata.writer.WriteAttributeString("everyone", String.Empty, i.EveryOnePermissions.ToString("X")); |
1311 | rdata.writer.WriteAttributeString("base",String.Empty,i.BasePermissions.ToString("X")); | 1311 | rdata.writer.WriteAttributeString("base", String.Empty, i.BasePermissions.ToString("X")); |
1312 | rdata.writer.WriteEndElement(); | 1312 | rdata.writer.WriteEndElement(); |
1313 | 1313 | ||
1314 | rdata.writer.WriteElementString("Asset",i.AssetID.ToString()); | 1314 | rdata.writer.WriteElementString("Asset", i.AssetID.ToString()); |
1315 | 1315 | ||
1316 | rdata.writer.WriteEndElement(); | 1316 | rdata.writer.WriteEndElement(); |
1317 | } | 1317 | } |