diff options
Diffstat (limited to 'OpenSim/Region/Environment/Modules')
-rw-r--r-- | OpenSim/Region/Environment/Modules/Framework/EventQueueHelper.cs | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Modules/Framework/EventQueueHelper.cs b/OpenSim/Region/Environment/Modules/Framework/EventQueueHelper.cs index 93ee4f8..1e7eb59 100644 --- a/OpenSim/Region/Environment/Modules/Framework/EventQueueHelper.cs +++ b/OpenSim/Region/Environment/Modules/Framework/EventQueueHelper.cs | |||
@@ -146,6 +146,23 @@ namespace OpenSim.Region.Environment | |||
146 | return buildEvent("TeleportFinish", body); | 146 | return buildEvent("TeleportFinish", body); |
147 | } | 147 | } |
148 | 148 | ||
149 | public static LLSD ScriptRunningReplyEvent(UUID objectID, UUID itemID, bool running, bool mono) | ||
150 | { | ||
151 | LLSDMap script = new LLSDMap(); | ||
152 | script.Add("ObjectID", LLSD.FromUUID(objectID)); | ||
153 | script.Add("ItemID", LLSD.FromUUID(itemID)); | ||
154 | script.Add("Running", LLSD.FromBoolean(running)); | ||
155 | script.Add("Mono", LLSD.FromBoolean(mono)); | ||
156 | |||
157 | LLSDArray scriptArr = new LLSDArray(); | ||
158 | scriptArr.Add(script); | ||
159 | |||
160 | LLSDMap body = new LLSDMap(); | ||
161 | body.Add("Script", scriptArr); | ||
162 | |||
163 | return buildEvent("ScriptRunningReply", body); | ||
164 | } | ||
165 | |||
149 | public static LLSD KeepAliveEvent() | 166 | public static LLSD KeepAliveEvent() |
150 | { | 167 | { |
151 | return buildEvent("FAKEEVENT", new LLSDMap()); | 168 | return buildEvent("FAKEEVENT", new LLSDMap()); |