diff options
Diffstat (limited to 'OpenSim/Framework/IUserService.cs')
-rw-r--r-- | OpenSim/Framework/IUserService.cs | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/OpenSim/Framework/IUserService.cs b/OpenSim/Framework/IUserService.cs index 2b08582..2b59c25 100644 --- a/OpenSim/Framework/IUserService.cs +++ b/OpenSim/Framework/IUserService.cs | |||
@@ -47,5 +47,35 @@ namespace OpenSim.Framework | |||
47 | /// </summary> | 47 | /// </summary> |
48 | /// <param name="user"></param> | 48 | /// <param name="user"></param> |
49 | LLUUID AddUserProfile(string firstName, string lastName, string pass, uint regX, uint regY); | 49 | LLUUID AddUserProfile(string firstName, string lastName, string pass, uint regX, uint regY); |
50 | |||
51 | |||
52 | /// <summary> | ||
53 | /// Adds a new friend to the database for XUser | ||
54 | /// </summary> | ||
55 | /// <param name="friendlistowner">The agent that who's friends list is being added to</param> | ||
56 | /// <param name="friend">The agent that being added to the friends list of the friends list owner</param> | ||
57 | /// <param name="perms">A uint bit vector for set perms that the friend being added has; 0 = none, 1=This friend can see when they sign on, 2 = map, 4 edit objects </param> | ||
58 | void AddNewUserFriend(LLUUID friendlistowner, LLUUID friend, uint perms); | ||
59 | |||
60 | /// <summary> | ||
61 | /// Delete friend on friendlistowner's friendlist. | ||
62 | /// </summary> | ||
63 | /// <param name="friendlistowner">The agent that who's friends list is being updated</param> | ||
64 | /// <param name="friend">The Ex-friend agent</param> | ||
65 | void RemoveUserFriend(LLUUID friendlistowner, LLUUID friend); | ||
66 | |||
67 | /// <summary> | ||
68 | /// Update permissions for friend on friendlistowner's friendlist. | ||
69 | /// </summary> | ||
70 | /// <param name="friendlistowner">The agent that who's friends list is being updated</param> | ||
71 | /// <param name="friend">The agent that is getting or loosing permissions</param> | ||
72 | /// <param name="perms">A uint bit vector for set perms that the friend being added has; 0 = none, 1=This friend can see when they sign on, 2 = map, 4 edit objects </param> | ||
73 | void UpdateUserFriendPerms(LLUUID friendlistowner, LLUUID friend, uint perms); | ||
74 | |||
75 | /// <summary> | ||
76 | /// Returns a list of FriendsListItems that describe the friends and permissions in the friend relationship for LLUUID friendslistowner | ||
77 | /// </summary> | ||
78 | /// <param name="friendlistowner">The agent that we're retreiving the friends Data.</param> | ||
79 | List<FriendListItem> GetUserFriendList(LLUUID friendlistowner); | ||
50 | } | 80 | } |
51 | } \ No newline at end of file | 81 | } \ No newline at end of file |