aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Interfaces
diff options
context:
space:
mode:
authorMelanie2010-02-04 10:51:36 +0000
committerMelanie2010-02-04 10:51:36 +0000
commitf9a61f282500d2ac04919794c5391b98f24dd203 (patch)
tree236c76f22c91dc18774f6d540909c55283590e62 /OpenSim/Region/Framework/Interfaces
parentCommenting UserAgentService.VerifyClient(UUID sessionID, string token) for no... (diff)
downloadopensim-SC_OLD-f9a61f282500d2ac04919794c5391b98f24dd203.zip
opensim-SC_OLD-f9a61f282500d2ac04919794c5391b98f24dd203.tar.gz
opensim-SC_OLD-f9a61f282500d2ac04919794c5391b98f24dd203.tar.bz2
opensim-SC_OLD-f9a61f282500d2ac04919794c5391b98f24dd203.tar.xz
Some interface and data structure changes, add the missing method in friends
Diffstat (limited to 'OpenSim/Region/Framework/Interfaces')
-rw-r--r--OpenSim/Region/Framework/Interfaces/IFriendsModule.cs9
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
32namespace OpenSim.Region.Framework.Interfaces 32namespace 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}