diff options
author | Sean Dague | 2008-11-04 20:48:35 +0000 |
---|---|---|
committer | Sean Dague | 2008-11-04 20:48:35 +0000 |
commit | ea27b95f8e27a9fc20b6ef25cdeea086f03a8fd5 (patch) | |
tree | 624703525f12a0dd375ddb1d0b58c204e5235f46 /OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs | |
parent | * Stop a non WebException in an XMLRPC request from bringing down the whole sim (diff) | |
download | opensim-SC-ea27b95f8e27a9fc20b6ef25cdeea086f03a8fd5.zip opensim-SC-ea27b95f8e27a9fc20b6ef25cdeea086f03a8fd5.tar.gz opensim-SC-ea27b95f8e27a9fc20b6ef25cdeea086f03a8fd5.tar.bz2 opensim-SC-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/OSSL_Stub.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs | 7 |
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; | |||
35 | using OpenSim.Region.ScriptEngine.Interfaces; | 35 | using OpenSim.Region.ScriptEngine.Interfaces; |
36 | using OpenSim.Region.ScriptEngine.Shared.Api.Interfaces; | 36 | using OpenSim.Region.ScriptEngine.Shared.Api.Interfaces; |
37 | using integer = OpenSim.Region.ScriptEngine.Shared.LSL_Types.LSLInteger; | 37 | using integer = OpenSim.Region.ScriptEngine.Shared.LSL_Types.LSLInteger; |
38 | using key = System.String; | ||
39 | using vector = OpenSim.Region.ScriptEngine.Shared.LSL_Types.Vector3; | 38 | using vector = OpenSim.Region.ScriptEngine.Shared.LSL_Types.Vector3; |
40 | using rotation = OpenSim.Region.ScriptEngine.Shared.LSL_Types.Quaternion; | 39 | using rotation = OpenSim.Region.ScriptEngine.Shared.LSL_Types.Quaternion; |
40 | using key = OpenSim.Region.ScriptEngine.Shared.LSL_Types.LSLString; | ||
41 | 41 | ||
42 | namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | 42 | namespace 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 | ||