mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 08:55:56 +08:00
Broke down Caps.cs into a generic Caps object that simply registers/unregisters capabilities and a specific bunch of capability implementations in Linden space called BunchOfCaps.
Renamed a few methods that were misnomers. Compiles but doesn't work.
This commit is contained in:
@@ -34,31 +34,27 @@ namespace OpenSim.Region.Framework.Interfaces
|
||||
{
|
||||
public interface ICapabilitiesModule
|
||||
{
|
||||
void NewUserConnection(AgentCircuitData agent);
|
||||
|
||||
/// <summary>
|
||||
/// 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.
|
||||
///
|
||||
/// FIXME: On login this is called twice, once for the login and once when the connection is made.
|
||||
/// This is somewhat innefficient and should be fixed. The initial login creation is necessary
|
||||
/// since the client asks for capabilities immediately after being informed of the seed.
|
||||
/// </summary>
|
||||
/// <param name="agentId"></param>
|
||||
/// <param name="capsObjectPath"></param>
|
||||
void AddCapsHandler(UUID agentId);
|
||||
void CreateCaps(UUID agentId);
|
||||
|
||||
/// <summary>
|
||||
/// Remove the caps handler for a given agent.
|
||||
/// </summary>
|
||||
/// <param name="agentId"></param>
|
||||
void RemoveCapsHandler(UUID agentId);
|
||||
void RemoveCaps(UUID agentId);
|
||||
|
||||
/// <summary>
|
||||
/// Will return null if the agent doesn't have a caps handler registered
|
||||
/// </summary>
|
||||
/// <param name="agentId"></param>
|
||||
Caps GetCapsHandlerForUser(UUID agentId);
|
||||
Caps GetCapsForUser(UUID agentId);
|
||||
|
||||
void SetAgentCapsSeeds(AgentCircuitData agent);
|
||||
|
||||
Dictionary<ulong, string> GetChildrenSeeds(UUID agentID);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user