aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules/Scripting/Minimodule/MRMBase.cs
diff options
context:
space:
mode:
authorAdam Frisby2009-03-05 00:52:59 +0000
committerAdam Frisby2009-03-05 00:52:59 +0000
commit65990de3905a4b117e5fef2c535fcc9d920be6c5 (patch)
treeadd357af0808eacceba0a389200836ec456850ae /OpenSim/Region/OptionalModules/Scripting/Minimodule/MRMBase.cs
parent* Implements a number of members on SOGObject for use with the MRM Script Eng... (diff)
downloadopensim-SC-65990de3905a4b117e5fef2c535fcc9d920be6c5.zip
opensim-SC-65990de3905a4b117e5fef2c535fcc9d920be6c5.tar.gz
opensim-SC-65990de3905a4b117e5fef2c535fcc9d920be6c5.tar.bz2
opensim-SC-65990de3905a4b117e5fef2c535fcc9d920be6c5.tar.xz
MRM Scripting Changes
* Renames MiniRegionModule to MRMModule to make it more distinct from the actual Mini Region Module[s] executed in Scene. * Renames MiniRegionModuleBase to MRMBase for convenience. MRM's need to be adjusted to inherit from MRMBase.
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}