diff options
Start of trying to make Region/Scene more modular.
Added preliminary IRegionModule interface.
Also have a work in progress way of Modules registering optional API methods (kind of like Apache optional functions). But there must be a cleaner/nicer way in c# of doing these than the current way.
Added three work in progress modules: ChatModule (simple handles in world chat, but by moving this to a module, we could support other types of chat modules, ie like a irc - opensim bridge module. ) , AvatarProfilesModule and XferModule.
Moved most of the code from Scene.ModifyTerrain() into the BasicTerrain library, as the start of trying to make that more modular.
Stopped Child agents showing up as part of the "show users" command.
Diffstat (limited to 'OpenSim/Region/Environment/Interfaces')
-rw-r--r-- | OpenSim/Region/Environment/Interfaces/IRegionDataStore.cs | 2 | ||||
-rw-r--r-- | OpenSim/Region/Environment/Interfaces/IRegionModule.cs | 14 |
2 files changed, 15 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Interfaces/IRegionDataStore.cs b/OpenSim/Region/Environment/Interfaces/IRegionDataStore.cs index 9b97fc6..24da06c 100644 --- a/OpenSim/Region/Environment/Interfaces/IRegionDataStore.cs +++ b/OpenSim/Region/Environment/Interfaces/IRegionDataStore.cs | |||
@@ -36,7 +36,7 @@ using OpenSim.Region.Environment.LandManagement; | |||
36 | 36 | ||
37 | using System.Collections.Generic; | 37 | using System.Collections.Generic; |
38 | 38 | ||
39 | namespace OpenSim.Region.Interfaces | 39 | namespace OpenSim.Region.Environment.Interfaces |
40 | { | 40 | { |
41 | public interface IRegionDataStore | 41 | public interface IRegionDataStore |
42 | { | 42 | { |
diff --git a/OpenSim/Region/Environment/Interfaces/IRegionModule.cs b/OpenSim/Region/Environment/Interfaces/IRegionModule.cs new file mode 100644 index 0000000..84e156f --- /dev/null +++ b/OpenSim/Region/Environment/Interfaces/IRegionModule.cs | |||
@@ -0,0 +1,14 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | |||
5 | namespace OpenSim.Region.Environment.Interfaces | ||
6 | { | ||
7 | public interface IRegionModule | ||
8 | { | ||
9 | void Initialise(Scenes.Scene scene); | ||
10 | void PostInitialise(); | ||
11 | void CloseDown(); | ||
12 | string GetName(); | ||
13 | } | ||
14 | } | ||