diff options
author | Homer Horwitz | 2008-10-16 21:46:03 +0000 |
---|---|---|
committer | Homer Horwitz | 2008-10-16 21:46:03 +0000 |
commit | ae9e38bf3fdc27144e0f3fa377c60506526e4c13 (patch) | |
tree | db9515714c731464576c415d8d37021abbe9f469 /OpenSim/Region/Environment/Modules | |
parent | Split the currency module into currency and a new Combat module, because (diff) | |
download | opensim-SC_OLD-ae9e38bf3fdc27144e0f3fa377c60506526e4c13.zip opensim-SC_OLD-ae9e38bf3fdc27144e0f3fa377c60506526e4c13.tar.gz opensim-SC_OLD-ae9e38bf3fdc27144e0f3fa377c60506526e4c13.tar.bz2 opensim-SC_OLD-ae9e38bf3fdc27144e0f3fa377c60506526e4c13.tar.xz |
Fixed (mono-)script handling for SL viewer 1.21:
- Added two missing caps (UpdateScriptAgent, UpdateScriptTask)
- Added one missing EventQueue event (ScriptRunningReply)
- Changed DNE and XEngine to use this new event
As we only use the mono engine anyway, the "Mono" checkbox is set by
default but doesn't have any function.
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()); |