Finally cutting the gordian knot. Friends needs to be both a module and a

service, and never the twain shall meet. This finally opens up the path to
a working friends implementation
This commit is contained in:
Melanie
2010-02-04 12:21:14 +00:00
parent f9a61f2825
commit 0ab8dd61d7
3 changed files with 49 additions and 15 deletions

View File

@@ -31,14 +31,6 @@ using System.Collections.Generic;
namespace OpenSim.Region.Framework.Interfaces
{
public struct FriendInfo
{
public UUID PrincipalID;
public string Friend;
int MyRights;
int TheirRights;
}
public interface IFriendsModule
{
/// <summary>
@@ -55,6 +47,5 @@ namespace OpenSim.Region.Framework.Interfaces
/// <param name="offerMessage"></param>
void OfferFriendship(UUID fromUserId, IClientAPI toUserClient, string offerMessage);
uint GetFriendPerms(UUID PrincipalID, UUID FriendID);
FriendInfo[] GetFriends(UUID PrincipalID);
}
}