diff options
author | Teravus Ovares | 2007-12-30 23:29:44 +0000 |
---|---|---|
committer | Teravus Ovares | 2007-12-30 23:29:44 +0000 |
commit | 57a11325851b92e2201b0e727596b4920009246f (patch) | |
tree | 0b4b2450189c84cc3c618a867711d31d3c69c8ba /OpenSim/Framework/IUserData.cs | |
parent | Comments + fix = in theory stand alone script server + "RemoteSevrver" Script... (diff) | |
download | opensim-SC_OLD-57a11325851b92e2201b0e727596b4920009246f.zip opensim-SC_OLD-57a11325851b92e2201b0e727596b4920009246f.tar.gz opensim-SC_OLD-57a11325851b92e2201b0e727596b4920009246f.tar.bz2 opensim-SC_OLD-57a11325851b92e2201b0e727596b4920009246f.tar.xz |
* Fixed References in Prebuild so the project compiles
* Added Friends List methods to IUserData interface
* Created Stub friendslist Database Methods
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/IUserData.cs | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/OpenSim/Framework/IUserData.cs b/OpenSim/Framework/IUserData.cs index d06784c..4e576b9 100644 --- a/OpenSim/Framework/IUserData.cs +++ b/OpenSim/Framework/IUserData.cs | |||
@@ -50,6 +50,12 @@ namespace OpenSim.Framework | |||
50 | /// <returns>The user data profile</returns> | 50 | /// <returns>The user data profile</returns> |
51 | UserProfileData GetUserByName(string fname, string lname); | 51 | UserProfileData GetUserByName(string fname, string lname); |
52 | 52 | ||
53 | /// <summary> | ||
54 | /// Returns a list of UUIDs firstnames and lastnames that match string query entered into the avatar picker. | ||
55 | /// </summary> | ||
56 | /// <param name="queryID">ID associated with the user's query. This must match what the client sent</param> | ||
57 | /// <param name="query">The filtered contents of the search box when the user hit search.</param> | ||
58 | /// <returns>The user data profile</returns> | ||
53 | List<AvatarPickerAvatar> GeneratePickerResults(LLUUID queryID, string query); | 59 | List<AvatarPickerAvatar> GeneratePickerResults(LLUUID queryID, string query); |
54 | 60 | ||
55 | /// <summary> | 61 | /// <summary> |
@@ -93,6 +99,34 @@ namespace OpenSim.Framework | |||
93 | void AddNewUserAgent(UserAgentData agent); | 99 | void AddNewUserAgent(UserAgentData agent); |
94 | 100 | ||
95 | /// <summary> | 101 | /// <summary> |
102 | /// Adds a new friend to the database for XUser | ||
103 | /// </summary> | ||
104 | /// <param name="friendlistowner">The agent that who's friends list is being added to</param> | ||
105 | /// <param name="friend">The agent that being added to the friends list of the friends list owner</param> | ||
106 | /// <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> | ||
107 | void AddNewUserFriend(LLUUID friendlistowner, LLUUID friend, uint perms); | ||
108 | |||
109 | /// <summary> | ||
110 | /// Delete friend on friendlistowner's friendlist. | ||
111 | /// </summary> | ||
112 | /// <param name="friendlistowner">The agent that who's friends list is being updated</param> | ||
113 | /// <param name="friend">The Ex-friend agent</param> | ||
114 | void RemoveUserFriend(LLUUID friendlistowner, LLUUID friend); | ||
115 | |||
116 | /// <summary> | ||
117 | /// Update permissions for friend on friendlistowner's friendlist. | ||
118 | /// </summary> | ||
119 | /// <param name="friendlistowner">The agent that who's friends list is being updated</param> | ||
120 | /// <param name="friend">The agent that is getting or loosing permissions</param> | ||
121 | /// <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> | ||
122 | void UpdateUserFriendPerms(LLUUID friendlistowner, LLUUID friend, uint perms); | ||
123 | |||
124 | /// <summary> | ||
125 | /// Returns a list of FriendsListItems that describe the friends and permissions in the friend relationship for LLUUID friendslistowner | ||
126 | /// </summary> | ||
127 | /// <param name="friendlistowner">The agent that we're retreiving the friends Data.</param> | ||
128 | List<FriendListItem> GetUserFriendList(LLUUID friendlistowner); | ||
129 | /// <summary> | ||
96 | /// Attempts to move currency units between accounts (NOT RELIABLE / TRUSTWORTHY. DONT TRY RUN YOUR OWN CURRENCY EXCHANGE WITH REAL VALUES) | 130 | /// Attempts to move currency units between accounts (NOT RELIABLE / TRUSTWORTHY. DONT TRY RUN YOUR OWN CURRENCY EXCHANGE WITH REAL VALUES) |
97 | /// </summary> | 131 | /// </summary> |
98 | /// <param name="from">The account to transfer from</param> | 132 | /// <param name="from">The account to transfer from</param> |