diff options
author | Diva Canto | 2010-01-08 20:31:29 -0800 |
---|---|---|
committer | Diva Canto | 2010-01-08 20:31:29 -0800 |
commit | 6b60f3cce5b9dc8c005c9fdb53731dc4e3e45ee8 (patch) | |
tree | 4608042e707df452c7e59363927f5bd87249d34b /OpenSim/Region/Framework/Scenes | |
parent | Add migrations to add fields to user and auth tables (diff) | |
download | opensim-SC-6b60f3cce5b9dc8c005c9fdb53731dc4e3e45ee8.zip opensim-SC-6b60f3cce5b9dc8c005c9fdb53731dc4e3e45ee8.tar.gz opensim-SC-6b60f3cce5b9dc8c005c9fdb53731dc4e3e45ee8.tar.bz2 opensim-SC-6b60f3cce5b9dc8c005c9fdb53731dc4e3e45ee8.tar.xz |
A few more inches... Old friends things removed. Less references to UserProfileService.
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 29 | ||||
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs | 19 |
2 files changed, 0 insertions, 48 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index e22dd2d..ef62b79 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -3979,35 +3979,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
3979 | objectCapacity = objects; | 3979 | objectCapacity = objects; |
3980 | } | 3980 | } |
3981 | 3981 | ||
3982 | public List<FriendListItem> GetFriendList(string id) | ||
3983 | { | ||
3984 | UUID avatarID; | ||
3985 | if (!UUID.TryParse(id, out avatarID)) | ||
3986 | return new List<FriendListItem>(); | ||
3987 | |||
3988 | return CommsManager.GetUserFriendList(avatarID); | ||
3989 | } | ||
3990 | |||
3991 | public Dictionary<UUID, FriendRegionInfo> GetFriendRegionInfos(List<UUID> uuids) | ||
3992 | { | ||
3993 | return CommsManager.GetFriendRegionInfos(uuids); | ||
3994 | } | ||
3995 | |||
3996 | public virtual void StoreAddFriendship(UUID ownerID, UUID friendID, uint perms) | ||
3997 | { | ||
3998 | m_sceneGridService.AddNewUserFriend(ownerID, friendID, perms); | ||
3999 | } | ||
4000 | |||
4001 | public virtual void StoreUpdateFriendship(UUID ownerID, UUID friendID, uint perms) | ||
4002 | { | ||
4003 | m_sceneGridService.UpdateUserFriendPerms(ownerID, friendID, perms); | ||
4004 | } | ||
4005 | |||
4006 | public virtual void StoreRemoveFriendship(UUID ownerID, UUID ExfriendID) | ||
4007 | { | ||
4008 | m_sceneGridService.RemoveUserFriend(ownerID, ExfriendID); | ||
4009 | } | ||
4010 | |||
4011 | #endregion | 3982 | #endregion |
4012 | 3983 | ||
4013 | public void HandleObjectPermissionsUpdate(IClientAPI controller, UUID agentID, UUID sessionID, byte field, uint localId, uint mask, byte set) | 3984 | public void HandleObjectPermissionsUpdate(IClientAPI controller, UUID agentID, UUID sessionID, byte field, uint localId, uint mask, byte set) |
diff --git a/OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs b/OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs index 53693e4..8b14f61 100644 --- a/OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs +++ b/OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs | |||
@@ -1455,25 +1455,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
1455 | m_commsProvider.LogOffUser(userid, regionid, regionhandle, posx, posy, posz); | 1455 | m_commsProvider.LogOffUser(userid, regionid, regionhandle, posx, posy, posz); |
1456 | } | 1456 | } |
1457 | 1457 | ||
1458 | public void AddNewUserFriend(UUID friendlistowner, UUID friend, uint perms) | ||
1459 | { | ||
1460 | m_commsProvider.AddNewUserFriend(friendlistowner, friend, perms); | ||
1461 | } | ||
1462 | |||
1463 | public void UpdateUserFriendPerms(UUID friendlistowner, UUID friend, uint perms) | ||
1464 | { | ||
1465 | m_commsProvider.UpdateUserFriendPerms(friendlistowner, friend, perms); | ||
1466 | } | ||
1467 | |||
1468 | public void RemoveUserFriend(UUID friendlistowner, UUID friend) | ||
1469 | { | ||
1470 | m_commsProvider.RemoveUserFriend(friendlistowner, friend); | ||
1471 | } | ||
1472 | |||
1473 | public List<FriendListItem> GetUserFriendList(UUID friendlistowner) | ||
1474 | { | ||
1475 | return m_commsProvider.GetUserFriendList(friendlistowner); | ||
1476 | } | ||
1477 | 1458 | ||
1478 | public List<AvatarPickerAvatar> GenerateAgentPickerRequestResponse(UUID queryID, string query) | 1459 | public List<AvatarPickerAvatar> GenerateAgentPickerRequestResponse(UUID queryID, string query) |
1479 | { | 1460 | { |