aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/ModuleLoader.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/ModuleLoader.cs')
-rw-r--r--OpenSim/Region/Environment/ModuleLoader.cs24
1 files changed, 21 insertions, 3 deletions
diff --git a/OpenSim/Region/Environment/ModuleLoader.cs b/OpenSim/Region/Environment/ModuleLoader.cs
index dbe43d5..1787a57 100644
--- a/OpenSim/Region/Environment/ModuleLoader.cs
+++ b/OpenSim/Region/Environment/ModuleLoader.cs
@@ -23,7 +23,7 @@ namespace OpenSim.Region.Environment
23 /// Really just a test method for loading a set of currently internal modules 23 /// Really just a test method for loading a set of currently internal modules
24 /// </summary> 24 /// </summary>
25 /// <param name="scene"></param> 25 /// <param name="scene"></param>
26 public void LoadInternalModules(Scene scene) 26 public void CreateDefaultModules(Scene scene)
27 { 27 {
28 //Testing IRegionModule ideas 28 //Testing IRegionModule ideas
29 XferModule xferManager = new XferModule(); 29 XferModule xferManager = new XferModule();
@@ -40,12 +40,30 @@ namespace OpenSim.Region.Environment
40 40
41 this.LoadModule("OpenSim.Region.ExtensionsScriptModule.dll", "ExtensionsScriptingModule", scene); 41 this.LoadModule("OpenSim.Region.ExtensionsScriptModule.dll", "ExtensionsScriptingModule", scene);
42 42
43 // Post Initialise Modules 43 // Post Initialise Modules, which most likely shouldn't be here
44 // but should rather be in a separate method that is called after all modules are loaded/created/intialised
44 xferManager.PostInitialise(); 45 xferManager.PostInitialise();
45 // chatModule.PostInitialise(); //for now leave this disabled as it would start up a partially working irc bot 46 // chatModule.PostInitialise(); //for now leave this disabled as it would start up a partially working irc bot
46 avatarProfiles.PostInitialise(); 47 avatarProfiles.PostInitialise();
47 } 48 }
48 49
50 /// <summary>
51 /// Loads/initialises a Module instance that can be used by mutliple Regions
52 /// </summary>
53 /// <param name="dllName"></param>
54 /// <param name="moduleName"></param>
55 /// <param name="scene"></param>
56 public void LoadSharedModule(string dllName, string moduleName, Scene scene)
57 {
58
59 }
60
61 /// <summary>
62 /// Loads a external Module (if not already loaded) and creates a new instance of it for the passed Scene.
63 /// </summary>
64 /// <param name="dllName"></param>
65 /// <param name="moduleName"></param>
66 /// <param name="scene"></param>
49 public void LoadModule(string dllName, string moduleName, Scene scene) 67 public void LoadModule(string dllName, string moduleName, Scene scene)
50 { 68 {
51 Assembly pluginAssembly = null; 69 Assembly pluginAssembly = null;