aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2010-12-04 02:38:26 +0000
committerJustin Clark-Casey (justincc)2010-12-04 02:38:26 +0000
commit510b55c7f08e01b1d7ff14cbfdea367b9744dc23 (patch)
tree0888cd0d120b9ed9ccf6dd918ac601100a08d39e /OpenSim/Region
parentcorrect the id of the example module (diff)
downloadopensim-SC_OLD-510b55c7f08e01b1d7ff14cbfdea367b9744dc23.zip
opensim-SC_OLD-510b55c7f08e01b1d7ff14cbfdea367b9744dc23.tar.gz
opensim-SC_OLD-510b55c7f08e01b1d7ff14cbfdea367b9744dc23.tar.bz2
opensim-SC_OLD-510b55c7f08e01b1d7ff14cbfdea367b9744dc23.tar.xz
refactor some common code in RegionModulesControllerPlugin
also some minor doc changes in BareBonesNonSharedModule
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/OptionalModules/Example/BareBonesNonShared/BareBonesNonSharedModule.cs15
1 files changed, 9 insertions, 6 deletions
diff --git a/OpenSim/Region/OptionalModules/Example/BareBonesNonShared/BareBonesNonSharedModule.cs b/OpenSim/Region/OptionalModules/Example/BareBonesNonShared/BareBonesNonSharedModule.cs
index 5ece77d..7d37135 100644
--- a/OpenSim/Region/OptionalModules/Example/BareBonesNonShared/BareBonesNonSharedModule.cs
+++ b/OpenSim/Region/OptionalModules/Example/BareBonesNonShared/BareBonesNonSharedModule.cs
@@ -41,10 +41,13 @@ namespace OpenSim.Region.OptionalModules.Example.BareBonesNonShared
41 /// <remarks> 41 /// <remarks>
42 /// This module is the simplest possible example of a non-shared region module (a module where each scene/region 42 /// This module is the simplest possible example of a non-shared region module (a module where each scene/region
43 /// in the simulator has its own copy). If anybody wants to create a more complex example in the future then 43 /// in the simulator has its own copy). If anybody wants to create a more complex example in the future then
44 /// please create a separate example. 44 /// please create a separate class.
45 /// 45 ///
46 /// This module is not active by default. If you want to see it in action, 46 /// This module is not active by default. If you want to see it in action,
47 /// then just uncomment the line below starting with [Extension(Path... 47 /// then just uncomment the line below starting with [Extension(Path...
48 ///
49 /// When the module is enabled it will print messages when it receives certain events to the screen and the log
50 /// file.
48 /// </remarks> 51 /// </remarks>
49 //[Extension(Path = "/OpenSim/RegionModules", NodeName = "RegionModule", Id = "BareBonesNonSharedModule")] 52 //[Extension(Path = "/OpenSim/RegionModules", NodeName = "RegionModule", Id = "BareBonesNonSharedModule")]
50 public class BareBonesNonSharedModule : INonSharedRegionModule 53 public class BareBonesNonSharedModule : INonSharedRegionModule
@@ -57,27 +60,27 @@ namespace OpenSim.Region.OptionalModules.Example.BareBonesNonShared
57 60
58 public void Initialise(IConfigSource source) 61 public void Initialise(IConfigSource source)
59 { 62 {
60 m_log.DebugFormat("[BARE BONES]: INITIALIZED MODULE"); 63 m_log.DebugFormat("[BARE BONES NON SHARED]: INITIALIZED MODULE");
61 } 64 }
62 65
63 public void Close() 66 public void Close()
64 { 67 {
65 m_log.DebugFormat("[BARE BONES]: CLOSED MODULE"); 68 m_log.DebugFormat("[BARE BONES NON SHARED]: CLOSED MODULE");
66 } 69 }
67 70
68 public void AddRegion(Scene scene) 71 public void AddRegion(Scene scene)
69 { 72 {
70 m_log.DebugFormat("[BARE BONES]: REGION {0} ADDED", scene.RegionInfo.RegionName); 73 m_log.DebugFormat("[BARE BONES NON SHARED]: REGION {0} ADDED", scene.RegionInfo.RegionName);
71 } 74 }
72 75
73 public void RemoveRegion(Scene scene) 76 public void RemoveRegion(Scene scene)
74 { 77 {
75 m_log.DebugFormat("[BARE BONES]: REGION {0} REMOVED", scene.RegionInfo.RegionName); 78 m_log.DebugFormat("[BARE BONES NON SHARED]: REGION {0} REMOVED", scene.RegionInfo.RegionName);
76 } 79 }
77 80
78 public void RegionLoaded(Scene scene) 81 public void RegionLoaded(Scene scene)
79 { 82 {
80 m_log.DebugFormat("[BARE BONES]: REGION {0} LOADED", scene.RegionInfo.RegionName); 83 m_log.DebugFormat("[BARE BONES NON SHARED]: REGION {0} LOADED", scene.RegionInfo.RegionName);
81 } 84 }
82 } 85 }
83} \ No newline at end of file 86} \ No newline at end of file