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/Interface | |
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/Interface')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs index 92b77a4..b1749f9 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs | |||
@@ -26,6 +26,11 @@ | |||
26 | */ | 26 | */ |
27 | using System.Collections; | 27 | using System.Collections; |
28 | using OpenSim.Region.ScriptEngine.Interfaces; | 28 | using OpenSim.Region.ScriptEngine.Interfaces; |
29 | |||
30 | using key = OpenSim.Region.ScriptEngine.Shared.LSL_Types.LSLString; | ||
31 | using rotation = OpenSim.Region.ScriptEngine.Shared.LSL_Types.Quaternion; | ||
32 | using vector = OpenSim.Region.ScriptEngine.Shared.LSL_Types.Vector3; | ||
33 | |||
29 | namespace OpenSim.Region.ScriptEngine.Shared.Api.Interfaces | 34 | namespace OpenSim.Region.ScriptEngine.Shared.Api.Interfaces |
30 | { | 35 | { |
31 | public enum ThreatLevel | 36 | public enum ThreatLevel |
@@ -89,5 +94,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Interfaces | |||
89 | void osSetParcelMediaTime(double time); | 94 | void osSetParcelMediaTime(double time); |
90 | Hashtable osParseJSON(string JSON); | 95 | Hashtable osParseJSON(string JSON); |
91 | 96 | ||
97 | void osMessageObject(key objectUUID,string message); | ||
98 | |||
92 | } | 99 | } |
93 | } | 100 | } |