From 285dfe305550dc3f47f934ef96ae0c1b0b87aa60 Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Tue, 14 Apr 2009 03:22:02 +0000 Subject: Add the RegionLoaded(Scene) API to the new region module interface to allow region modules to use another region module's interfaces and events in a scene context --- OpenSim/Region/Framework/Interfaces/IRegionModuleBase.cs | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'OpenSim/Region/Framework/Interfaces') 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 /// A /// void RemoveRegion(Scene scene); + + /// + /// This will be called once for every scene loaded. In a shared module + /// this will be multiple times in one instance, while a nonshared + /// module instance will only be called once. + /// This method is called after AddRegion has been called in all + /// modules for that scene, providing an opportunity to request + /// another module's interface, or hook an event from another module. + /// + /// + /// A + /// + void RegionLoaded(Scene scene); } } -- cgit v1.1