diff options
author | UbitUmarov | 2019-01-25 21:35:23 +0000 |
---|---|---|
committer | UbitUmarov | 2019-01-25 21:35:23 +0000 |
commit | f7926eb28c45969dde1b0be3cb7e9739319dd7e9 (patch) | |
tree | cc33bd20a32059730dcb6607e051f8f34c417190 /OpenSim/Region/ClientStack/Linden/Caps/EventQueue/EventQueueGetModule.cs | |
parent | script mono is meaningless for us (diff) | |
download | opensim-SC-f7926eb28c45969dde1b0be3cb7e9739319dd7e9.zip opensim-SC-f7926eb28c45969dde1b0be3cb7e9739319dd7e9.tar.gz opensim-SC-f7926eb28c45969dde1b0be3cb7e9739319dd7e9.tar.bz2 opensim-SC-f7926eb28c45969dde1b0be3cb7e9739319dd7e9.tar.xz |
ok take the all change
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) |