mirror of
https://github.com/opensim/opensim.git
synced 2026-07-31 13:55:35 +08:00
Add test for adding a friend whilst online
This commit is contained in:
@@ -33,6 +33,20 @@ namespace OpenSim.Region.Framework.Interfaces
|
||||
{
|
||||
public interface IFriendsModule
|
||||
{
|
||||
/// <summary>
|
||||
/// Add a friend for the given user.
|
||||
/// </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);
|
||||
|
||||
uint GetFriendPerms(UUID PrincipalID, UUID FriendID);
|
||||
bool SendFriendsOnlineIfNeeded(IClientAPI client);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user