mirror of
https://github.com/opensim/opensim.git
synced 2026-07-31 22:05:36 +08:00
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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user