aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/NHibernate/NHibernateUserData.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Data/NHibernate/NHibernateUserData.cs')
-rw-r--r--OpenSim/Data/NHibernate/NHibernateUserData.cs36
1 files changed, 18 insertions, 18 deletions
diff --git a/OpenSim/Data/NHibernate/NHibernateUserData.cs b/OpenSim/Data/NHibernate/NHibernateUserData.cs
index 8435762..459b8e7 100644
--- a/OpenSim/Data/NHibernate/NHibernateUserData.cs
+++ b/OpenSim/Data/NHibernate/NHibernateUserData.cs
@@ -30,7 +30,7 @@ using System.Collections.Generic;
30using System.IO; 30using System.IO;
31using System.Reflection; 31using System.Reflection;
32using System.Text.RegularExpressions; 32using System.Text.RegularExpressions;
33using libsecondlife; 33using OpenMetaverse;
34using log4net; 34using log4net;
35using NHibernate; 35using NHibernate;
36using NHibernate.Cfg; 36using NHibernate.Cfg;
@@ -90,7 +90,7 @@ namespace OpenSim.Data.NHibernate
90 m.Update(); 90 m.Update();
91 } 91 }
92 92
93 private bool ExistsUser(LLUUID uuid) 93 private bool ExistsUser(UUID uuid)
94 { 94 {
95 UserProfileData user = null; 95 UserProfileData user = null;
96 try 96 try
@@ -105,7 +105,7 @@ namespace OpenSim.Data.NHibernate
105 return (user != null); 105 return (user != null);
106 } 106 }
107 107
108 override public UserProfileData GetUserByUUID(LLUUID uuid) 108 override public UserProfileData GetUserByUUID(UUID uuid)
109 { 109 {
110 UserProfileData user; 110 UserProfileData user;
111 // TODO: I'm sure I'll have to do something silly here 111 // TODO: I'm sure I'll have to do something silly here
@@ -136,7 +136,7 @@ namespace OpenSim.Data.NHibernate
136 } 136 }
137 } 137 }
138 138
139 private void SetAgentData(LLUUID uuid, UserAgentData agent) 139 private void SetAgentData(UUID uuid, UserAgentData agent)
140 { 140 {
141 if (agent == null) 141 if (agent == null)
142 { 142 {
@@ -190,7 +190,7 @@ namespace OpenSim.Data.NHibernate
190 session.Update(agent); 190 session.Update(agent);
191 } 191 }
192 192
193 override public UserAgentData GetAgentByUUID(LLUUID uuid) 193 override public UserAgentData GetAgentByUUID(UUID uuid)
194 { 194 {
195 try 195 try
196 { 196 {
@@ -225,7 +225,7 @@ namespace OpenSim.Data.NHibernate
225 return GetAgentByName(name.Split(' ')[0], name.Split(' ')[1]); 225 return GetAgentByName(name.Split(' ')[0], name.Split(' ')[1]);
226 } 226 }
227 227
228 override public List<AvatarPickerAvatar> GeneratePickerResults(LLUUID queryID, string query) 228 override public List<AvatarPickerAvatar> GeneratePickerResults(UUID queryID, string query)
229 { 229 {
230 List<AvatarPickerAvatar> results = new List<AvatarPickerAvatar>(); 230 List<AvatarPickerAvatar> results = new List<AvatarPickerAvatar>();
231 string[] querysplit; 231 string[] querysplit;
@@ -249,18 +249,18 @@ namespace OpenSim.Data.NHibernate
249 } 249 }
250 250
251 // TODO: actually implement these 251 // TODO: actually implement these
252 public override void UpdateUserCurrentRegion(LLUUID avatarid, LLUUID regionuuid, ulong regionhandle) { return; } 252 public override void UpdateUserCurrentRegion(UUID avatarid, UUID regionuuid, ulong regionhandle) { return; }
253 public override void StoreWebLoginKey(LLUUID agentID, LLUUID webLoginKey) { return; } 253 public override void StoreWebLoginKey(UUID agentID, UUID webLoginKey) { return; }
254 public override void AddNewUserFriend(LLUUID friendlistowner, LLUUID friend, uint perms) { return; } 254 public override void AddNewUserFriend(UUID friendlistowner, UUID friend, uint perms) { return; }
255 public override void RemoveUserFriend(LLUUID friendlistowner, LLUUID friend) { return; } 255 public override void RemoveUserFriend(UUID friendlistowner, UUID friend) { return; }
256 public override void UpdateUserFriendPerms(LLUUID friendlistowner, LLUUID friend, uint perms) { return; } 256 public override void UpdateUserFriendPerms(UUID friendlistowner, UUID friend, uint perms) { return; }
257 public override List<FriendListItem> GetUserFriendList(LLUUID friendlistowner) { return new List<FriendListItem>(); } 257 public override List<FriendListItem> GetUserFriendList(UUID friendlistowner) { return new List<FriendListItem>(); }
258 public override bool MoneyTransferRequest(LLUUID from, LLUUID to, uint amount) { return true; } 258 public override bool MoneyTransferRequest(UUID from, UUID to, uint amount) { return true; }
259 public override bool InventoryTransferRequest(LLUUID from, LLUUID to, LLUUID inventory) { return true; } 259 public override bool InventoryTransferRequest(UUID from, UUID to, UUID inventory) { return true; }
260 260
261 /// Appearance 261 /// Appearance
262 /// TODO: stubs for now to get us to a compiling state gently 262 /// TODO: stubs for now to get us to a compiling state gently
263 public override AvatarAppearance GetUserAppearance(LLUUID user) 263 public override AvatarAppearance GetUserAppearance(UUID user)
264 { 264 {
265 AvatarAppearance appearance; 265 AvatarAppearance appearance;
266 // TODO: I'm sure I'll have to do something silly here 266 // TODO: I'm sure I'll have to do something silly here
@@ -272,7 +272,7 @@ namespace OpenSim.Data.NHibernate
272 return appearance; 272 return appearance;
273 } 273 }
274 274
275 private bool ExistsAppearance(LLUUID uuid) 275 private bool ExistsAppearance(UUID uuid)
276 { 276 {
277 AvatarAppearance appearance; 277 AvatarAppearance appearance;
278 try { 278 try {
@@ -285,7 +285,7 @@ namespace OpenSim.Data.NHibernate
285 } 285 }
286 286
287 287
288 public override void UpdateUserAppearance(LLUUID user, AvatarAppearance appearance) 288 public override void UpdateUserAppearance(UUID user, AvatarAppearance appearance)
289 { 289 {
290 if (appearance == null) 290 if (appearance == null)
291 return; 291 return;
@@ -303,7 +303,7 @@ namespace OpenSim.Data.NHibernate
303 } 303 }
304 } 304 }
305 305
306 public override void ResetAttachments(LLUUID userID) 306 public override void ResetAttachments(UUID userID)
307 { 307 {
308 } 308 }
309 309