From 694dff3b7007760039c9eea95fe9b1a89df68432 Mon Sep 17 00:00:00 2001 From: MW Date: Sat, 16 Feb 2008 11:55:09 +0000 Subject: Some changes to remove some of the direct calls to CommsManager from Scene, so that they now go through the SceneCommunicationService. As a small step towards the day we can kill the CommsManager (YAY!) --- .../Scenes/SceneCommunicationService.cs | 40 ++++++++++++++++++++++ 1 file changed, 40 insertions(+) (limited to 'OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs') diff --git a/OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs b/OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs index 482701b..4cf93ed 100644 --- a/OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs +++ b/OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs @@ -554,5 +554,45 @@ namespace OpenSim.Region.Environment.Scenes { return m_commsProvider.GridService.GetGridSettings(); } + + public void LogOffUser(LLUUID userid, LLUUID regionid, ulong regionhandle, float posx, float posy, float posz) + { + m_commsProvider.LogOffUser(userid, regionid, regionhandle, posx, posy, posz); + } + + public void ClearUserAgent(LLUUID avatarID) + { + m_commsProvider.UserService.clearUserAgent(avatarID); + } + + public void AddNewUserFriend(LLUUID friendlistowner, LLUUID friend, uint perms) + { + m_commsProvider.AddNewUserFriend(friendlistowner, friend, perms); + } + + public void UpdateUserFriendPerms(LLUUID friendlistowner, LLUUID friend, uint perms) + { + m_commsProvider.UpdateUserFriendPerms(friendlistowner, friend, perms); + } + + public void RemoveUserFriend(LLUUID friendlistowner, LLUUID friend) + { + m_commsProvider.RemoveUserFriend(friendlistowner, friend); + } + + public List GetUserFriendList(LLUUID friendlistowner) + { + return m_commsProvider.GetUserFriendList(friendlistowner); + } + + public List RequestNeighbourMapBlocks(int minX, int minY, int maxX, int maxY) + { + return m_commsProvider.GridService.RequestNeighbourMapBlocks(minX, minY, maxX, maxY); + } + + public List GenerateAgentPickerRequestResponse(LLUUID queryID, string query) + { + return m_commsProvider.GenerateAgentPickerRequestResponse(queryID, query); + } } } \ No newline at end of file -- cgit v1.1