/// <summary> /// Get or create a new Caps Service for the given client /// Note: This does not add them to a region if one is created. /// </summary> /// <param name="AgentID"></param> /// <returns></returns> public IClientCapsService GetOrCreateClientCapsService(UUID AgentID) { if (!m_ClientCapsServices.ContainsKey(AgentID)) { PerClientBasedCapsService client = new PerClientBasedCapsService(); client.Initialise(this, AgentID); m_ClientCapsServices.Add(AgentID, client); } return(m_ClientCapsServices[AgentID]); }
/// <summary> /// Get or create a new Caps Service for the given client /// Note: This does not add them to a region if one is created. /// </summary> /// <param name="AgentID"></param> /// <returns></returns> public IClientCapsService GetOrCreateClientCapsService(UUID AgentID) { if (!m_ClientCapsServices.ContainsKey(AgentID)) { PerClientBasedCapsService client = new PerClientBasedCapsService(); client.Initialise(this, AgentID); m_ClientCapsServices.Add(AgentID, client); } return m_ClientCapsServices[AgentID]; }