diff options
Diffstat (limited to 'OpenSim/Region/Framework/Interfaces')
-rw-r--r-- | OpenSim/Region/Framework/Interfaces/IFriendsModule.cs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Interfaces/IFriendsModule.cs b/OpenSim/Region/Framework/Interfaces/IFriendsModule.cs index 239a2ba..cab6374 100644 --- a/OpenSim/Region/Framework/Interfaces/IFriendsModule.cs +++ b/OpenSim/Region/Framework/Interfaces/IFriendsModule.cs | |||
@@ -31,6 +31,14 @@ using System.Collections.Generic; | |||
31 | 31 | ||
32 | namespace OpenSim.Region.Framework.Interfaces | 32 | namespace OpenSim.Region.Framework.Interfaces |
33 | { | 33 | { |
34 | public struct FriendInfo | ||
35 | { | ||
36 | public UUID PrincipalID; | ||
37 | public string Friend; | ||
38 | int MyRights; | ||
39 | int TheirRights; | ||
40 | } | ||
41 | |||
34 | public interface IFriendsModule | 42 | public interface IFriendsModule |
35 | { | 43 | { |
36 | /// <summary> | 44 | /// <summary> |
@@ -47,5 +55,6 @@ namespace OpenSim.Region.Framework.Interfaces | |||
47 | /// <param name="offerMessage"></param> | 55 | /// <param name="offerMessage"></param> |
48 | void OfferFriendship(UUID fromUserId, IClientAPI toUserClient, string offerMessage); | 56 | void OfferFriendship(UUID fromUserId, IClientAPI toUserClient, string offerMessage); |
49 | uint GetFriendPerms(UUID PrincipalID, UUID FriendID); | 57 | uint GetFriendPerms(UUID PrincipalID, UUID FriendID); |
58 | FriendInfo[] GetFriends(UUID PrincipalID); | ||
50 | } | 59 | } |
51 | } | 60 | } |