aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/UserDataBase.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Data/UserDataBase.cs30
1 files changed, 16 insertions, 14 deletions
diff --git a/OpenSim/Data/UserDataBase.cs b/OpenSim/Data/UserDataBase.cs
index ad40bbc..cbf24a7 100644
--- a/OpenSim/Data/UserDataBase.cs
+++ b/OpenSim/Data/UserDataBase.cs
@@ -59,20 +59,22 @@ namespace OpenSim.Data
59 public abstract string Name {get;} 59 public abstract string Name {get;}
60 public abstract void Initialise(string connect); 60 public abstract void Initialise(string connect);
61 public abstract List<AvatarPickerAvatar> GeneratePickerResults(LLUUID queryID, string query); 61 public abstract List<AvatarPickerAvatar> GeneratePickerResults(LLUUID queryID, string query);
62 public virtual AvatarAppearance GetUserAppearance(LLUUID user) { 62 public abstract AvatarAppearance GetUserAppearance(LLUUID user);
63 AvatarAppearance aa = null; 63 public abstract void UpdateUserAppearance(LLUUID user, AvatarAppearance appearance);
64 try { 64 // public virtual AvatarAppearance GetUserAppearance(LLUUID user) {
65 aa = aplist[user]; 65 // AvatarAppearance aa = null;
66 m_log.Info("[APPEARANCE] Found appearance for " + user.ToString() + aa.ToString()); 66 // try {
67 } catch (System.Collections.Generic.KeyNotFoundException e) { 67 // aa = aplist[user];
68 m_log.Info("[APPEARANCE] No appearance found for " + user.ToString()); 68 // m_log.Info("[APPEARANCE] Found appearance for " + user.ToString() + aa.ToString());
69 } 69 // } catch (System.Collections.Generic.KeyNotFoundException e) {
70 return aa; 70 // m_log.Info("[APPEARANCE] No appearance found for " + user.ToString());
71 } 71 // }
72 public virtual void UpdateUserAppearance(LLUUID user, AvatarAppearance appearance) { 72 // return aa;
73 aplist[user] = appearance; 73 // }
74 m_log.Info("[APPEARANCE] Setting appearance for " + user.ToString() + appearance.ToString()); 74 // public virtual void UpdateUserAppearance(LLUUID user, AvatarAppearance appearance) {
75 } 75 // aplist[user] = appearance;
76 // m_log.Info("[APPEARANCE] Setting appearance for " + user.ToString() + appearance.ToString());
77 // }
76 public abstract void AddAttachment(LLUUID user, LLUUID item); 78 public abstract void AddAttachment(LLUUID user, LLUUID item);
77 public abstract void RemoveAttachment(LLUUID user, LLUUID item); 79 public abstract void RemoveAttachment(LLUUID user, LLUUID item);
78 public abstract List<LLUUID> GetAttachments(LLUUID user); 80 public abstract List<LLUUID> GetAttachments(LLUUID user);