diff options
author | lbsa71 | 2008-03-28 19:58:45 +0000 |
---|---|---|
committer | lbsa71 | 2008-03-28 19:58:45 +0000 |
commit | ca718b6f8d5a76f4f4dcb6625c01c3ec15371bd6 (patch) | |
tree | 2115114e520a0ca0944e825e5928ab8a3dd310d0 /OpenSim/Framework/Data/UserDataBase.cs | |
parent | * Send full inventory folder skeleton to standalone client logins rather than... (diff) | |
download | opensim-SC-ca718b6f8d5a76f4f4dcb6625c01c3ec15371bd6.zip opensim-SC-ca718b6f8d5a76f4f4dcb6625c01c3ec15371bd6.tar.gz opensim-SC-ca718b6f8d5a76f4f4dcb6625c01c3ec15371bd6.tar.bz2 opensim-SC-ca718b6f8d5a76f4f4dcb6625c01c3ec15371bd6.tar.xz |
* Introduced common abstract UserDataBase provider
* Weeded out multiple AvatarPickerAvatar classes
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/Data/UserDataBase.cs | 27 |
1 files changed, 23 insertions, 4 deletions
diff --git a/OpenSim/Framework/Data/UserDataBase.cs b/OpenSim/Framework/Data/UserDataBase.cs index a704ed4..7a74693 100644 --- a/OpenSim/Framework/Data/UserDataBase.cs +++ b/OpenSim/Framework/Data/UserDataBase.cs | |||
@@ -1,10 +1,29 @@ | |||
1 | using System; | 1 | using System.Collections.Generic; |
2 | using System.Collections.Generic; | 2 | using libsecondlife; |
3 | using System.Text; | ||
4 | 3 | ||
5 | namespace OpenSim.Framework.Data | 4 | namespace OpenSim.Framework.Data |
6 | { | 5 | { |
7 | public abstract class UserDataBase | 6 | public abstract class UserDataBase : IUserData |
8 | { | 7 | { |
8 | public abstract UserProfileData GetUserByUUID(LLUUID user); | ||
9 | public abstract UserProfileData GetUserByName(string fname, string lname); | ||
10 | public abstract UserAgentData GetAgentByUUID(LLUUID user); | ||
11 | public abstract UserAgentData GetAgentByName(string name); | ||
12 | public abstract UserAgentData GetAgentByName(string fname, string lname); | ||
13 | public abstract void StoreWebLoginKey(LLUUID agentID, LLUUID webLoginKey); | ||
14 | public abstract void AddNewUserProfile(UserProfileData user); | ||
15 | public abstract bool UpdateUserProfile(UserProfileData user); | ||
16 | public abstract void UpdateUserCurrentRegion(LLUUID avatarid, LLUUID regionuuid); | ||
17 | public abstract void AddNewUserAgent(UserAgentData agent); | ||
18 | public abstract void AddNewUserFriend(LLUUID friendlistowner, LLUUID friend, uint perms); | ||
19 | public abstract void RemoveUserFriend(LLUUID friendlistowner, LLUUID friend); | ||
20 | public abstract void UpdateUserFriendPerms(LLUUID friendlistowner, LLUUID friend, uint perms); | ||
21 | public abstract List<FriendListItem> GetUserFriendList(LLUUID friendlistowner); | ||
22 | public abstract bool MoneyTransferRequest(LLUUID from, LLUUID to, uint amount); | ||
23 | public abstract bool InventoryTransferRequest(LLUUID from, LLUUID to, LLUUID inventory); | ||
24 | public abstract string GetVersion(); | ||
25 | public abstract string getName(); | ||
26 | public abstract void Initialise(); | ||
27 | public abstract List<OpenSim.Framework.AvatarPickerAvatar> GeneratePickerResults(LLUUID queryID, string query); | ||
9 | } | 28 | } |
10 | } | 29 | } |