aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/IRegionCreator.cs
diff options
context:
space:
mode:
authorMW2009-02-26 22:51:52 +0000
committerMW2009-02-26 22:51:52 +0000
commit756c5170694fa3dc4146c2b4034f52bd5c97ec86 (patch)
tree2390934b9e8544e332d55ff7a9a513424612914a /OpenSim/Framework/IRegionCreator.cs
parentThis adds a new osGetAgentIP function with threat level set to High. It (diff)
downloadopensim-SC-756c5170694fa3dc4146c2b4034f52bd5c97ec86.zip
opensim-SC-756c5170694fa3dc4146c2b4034f52bd5c97ec86.tar.gz
opensim-SC-756c5170694fa3dc4146c2b4034f52bd5c97ec86.tar.bz2
opensim-SC-756c5170694fa3dc4146c2b4034f52bd5c97ec86.tar.xz
Added IRegionCreator interface that all ApplicationPlugins that are creators of Scenes should implement and register with the ApplicationRegistry.StackModuleInterface<>(); So that other plugins can attach to their OnNewRegionCreated event.
Made some changes to IRegistryCore and RegistryCore so they support "Stacked" interfaces.
Diffstat (limited to 'OpenSim/Framework/IRegionCreator.cs')
-rw-r--r--OpenSim/Framework/IRegionCreator.cs12
1 files changed, 12 insertions, 0 deletions
diff --git a/OpenSim/Framework/IRegionCreator.cs b/OpenSim/Framework/IRegionCreator.cs
new file mode 100644
index 0000000..7920ee4
--- /dev/null
+++ b/OpenSim/Framework/IRegionCreator.cs
@@ -0,0 +1,12 @@
1using System;
2using System.Collections.Generic;
3using System.Text;
4
5namespace OpenSim.Framework
6{
7 public delegate void NewRegionCreated(IScene scene);
8 public interface IRegionCreator
9 {
10 event NewRegionCreated OnNewRegionCreated;
11 }
12}