diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/Caps/EventQueue/EventQueueGetModule.cs | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/Caps/EventQueue/EventQueueGetModule.cs b/OpenSim/Region/ClientStack/Linden/Caps/EventQueue/EventQueueGetModule.cs index f9f18c6..4da4412 100644 --- a/OpenSim/Region/ClientStack/Linden/Caps/EventQueue/EventQueueGetModule.cs +++ b/OpenSim/Region/ClientStack/Linden/Caps/EventQueue/EventQueueGetModule.cs | |||
@@ -594,9 +594,22 @@ namespace OpenSim.Region.ClientStack.Linden | |||
594 | Enqueue(item, avatarID); | 594 | Enqueue(item, avatarID); |
595 | } | 595 | } |
596 | 596 | ||
597 | public OSD ScriptRunningEvent(UUID objectID, UUID itemID, bool running, UUID avatarID) | 597 | public void ScriptRunningEvent(UUID objectID, UUID itemID, bool running, UUID avatarID) |
598 | { | 598 | { |
599 | return EventQueueHelper.ScriptRunningReplyEvent(objectID, itemID, running); | 599 | StringBuilder sb = EventQueueHelper.StartEvent("ScriptRunningReply"); |
600 | LLSDxmlEncode.AddArray("Script", sb); | ||
601 | |||
602 | LLSDxmlEncode.AddMap(sb); | ||
603 | LLSDxmlEncode.AddElem("ObjectID", objectID, sb); | ||
604 | LLSDxmlEncode.AddElem("ItemID", itemID, sb); | ||
605 | LLSDxmlEncode.AddElem("Running", running, sb); | ||
606 | LLSDxmlEncode.AddElem("Mono", true, sb); | ||
607 | LLSDxmlEncode.AddEndMap(sb); | ||
608 | |||
609 | LLSDxmlEncode.AddEndArray(sb); | ||
610 | |||
611 | OSDllsdxml item = new OSDllsdxml(EventQueueHelper.EndEvent(sb)); | ||
612 | Enqueue(item, avatarID); | ||
600 | } | 613 | } |
601 | 614 | ||
602 | public OSD BuildEvent(string eventName, OSD eventBody) | 615 | public OSD BuildEvent(string eventName, OSD eventBody) |