aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api/Runtime
diff options
context:
space:
mode:
authorSean Dague2008-11-04 20:48:35 +0000
committerSean Dague2008-11-04 20:48:35 +0000
commitea27b95f8e27a9fc20b6ef25cdeea086f03a8fd5 (patch)
tree624703525f12a0dd375ddb1d0b58c204e5235f46 /OpenSim/Region/ScriptEngine/Shared/Api/Runtime
parent* Stop a non WebException in an XMLRPC request from bringing down the whole sim (diff)
downloadopensim-SC_OLD-ea27b95f8e27a9fc20b6ef25cdeea086f03a8fd5.zip
opensim-SC_OLD-ea27b95f8e27a9fc20b6ef25cdeea086f03a8fd5.tar.gz
opensim-SC_OLD-ea27b95f8e27a9fc20b6ef25cdeea086f03a8fd5.tar.bz2
opensim-SC_OLD-ea27b95f8e27a9fc20b6ef25cdeea086f03a8fd5.tar.xz
From: Rob Smart <SMARTROB@uk.ibm.com>
This patch allows an object to directly message another object given its key using the method osMessageObject(key objectUUID,string message). to communicate with an object it must implement the dataserver listener method. The dataserver method is passed the key of the calling object and a string message.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Runtime')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs7
1 files changed, 6 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs
index d92ae7f..35a8830 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs
@@ -35,9 +35,9 @@ using OpenSim.Region.Environment.Interfaces;
35using OpenSim.Region.ScriptEngine.Interfaces; 35using OpenSim.Region.ScriptEngine.Interfaces;
36using OpenSim.Region.ScriptEngine.Shared.Api.Interfaces; 36using OpenSim.Region.ScriptEngine.Shared.Api.Interfaces;
37using integer = OpenSim.Region.ScriptEngine.Shared.LSL_Types.LSLInteger; 37using integer = OpenSim.Region.ScriptEngine.Shared.LSL_Types.LSLInteger;
38using key = System.String;
39using vector = OpenSim.Region.ScriptEngine.Shared.LSL_Types.Vector3; 38using vector = OpenSim.Region.ScriptEngine.Shared.LSL_Types.Vector3;
40using rotation = OpenSim.Region.ScriptEngine.Shared.LSL_Types.Quaternion; 39using rotation = OpenSim.Region.ScriptEngine.Shared.LSL_Types.Quaternion;
40using key = OpenSim.Region.ScriptEngine.Shared.LSL_Types.LSLString;
41 41
42namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase 42namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
43{ 43{
@@ -231,6 +231,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
231 { 231 {
232 return m_OSSL_Functions.osParseJSON(JSON); 232 return m_OSSL_Functions.osParseJSON(JSON);
233 } 233 }
234
235 public void osMessageObject(key objectUUID,string message)
236 {
237 m_OSSL_Functions.osMessageObject(objectUUID,message);
238 }
234 239
235 public OSSLPrim Prim; 240 public OSSLPrim Prim;
236 241