OpenSim
|
Public Member Functions | |
void | Initialise (IConfigSource source) |
This is called to initialize the region module. For shared modules, this is called exactly once, after creating the single (shared) instance. For non-shared modules, this is called once on each instance, after the instace for the region has been created. More... | |
void | AddRegion (Scene scene) |
This is called whenever a Scene is added. For shared modules, this can happen several times. For non-shared modules, this happens exactly once, after Initialise has been called. More... | |
void | RegionLoaded (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. More... | |
void | RemoveRegion (Scene scene) |
This is called whenever a Scene is removed. For shared modules, this can happen several times. For non-shared modules, this happens exactly once, if the scene this instance is associated with is removed. More... | |
void | PostInitialise () |
void | Close () |
This is the inverse to Initialise. After a Close(), this instance won't be usable anymore. More... | |
void | CreateCaps (UUID agentId, uint circuitCode) |
Add a caps handler for the given agent. If the CAPS handler already exists for this agent, then it is replaced by a new CAPS handler. More... | |
void | RemoveCaps (UUID agentId, uint circuitCode) |
Remove the caps handler for a given agent. More... | |
Caps | GetCapsForUser (uint circuitCode) |
Will return null if the agent doesn't have a caps handler registered More... | |
void | ActivateCaps (uint circuitCode) |
void | SetAgentCapsSeeds (AgentCircuitData agent) |
string | GetCapsPath (UUID agentId) |
Dictionary< ulong, string > | GetChildrenSeeds (UUID agentID) |
void | DropChildSeed (UUID agentID, ulong handle) |
string | GetChildSeed (UUID agentID, ulong handle) |
void | SetChildrenSeed (UUID agentID, Dictionary< ulong, string > seeds) |
void | DumpChildrenSeeds (UUID agentID) |
Protected Attributes | |
Scene | m_scene |
Dictionary< uint, Caps > | m_capsObjects = new Dictionary<uint, Caps>() |
Each agent has its own capabilities handler. More... | |
Dictionary< UUID, string > | m_capsPaths = new Dictionary<UUID, string>() |
Dictionary< UUID, Dictionary < ulong, string > > | m_childrenSeeds = new Dictionary<UUID, Dictionary<ulong, string>>() |
Properties | |
string | Name [get] |
Type | ReplaceableInterface [get] |
Properties inherited from OpenSim.Region.Framework.Interfaces.IRegionModuleBase | |
string | Name [get] |
Type | ReplaceableInterface [get] |
If this returns non-null, it is the type of an interface that this module intends to register. This will cause the loader to defer loading of this module until all other modules have been loaded. If no other module has registered the interface by then, this module will be activated, else it will remain inactive, letting the other module take over. This should return non-null ONLY in modules that are intended to be easily replaceable, e.g. stub implementations that the developer expects to be replaced by third party provided modules. More... | |
Definition at line 49 of file CapabilitiesModule.cs.
|
inline |
Implements OpenSim.Region.Framework.Interfaces.ICapabilitiesModule.
Definition at line 232 of file CapabilitiesModule.cs.
|
inline |
This is called whenever a Scene is added. For shared modules, this can happen several times. For non-shared modules, this happens exactly once, after Initialise has been called.
scene | A Scene |
Implements OpenSim.Region.Framework.Interfaces.IRegionModuleBase.
Definition at line 71 of file CapabilitiesModule.cs.
|
inline |
This is the inverse to Initialise. After a Close(), this instance won't be usable anymore.
Implements OpenSim.Region.Framework.Interfaces.IRegionModuleBase.
Definition at line 109 of file CapabilitiesModule.cs.
|
inline |
Add a caps handler for the given agent. If the CAPS handler already exists for this agent, then it is replaced by a new CAPS handler.
agentId | |
capsObjectPath |
Implements OpenSim.Region.Framework.Interfaces.ICapabilitiesModule.
Definition at line 121 of file CapabilitiesModule.cs.
|
inline |
Implements OpenSim.Region.Framework.Interfaces.ICapabilitiesModule.
Definition at line 277 of file CapabilitiesModule.cs.
|
inline |
Definition at line 315 of file CapabilitiesModule.cs.
|
inline |
Will return null if the agent doesn't have a caps handler registered
agentId |
Implements OpenSim.Region.Framework.Interfaces.ICapabilitiesModule.
Definition at line 219 of file CapabilitiesModule.cs.
|
inline |
Implements OpenSim.Region.Framework.Interfaces.ICapabilitiesModule.
Definition at line 253 of file CapabilitiesModule.cs.
|
inline |
Implements OpenSim.Region.Framework.Interfaces.ICapabilitiesModule.
Definition at line 266 of file CapabilitiesModule.cs.
|
inline |
Implements OpenSim.Region.Framework.Interfaces.ICapabilitiesModule.
Definition at line 290 of file CapabilitiesModule.cs.
|
inline |
This is called to initialize the region module. For shared modules, this is called exactly once, after creating the single (shared) instance. For non-shared modules, this is called once on each instance, after the instace for the region has been created.
source | A IConfigSource |
Implements OpenSim.Region.Framework.Interfaces.IRegionModuleBase.
Definition at line 67 of file CapabilitiesModule.cs.
|
inline |
Definition at line 105 of file CapabilitiesModule.cs.
|
inline |
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.
scene | A Scene |
Implements OpenSim.Region.Framework.Interfaces.IRegionModuleBase.
Definition at line 96 of file CapabilitiesModule.cs.
|
inline |
Remove the caps handler for a given agent.
agentId |
Implements OpenSim.Region.Framework.Interfaces.ICapabilitiesModule.
Definition at line 181 of file CapabilitiesModule.cs.
|
inline |
This is called whenever a Scene is removed. For shared modules, this can happen several times. For non-shared modules, this happens exactly once, if the scene this instance is associated with is removed.
scene | A Scene |
Implements OpenSim.Region.Framework.Interfaces.IRegionModuleBase.
Definition at line 100 of file CapabilitiesModule.cs.
|
inline |
Implements OpenSim.Region.Framework.Interfaces.ICapabilitiesModule.
Definition at line 243 of file CapabilitiesModule.cs.
|
inline |
Implements OpenSim.Region.Framework.Interfaces.ICapabilitiesModule.
Definition at line 307 of file CapabilitiesModule.cs.
|
protected |
Each agent has its own capabilities handler.
Definition at line 60 of file CapabilitiesModule.cs.
|
protected |
Definition at line 62 of file CapabilitiesModule.cs.
|
protected |
Definition at line 65 of file CapabilitiesModule.cs.
|
protected |
Definition at line 55 of file CapabilitiesModule.cs.
|
get |
Definition at line 112 of file CapabilitiesModule.cs.
|
get |
Definition at line 117 of file CapabilitiesModule.cs.