aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Interfaces/IFriendsModule.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-11-14 20:31:16 +0000
committerJustin Clark-Casey (justincc)2011-11-14 20:31:16 +0000
commite5ff7f389bcaa17634d8d93d1ffdcca36339dfeb (patch)
treedd4d55cf99cb724dfffdb488997aa723db4782ae /OpenSim/Region/Framework/Interfaces/IFriendsModule.cs
parentminor: remove some mono compiler warnings (diff)
downloadopensim-SC_OLD-e5ff7f389bcaa17634d8d93d1ffdcca36339dfeb.zip
opensim-SC_OLD-e5ff7f389bcaa17634d8d93d1ffdcca36339dfeb.tar.gz
opensim-SC_OLD-e5ff7f389bcaa17634d8d93d1ffdcca36339dfeb.tar.bz2
opensim-SC_OLD-e5ff7f389bcaa17634d8d93d1ffdcca36339dfeb.tar.xz
Improved method doc for AddFriend() - it actually does set up a two-way relationship.
Rename IFriendsModule.AddFriend() to AddFriendship()
Diffstat (limited to 'OpenSim/Region/Framework/Interfaces/IFriendsModule.cs')
-rw-r--r--OpenSim/Region/Framework/Interfaces/IFriendsModule.cs7
1 files changed, 2 insertions, 5 deletions
diff --git a/OpenSim/Region/Framework/Interfaces/IFriendsModule.cs b/OpenSim/Region/Framework/Interfaces/IFriendsModule.cs
index 8143164..fdede34 100644
--- a/OpenSim/Region/Framework/Interfaces/IFriendsModule.cs
+++ b/OpenSim/Region/Framework/Interfaces/IFriendsModule.cs
@@ -34,18 +34,15 @@ namespace OpenSim.Region.Framework.Interfaces
34 public interface IFriendsModule 34 public interface IFriendsModule
35 { 35 {
36 /// <summary> 36 /// <summary>
37 /// Add a friend for the given user. 37 /// Add a friendship between two users.
38 /// </summary> 38 /// </summary>
39 /// <remarks> 39 /// <remarks>
40 /// This is a one-way friendship. To make a two way friendship you will need to call this again with the
41 /// client and friend reversed.
42 ///
43 /// Ultimately, it would be more useful to take in a user account here rather than having to have a user 40 /// Ultimately, it would be more useful to take in a user account here rather than having to have a user
44 /// present in the scene. 41 /// present in the scene.
45 /// </remarks> 42 /// </remarks>
46 /// <param name="client"></param> 43 /// <param name="client"></param>
47 /// <param name="friendID"></param> 44 /// <param name="friendID"></param>
48 void AddFriend(IClientAPI client, UUID friendID); 45 void AddFriendship(IClientAPI client, UUID friendID);
49 46
50 uint GetFriendPerms(UUID PrincipalID, UUID FriendID); 47 uint GetFriendPerms(UUID PrincipalID, UUID FriendID);
51 bool SendFriendsOnlineIfNeeded(IClientAPI client); 48 bool SendFriendsOnlineIfNeeded(IClientAPI client);