diff options
author | Tedd Hansen | 2008-01-17 15:22:35 +0000 |
---|---|---|
committer | Tedd Hansen | 2008-01-17 15:22:35 +0000 |
commit | 82d43db1ccbc2b13e21c88650165f82651b657e1 (patch) | |
tree | cffd57c063d69ffc670758f4c794239e1539d453 /OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/ScriptManager.cs | |
parent | * Added llApplyImpulse in the global frame. The object must be physical befo... (diff) | |
download | opensim-SC-82d43db1ccbc2b13e21c88650165f82651b657e1.zip opensim-SC-82d43db1ccbc2b13e21c88650165f82651b657e1.tar.gz opensim-SC-82d43db1ccbc2b13e21c88650165f82651b657e1.tar.bz2 opensim-SC-82d43db1ccbc2b13e21c88650165f82651b657e1.tar.xz |
Added data structure to be passed through event execution queue so that events can use llDetect*-commands to find information about event.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/ScriptManager.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/ScriptManager.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/ScriptManager.cs b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/ScriptManager.cs index 784e849..ea87581 100644 --- a/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/ScriptManager.cs +++ b/OpenSim/Region/ScriptEngine/Common/ScriptEngineBase/ScriptManager.cs | |||
@@ -232,7 +232,7 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase | |||
232 | /// <param name="itemID">Script ID</param> | 232 | /// <param name="itemID">Script ID</param> |
233 | /// <param name="FunctionName">Name of function</param> | 233 | /// <param name="FunctionName">Name of function</param> |
234 | /// <param name="args">Arguments to pass to function</param> | 234 | /// <param name="args">Arguments to pass to function</param> |
235 | internal void ExecuteEvent(uint localID, LLUUID itemID, string FunctionName, object[] args) | 235 | internal void ExecuteEvent(uint localID, LLUUID itemID, string FunctionName, EventQueueManager.Queue_llDetectParams_Struct qParams, object[] args) |
236 | { | 236 | { |
237 | #if DEBUG | 237 | #if DEBUG |
238 | Console.WriteLine("ScriptEngine: Inside ExecuteEvent for event " + FunctionName); | 238 | Console.WriteLine("ScriptEngine: Inside ExecuteEvent for event " + FunctionName); |
@@ -247,6 +247,7 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase | |||
247 | Console.WriteLine("ScriptEngine: Executing event: " + FunctionName); | 247 | Console.WriteLine("ScriptEngine: Executing event: " + FunctionName); |
248 | #endif | 248 | #endif |
249 | // Must be done in correct AppDomain, so leaving it up to the script itself | 249 | // Must be done in correct AppDomain, so leaving it up to the script itself |
250 | Script.llDetectParams = qParams; | ||
250 | Script.Exec.ExecuteEvent(FunctionName, args); | 251 | Script.Exec.ExecuteEvent(FunctionName, args); |
251 | } | 252 | } |
252 | 253 | ||