diff options
author | Charles Krinke | 2009-12-23 10:34:11 -0800 |
---|---|---|
committer | Charles Krinke | 2009-12-23 10:34:11 -0800 |
commit | fddefff28479b6874235419dd5d26214afabb4f2 (patch) | |
tree | 056b131e7b7afd25f7b1ccc96e5871dba30877a8 /OpenSim/Region/OptionalModules/Scripting/Minimodule/Interfaces/IWorld.cs | |
parent | - commented out unused method ConvertIHttpClientContextToOSHttp (diff) | |
download | opensim-SC-fddefff28479b6874235419dd5d26214afabb4f2.zip opensim-SC-fddefff28479b6874235419dd5d26214afabb4f2.tar.gz opensim-SC-fddefff28479b6874235419dd5d26214afabb4f2.tar.bz2 opensim-SC-fddefff28479b6874235419dd5d26214afabb4f2.tar.xz |
Thank you kindly, Ziah for a patch that adds the channel to the class ChatEventArgs and retrieves it's value along with the others from the OSChatMessage in HandleChatPackage. With this the MRM Script can check if a ChatEvent is coming in on a specifc Channel. The Second Part adds the Method say(string msg , int channel) to send a chat message on the specified channel. The idea behind this is to enable MRM's to communicate with regular LSL or OSSL Scripts so that they may can act as a Backend to access a Database or do business Logic for those Scripts.
Signed-off-by: Charles Krinke <cfk@pacbell.net>
Diffstat (limited to 'OpenSim/Region/OptionalModules/Scripting/Minimodule/Interfaces/IWorld.cs')
-rw-r--r-- | OpenSim/Region/OptionalModules/Scripting/Minimodule/Interfaces/IWorld.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSim/Region/OptionalModules/Scripting/Minimodule/Interfaces/IWorld.cs b/OpenSim/Region/OptionalModules/Scripting/Minimodule/Interfaces/IWorld.cs index 3c14ed5..3b3b3d0 100644 --- a/OpenSim/Region/OptionalModules/Scripting/Minimodule/Interfaces/IWorld.cs +++ b/OpenSim/Region/OptionalModules/Scripting/Minimodule/Interfaces/IWorld.cs | |||
@@ -41,6 +41,7 @@ namespace OpenSim.Region.OptionalModules.Scripting.Minimodule | |||
41 | { | 41 | { |
42 | public string Text; | 42 | public string Text; |
43 | public IEntity Sender; | 43 | public IEntity Sender; |
44 | public int Channel; | ||
44 | } | 45 | } |
45 | 46 | ||
46 | public delegate void OnChatDelegate(IWorld sender, ChatEventArgs e); | 47 | public delegate void OnChatDelegate(IWorld sender, ChatEventArgs e); |