mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 06:06:06 +08:00
Improved method doc for AddFriend() - it actually does set up a two-way relationship.
Rename IFriendsModule.AddFriend() to AddFriendship()
This commit is contained in:
@@ -34,18 +34,15 @@ namespace OpenSim.Region.Framework.Interfaces
|
||||
public interface IFriendsModule
|
||||
{
|
||||
/// <summary>
|
||||
/// Add a friend for the given user.
|
||||
/// Add a friendship between two users.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// This is a one-way friendship. To make a two way friendship you will need to call this again with the
|
||||
/// client and friend reversed.
|
||||
///
|
||||
/// Ultimately, it would be more useful to take in a user account here rather than having to have a user
|
||||
/// present in the scene.
|
||||
/// </remarks>
|
||||
/// <param name="client"></param>
|
||||
/// <param name="friendID"></param>
|
||||
void AddFriend(IClientAPI client, UUID friendID);
|
||||
void AddFriendship(IClientAPI client, UUID friendID);
|
||||
|
||||
uint GetFriendPerms(UUID PrincipalID, UUID FriendID);
|
||||
bool SendFriendsOnlineIfNeeded(IClientAPI client);
|
||||
|
||||
Reference in New Issue
Block a user