29 using System.Collections.Generic;
30 using System.Reflection;
37 using OpenSim.Framework;
38 using OpenSim.Region.Framework;
39 using OpenSim.Region.Framework.Interfaces;
40 using OpenSim.Region.Framework.Scenes;
43 [assembly: Addin(
"LindenCaps", OpenSim.VersionInfo.VersionNumber)]
44 [assembly: AddinDependency(
"OpenSim.Region.Framework", OpenSim.VersionInfo.VersionNumber)]
45 namespace OpenSim.
Region.ClientStack.Linden
48 [Extension(Path =
"/OpenSim/RegionModules", NodeName =
"RegionModule", Id =
"BunchOfCapsModule")]
54 private Scene m_Scene;
56 #region INonSharedRegionModule
58 public string Name {
get {
return "BunchOfCapsModule"; } }
60 public Type ReplaceableInterface {
get {
return null; } }
71 m_Scene.EventManager.OnRegisterCaps += OnRegisterCaps;
85 private void OnRegisterCaps(UUID agentID,
Caps caps)
void RemoveRegion(Scene scene)
This is called whenever a Scene is removed. For shared modules, this can happen several times...
OpenSim.Framework.Capabilities.Caps Caps
void Close()
This is the inverse to Initialise. After a Close(), this instance won't be usable anymore...
void Initialise(IConfigSource source)
This is called to initialize the region module. For shared modules, this is called exactly once...
void RegionLoaded(Scene scene)
This will be called once for every scene loaded. In a shared module this will be multiple times in on...
void AddRegion(Scene scene)
This is called whenever a Scene is added. For shared modules, this can happen several times...
OpenSim.Framework.Capabilities.Caps Caps