diff options
author | MW | 2009-02-19 11:54:53 +0000 |
---|---|---|
committer | MW | 2009-02-19 11:54:53 +0000 |
commit | 1b65020b414bca9120fe87998769b5e138c435cd (patch) | |
tree | 01ca7aa57f4362b7c63cd6a8c9e3a4ad76cc4979 /OpenSim/Region/Framework | |
parent | Force plugin state update when region crossing (diff) | |
download | opensim-SC-1b65020b414bca9120fe87998769b5e138c435cd.zip opensim-SC-1b65020b414bca9120fe87998769b5e138c435cd.tar.gz opensim-SC-1b65020b414bca9120fe87998769b5e138c435cd.tar.bz2 opensim-SC-1b65020b414bca9120fe87998769b5e138c435cd.tar.xz |
Added a event to IMessageTransferModule (and MessageTransferModule) so that other modules can capture IM messages and do custom handling of them. As just attaching to Client IM events doesn't really support this, as they would still get routed through the normal process and could give back errors.
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r-- | OpenSim/Region/Framework/Interfaces/IMessageTransferModule.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Interfaces/IMessageTransferModule.cs b/OpenSim/Region/Framework/Interfaces/IMessageTransferModule.cs index ffae307..bc194b9 100644 --- a/OpenSim/Region/Framework/Interfaces/IMessageTransferModule.cs +++ b/OpenSim/Region/Framework/Interfaces/IMessageTransferModule.cs | |||
@@ -30,9 +30,12 @@ using OpenSim.Framework; | |||
30 | namespace OpenSim.Region.Framework.Interfaces | 30 | namespace OpenSim.Region.Framework.Interfaces |
31 | { | 31 | { |
32 | public delegate void MessageResultNotification(bool success); | 32 | public delegate void MessageResultNotification(bool success); |
33 | public delegate bool ExternalHandleIM(GridInstantMessage im); | ||
33 | 34 | ||
34 | public interface IMessageTransferModule | 35 | public interface IMessageTransferModule |
35 | { | 36 | { |
37 | event ExternalHandleIM OnExternalIMCapture; | ||
38 | |||
36 | void SendInstantMessage(GridInstantMessage im, MessageResultNotification result); | 39 | void SendInstantMessage(GridInstantMessage im, MessageResultNotification result); |
37 | } | 40 | } |
38 | } | 41 | } |