aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment
diff options
context:
space:
mode:
authorDr Scofield2009-01-26 21:31:21 +0000
committerDr Scofield2009-01-26 21:31:21 +0000
commitd10d8af29517bff31669f983eeb6ab4f490040d4 (patch)
treeaa7089f9c2f655dbf573dd71e7f08b4ce250b9bc /OpenSim/Region/Environment
parentstarting draft attendee list notification support. (diff)
downloadopensim-SC_OLD-d10d8af29517bff31669f983eeb6ab4f490040d4.zip
opensim-SC_OLD-d10d8af29517bff31669f983eeb6ab4f490040d4.tar.gz
opensim-SC_OLD-d10d8af29517bff31669f983eeb6ab4f490040d4.tar.bz2
opensim-SC_OLD-d10d8af29517bff31669f983eeb6ab4f490040d4.tar.xz
adding XML sniplet generation (start of)
Diffstat (limited to 'OpenSim/Region/Environment')
-rw-r--r--OpenSim/Region/Environment/Modules/Avatar/Concierge/ConciergeModule.cs16
1 files changed, 16 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Modules/Avatar/Concierge/ConciergeModule.cs b/OpenSim/Region/Environment/Modules/Avatar/Concierge/ConciergeModule.cs
index 38aaf72..74d1f82 100644
--- a/OpenSim/Region/Environment/Modules/Avatar/Concierge/ConciergeModule.cs
+++ b/OpenSim/Region/Environment/Modules/Avatar/Concierge/ConciergeModule.cs
@@ -358,6 +358,22 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Concierge
358 attendees = _sceneAttendees[scene]; 358 attendees = _sceneAttendees[scene];
359 } 359 }
360 360
361 // create XML sniplet
362 StringBuilder list = new StringBuilder();
363 if (0 == attendees.Count)
364 {
365 list.Append("<avatars count=\"0\" region_name=\"{0}\" region_uuid=\"{1}\" timestamp=\"{2}\" />",
366 scene.RegionInfo.RegionName, scene.RegionInfo.RegionID,
367 System.DateTime.UtcNow);
368 }
369 else
370 {
371 list.Append("<avatars count=\"{0}\" region_name=\"{1}\" region_uuid=\"{2}\" timestamp=\"{3}\" />",
372 attendees.Count, scene.RegionInfo.RegionName, scene.RegionInfo.RegionID,
373 System.DateTime.UtcNow);
374
375 }
376
361 // post via REST to broker 377 // post via REST to broker
362 } 378 }
363 379