diff options
author | Melanie Thielker | 2010-05-04 23:45:59 +0200 |
---|---|---|
committer | Melanie | 2010-05-04 21:26:10 +0100 |
commit | 3761f7997134f3515421e9cf19ebb775f296bef2 (patch) | |
tree | 7f838c7164b2fcc8ff2658a1c8933868cec59d60 /OpenSim/Region/Framework/Interfaces/IEstateModule.cs | |
parent | make the events more useful by providing the source region (diff) | |
download | opensim-SC-3761f7997134f3515421e9cf19ebb775f296bef2.zip opensim-SC-3761f7997134f3515421e9cf19ebb775f296bef2.tar.gz opensim-SC-3761f7997134f3515421e9cf19ebb775f296bef2.tar.bz2 opensim-SC-3761f7997134f3515421e9cf19ebb775f296bef2.tar.xz |
Strip estate message sending out from the estate management module and
the dialog module. Convert it to an event on the estate module interface.
The old implementation did the same as message to region, a button that
is right next to it on the UI. This implementation prevented people from
adding a more sane one in a module.
Diffstat (limited to 'OpenSim/Region/Framework/Interfaces/IEstateModule.cs')
-rw-r--r-- | OpenSim/Region/Framework/Interfaces/IEstateModule.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Interfaces/IEstateModule.cs b/OpenSim/Region/Framework/Interfaces/IEstateModule.cs index 329c3f5..c850f7f 100644 --- a/OpenSim/Region/Framework/Interfaces/IEstateModule.cs +++ b/OpenSim/Region/Framework/Interfaces/IEstateModule.cs | |||
@@ -30,11 +30,13 @@ using OpenMetaverse; | |||
30 | namespace OpenSim.Region.Framework.Interfaces | 30 | namespace OpenSim.Region.Framework.Interfaces |
31 | { | 31 | { |
32 | public delegate void ChangeDelegate(UUID regionID); | 32 | public delegate void ChangeDelegate(UUID regionID); |
33 | public delegate void MessageDelegate(UUID regionID, UUID fromID, string fromName, string message); | ||
33 | 34 | ||
34 | public interface IEstateModule : IRegionModule | 35 | public interface IEstateModule : IRegionModule |
35 | { | 36 | { |
36 | event ChangeDelegate OnRegionInfoChange; | 37 | event ChangeDelegate OnRegionInfoChange; |
37 | event ChangeDelegate OnEstateInfoChange; | 38 | event ChangeDelegate OnEstateInfoChange; |
39 | event MessageDelegate OnEstateMessage; | ||
38 | 40 | ||
39 | uint GetRegionFlags(); | 41 | uint GetRegionFlags(); |
40 | bool IsManager(UUID avatarID); | 42 | bool IsManager(UUID avatarID); |