aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Interfaces/IFriendsModule.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Framework/Interfaces/IFriendsModule.cs')
-rw-r--r--OpenSim/Region/Framework/Interfaces/IFriendsModule.cs24
1 files changed, 22 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Interfaces/IFriendsModule.cs b/OpenSim/Region/Framework/Interfaces/IFriendsModule.cs
index 061799e..10bef1e 100644
--- a/OpenSim/Region/Framework/Interfaces/IFriendsModule.cs
+++ b/OpenSim/Region/Framework/Interfaces/IFriendsModule.cs
@@ -55,7 +55,27 @@ namespace OpenSim.Region.Framework.Interfaces
55 /// <param name="exFriendID"></param> 55 /// <param name="exFriendID"></param>
56 void RemoveFriendship(IClientAPI client, UUID exFriendID); 56 void RemoveFriendship(IClientAPI client, UUID exFriendID);
57 57
58 uint GetFriendPerms(UUID PrincipalID, UUID FriendID); 58 /// <summary>
59 /// Get permissions granted by a friend.
60 /// </summary>
61 /// <param name="PrincipalID">The user.</param>
62 /// <param name="FriendID">The friend that granted.</param>
63 /// <returns>The permissions. These come from the FriendRights enum.</returns>
64 int GetRightsGrantedByFriend(UUID PrincipalID, UUID FriendID);
65
66 /// <summary>
67 /// Grant permissions for a friend.
68 /// </summary>
69 /// <remarks>
70 /// This includes giving them the ability to see when the user is online and permission to edit the user's
71 /// objects.
72 /// Granting lower permissions than the friend currently has will rescind the extra permissions.
73 /// </remarks>
74 /// <param name="remoteClient">The user granting the permissions.</param>
75 /// <param name="friendID">The friend.</param>
76 /// <param name="perms">These come from the FriendRights enum.</param>
77 void GrantRights(IClientAPI remoteClient, UUID friendID, int perms);
78
59 bool SendFriendsOnlineIfNeeded(IClientAPI client); 79 bool SendFriendsOnlineIfNeeded(IClientAPI client);
60 } 80 }
61} 81} \ No newline at end of file