diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/OptionalModules/Scripting/Minimodule/MRMBase.cs | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/OpenSim/Region/OptionalModules/Scripting/Minimodule/MRMBase.cs b/OpenSim/Region/OptionalModules/Scripting/Minimodule/MRMBase.cs index b98bb95..c47e592 100644 --- a/OpenSim/Region/OptionalModules/Scripting/Minimodule/MRMBase.cs +++ b/OpenSim/Region/OptionalModules/Scripting/Minimodule/MRMBase.cs | |||
@@ -25,17 +25,21 @@ | |||
25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | */ | 26 | */ |
27 | 27 | ||
28 | using OpenMetaverse; | ||
29 | |||
28 | namespace OpenSim.Region.OptionalModules.Scripting.Minimodule | 30 | namespace OpenSim.Region.OptionalModules.Scripting.Minimodule |
29 | { | 31 | { |
30 | public abstract class MRMBase | 32 | public abstract class MRMBase |
31 | { | 33 | { |
32 | private IWorld m_world; | 34 | private IWorld m_world; |
33 | private IHost m_host; | 35 | private IHost m_host; |
36 | private UUID m_id; | ||
34 | 37 | ||
35 | public void InitMiniModule(IWorld world, IHost host) | 38 | public void InitMiniModule(IWorld world, IHost host, UUID uniqueID) |
36 | { | 39 | { |
37 | m_world = world; | 40 | m_world = world; |
38 | m_host = host; | 41 | m_host = host; |
42 | m_id = uniqueID; | ||
39 | } | 43 | } |
40 | 44 | ||
41 | protected IWorld World | 45 | protected IWorld World |
@@ -48,6 +52,11 @@ namespace OpenSim.Region.OptionalModules.Scripting.Minimodule | |||
48 | get { return m_host; } | 52 | get { return m_host; } |
49 | } | 53 | } |
50 | 54 | ||
55 | public UUID ID | ||
56 | { | ||
57 | get { return m_id; } | ||
58 | } | ||
59 | |||
51 | public abstract void Start(); | 60 | public abstract void Start(); |
52 | public abstract void Stop(); | 61 | public abstract void Stop(); |
53 | } | 62 | } |