aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules/Scripting/Minimodule/MRMBase.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/OptionalModules/Scripting/Minimodule/MRMBase.cs')
-rw-r--r--OpenSim/Region/OptionalModules/Scripting/Minimodule/MRMBase.cs27
1 files changed, 27 insertions, 0 deletions
diff --git a/OpenSim/Region/OptionalModules/Scripting/Minimodule/MRMBase.cs b/OpenSim/Region/OptionalModules/Scripting/Minimodule/MRMBase.cs
new file mode 100644
index 0000000..b2e6d2e
--- /dev/null
+++ b/OpenSim/Region/OptionalModules/Scripting/Minimodule/MRMBase.cs
@@ -0,0 +1,27 @@
1namespace OpenSim.Region.OptionalModules.Scripting.Minimodule
2{
3 public abstract class MRMBase
4 {
5 private IWorld m_world;
6 private IHost m_host;
7
8 public void InitMiniModule(IWorld world, IHost host)
9 {
10 m_world = world;
11 m_host = host;
12 }
13
14 protected IWorld World
15 {
16 get { return m_world; }
17 }
18
19 protected IHost Host
20 {
21 get { return m_host; }
22 }
23
24 public abstract void Start();
25 public abstract void Stop();
26 }
27}