diff options
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/CoreModules/World/Terrain/TerrainModule.cs | 4 | ||||
-rw-r--r-- | OpenSim/Region/Framework/Interfaces/IRegionModuleBase.cs | 13 |
2 files changed, 17 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/World/Terrain/TerrainModule.cs b/OpenSim/Region/CoreModules/World/Terrain/TerrainModule.cs index 9f1867f..5893a11 100644 --- a/OpenSim/Region/CoreModules/World/Terrain/TerrainModule.cs +++ b/OpenSim/Region/CoreModules/World/Terrain/TerrainModule.cs | |||
@@ -136,6 +136,10 @@ namespace OpenSim.Region.CoreModules.World.Terrain | |||
136 | LoadPlugins(); | 136 | LoadPlugins(); |
137 | } | 137 | } |
138 | 138 | ||
139 | public void RegionLoaded(Scene scene) | ||
140 | { | ||
141 | } | ||
142 | |||
139 | public void RemoveRegion(Scene scene) | 143 | public void RemoveRegion(Scene scene) |
140 | { | 144 | { |
141 | lock (m_scene) | 145 | lock (m_scene) |
diff --git a/OpenSim/Region/Framework/Interfaces/IRegionModuleBase.cs b/OpenSim/Region/Framework/Interfaces/IRegionModuleBase.cs index 265b464..9d2327a 100644 --- a/OpenSim/Region/Framework/Interfaces/IRegionModuleBase.cs +++ b/OpenSim/Region/Framework/Interfaces/IRegionModuleBase.cs | |||
@@ -71,6 +71,19 @@ namespace OpenSim.Region.Framework.Interfaces | |||
71 | /// A <see cref="Scene"/> | 71 | /// A <see cref="Scene"/> |
72 | /// </param> | 72 | /// </param> |
73 | void RemoveRegion(Scene scene); | 73 | void RemoveRegion(Scene scene); |
74 | |||
75 | /// <summary> | ||
76 | /// This will be called once for every scene loaded. In a shared module | ||
77 | /// this will be multiple times in one instance, while a nonshared | ||
78 | /// module instance will only be called once. | ||
79 | /// This method is called after AddRegion has been called in all | ||
80 | /// modules for that scene, providing an opportunity to request | ||
81 | /// another module's interface, or hook an event from another module. | ||
82 | /// </summary> | ||
83 | /// <param name="scene"> | ||
84 | /// A <see cref="Scene"/> | ||
85 | /// </param> | ||
86 | void RegionLoaded(Scene scene); | ||
74 | } | 87 | } |
75 | 88 | ||
76 | } | 89 | } |