diff options
author | Dr Scofield | 2008-09-30 16:14:09 +0000 |
---|---|---|
committer | Dr Scofield | 2008-09-30 16:14:09 +0000 |
commit | 63b2e3575ae7aa765f22a35b23784ae98af8527a (patch) | |
tree | 5d8a9a6972fd0103040d09a35a9c7cea13bd8c05 /OpenSim/ApplicationPlugins/Rest | |
parent | And one more. lThat should make all scripts start for everyone (diff) | |
download | opensim-SC_OLD-63b2e3575ae7aa765f22a35b23784ae98af8527a.zip opensim-SC_OLD-63b2e3575ae7aa765f22a35b23784ae98af8527a.tar.gz opensim-SC_OLD-63b2e3575ae7aa765f22a35b23784ae98af8527a.tar.bz2 opensim-SC_OLD-63b2e3575ae7aa765f22a35b23784ae98af8527a.tar.xz |
- a couple of minor code cleanups in RestInventoryServices
- cleanups and more comments in ChatModule and IRCBridgeModule
- adding Name support in ScenePresence
Diffstat (limited to 'OpenSim/ApplicationPlugins/Rest')
-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 | } |