diff options
Diffstat (limited to 'OpenSim/Data/UserDataBase.cs')
-rw-r--r-- | OpenSim/Data/UserDataBase.cs | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/OpenSim/Data/UserDataBase.cs b/OpenSim/Data/UserDataBase.cs index e57c8f8..33b8a94 100644 --- a/OpenSim/Data/UserDataBase.cs +++ b/OpenSim/Data/UserDataBase.cs | |||
@@ -27,7 +27,7 @@ | |||
27 | 27 | ||
28 | using System.Reflection; | 28 | using System.Reflection; |
29 | using System.Collections.Generic; | 29 | using System.Collections.Generic; |
30 | using libsecondlife; | 30 | using OpenMetaverse; |
31 | using log4net; | 31 | using log4net; |
32 | using OpenSim.Framework; | 32 | using OpenSim.Framework; |
33 | 33 | ||
@@ -37,28 +37,28 @@ namespace OpenSim.Data | |||
37 | { | 37 | { |
38 | // private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); | 38 | // private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); |
39 | 39 | ||
40 | // private Dictionary<LLUUID, AvatarAppearance> aplist = new Dictionary<LLUUID, AvatarAppearance>(); | 40 | // private Dictionary<UUID, AvatarAppearance> aplist = new Dictionary<UUID, AvatarAppearance>(); |
41 | 41 | ||
42 | public abstract UserProfileData GetUserByUUID(LLUUID user); | 42 | public abstract UserProfileData GetUserByUUID(UUID user); |
43 | public abstract UserProfileData GetUserByName(string fname, string lname); | 43 | public abstract UserProfileData GetUserByName(string fname, string lname); |
44 | public abstract UserAgentData GetAgentByUUID(LLUUID user); | 44 | public abstract UserAgentData GetAgentByUUID(UUID user); |
45 | public abstract UserAgentData GetAgentByName(string name); | 45 | public abstract UserAgentData GetAgentByName(string name); |
46 | public abstract UserAgentData GetAgentByName(string fname, string lname); | 46 | public abstract UserAgentData GetAgentByName(string fname, string lname); |
47 | public abstract void StoreWebLoginKey(LLUUID agentID, LLUUID webLoginKey); | 47 | public abstract void StoreWebLoginKey(UUID agentID, UUID webLoginKey); |
48 | public abstract void AddNewUserProfile(UserProfileData user); | 48 | public abstract void AddNewUserProfile(UserProfileData user); |
49 | public abstract bool UpdateUserProfile(UserProfileData user); | 49 | public abstract bool UpdateUserProfile(UserProfileData user); |
50 | public abstract void UpdateUserCurrentRegion(LLUUID avatarid, LLUUID regionuuid, ulong regionhandle); | 50 | public abstract void UpdateUserCurrentRegion(UUID avatarid, UUID regionuuid, ulong regionhandle); |
51 | public abstract void AddNewUserAgent(UserAgentData agent); | 51 | public abstract void AddNewUserAgent(UserAgentData agent); |
52 | public abstract void AddNewUserFriend(LLUUID friendlistowner, LLUUID friend, uint perms); | 52 | public abstract void AddNewUserFriend(UUID friendlistowner, UUID friend, uint perms); |
53 | public abstract void RemoveUserFriend(LLUUID friendlistowner, LLUUID friend); | 53 | public abstract void RemoveUserFriend(UUID friendlistowner, UUID friend); |
54 | public abstract void UpdateUserFriendPerms(LLUUID friendlistowner, LLUUID friend, uint perms); | 54 | public abstract void UpdateUserFriendPerms(UUID friendlistowner, UUID friend, uint perms); |
55 | public abstract List<FriendListItem> GetUserFriendList(LLUUID friendlistowner); | 55 | public abstract List<FriendListItem> GetUserFriendList(UUID friendlistowner); |
56 | public abstract bool MoneyTransferRequest(LLUUID from, LLUUID to, uint amount); | 56 | public abstract bool MoneyTransferRequest(UUID from, UUID to, uint amount); |
57 | public abstract bool InventoryTransferRequest(LLUUID from, LLUUID to, LLUUID inventory); | 57 | public abstract bool InventoryTransferRequest(UUID from, UUID to, UUID inventory); |
58 | public abstract List<AvatarPickerAvatar> GeneratePickerResults(LLUUID queryID, string query); | 58 | public abstract List<AvatarPickerAvatar> GeneratePickerResults(UUID queryID, string query); |
59 | public abstract AvatarAppearance GetUserAppearance(LLUUID user); | 59 | public abstract AvatarAppearance GetUserAppearance(UUID user); |
60 | public abstract void UpdateUserAppearance(LLUUID user, AvatarAppearance appearance); | 60 | public abstract void UpdateUserAppearance(UUID user, AvatarAppearance appearance); |
61 | // public virtual AvatarAppearance GetUserAppearance(LLUUID user) { | 61 | // public virtual AvatarAppearance GetUserAppearance(UUID user) { |
62 | // AvatarAppearance aa = null; | 62 | // AvatarAppearance aa = null; |
63 | // try { | 63 | // try { |
64 | // aa = aplist[user]; | 64 | // aa = aplist[user]; |
@@ -68,11 +68,11 @@ namespace OpenSim.Data | |||
68 | // } | 68 | // } |
69 | // return aa; | 69 | // return aa; |
70 | // } | 70 | // } |
71 | // public virtual void UpdateUserAppearance(LLUUID user, AvatarAppearance appearance) { | 71 | // public virtual void UpdateUserAppearance(UUID user, AvatarAppearance appearance) { |
72 | // aplist[user] = appearance; | 72 | // aplist[user] = appearance; |
73 | // m_log.Info("[APPEARANCE] Setting appearance for " + user.ToString() + appearance.ToString()); | 73 | // m_log.Info("[APPEARANCE] Setting appearance for " + user.ToString() + appearance.ToString()); |
74 | // } | 74 | // } |
75 | public abstract void ResetAttachments(LLUUID userID); | 75 | public abstract void ResetAttachments(UUID userID); |
76 | 76 | ||
77 | public abstract string Version {get;} | 77 | public abstract string Version {get;} |
78 | public abstract string Name {get;} | 78 | public abstract string Name {get;} |