aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Grid/UserServer/UserManager.cs
diff options
context:
space:
mode:
authorJeff Ames2008-05-16 01:22:11 +0000
committerJeff Ames2008-05-16 01:22:11 +0000
commit65c5efe43b68700bad94076d4cd421160203c5de (patch)
tree589b56649ed02f4942671fd6e51c6dc43f682e0d /OpenSim/Grid/UserServer/UserManager.cs
parentThank you very much, mjm for : (diff)
downloadopensim-SC_OLD-65c5efe43b68700bad94076d4cd421160203c5de.zip
opensim-SC_OLD-65c5efe43b68700bad94076d4cd421160203c5de.tar.gz
opensim-SC_OLD-65c5efe43b68700bad94076d4cd421160203c5de.tar.bz2
opensim-SC_OLD-65c5efe43b68700bad94076d4cd421160203c5de.tar.xz
Formatting cleanup.
Diffstat (limited to 'OpenSim/Grid/UserServer/UserManager.cs')
-rw-r--r--OpenSim/Grid/UserServer/UserManager.cs20
1 files changed, 10 insertions, 10 deletions
diff --git a/OpenSim/Grid/UserServer/UserManager.cs b/OpenSim/Grid/UserServer/UserManager.cs
index 5d0e1d6..8372d6a 100644
--- a/OpenSim/Grid/UserServer/UserManager.cs
+++ b/OpenSim/Grid/UserServer/UserManager.cs
@@ -41,7 +41,7 @@ namespace OpenSim.Grid.UserServer
41 public delegate void logOffUser(LLUUID AgentID); 41 public delegate void logOffUser(LLUUID AgentID);
42 42
43 public class UserManager : UserManagerBase 43 public class UserManager : UserManagerBase
44 { 44 {
45 private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); 45 private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
46 46
47 public event logOffUser OnLogOffUser; 47 public event logOffUser OnLogOffUser;
@@ -91,7 +91,7 @@ namespace OpenSim.Grid.UserServer
91 responseData["lastname" + i.ToString()] = returnUsers[i].lastName; 91 responseData["lastname" + i.ToString()] = returnUsers[i].lastName;
92 } 92 }
93 response.Value = responseData; 93 response.Value = responseData;
94 94
95 return response; 95 return response;
96 } 96 }
97 97
@@ -182,7 +182,7 @@ namespace OpenSim.Grid.UserServer
182 Hashtable responseData = new Hashtable(); 182 Hashtable responseData = new Hashtable();
183 string returnString = "FALSE"; 183 string returnString = "FALSE";
184 // Query Result Information 184 // Query Result Information
185 185
186 if (requestData.Contains("ownerID") && requestData.Contains("friendID") && requestData.Contains("friendPerms")) 186 if (requestData.Contains("ownerID") && requestData.Contains("friendID") && requestData.Contains("friendPerms"))
187 { 187 {
188 // UserManagerBase.AddNewuserFriend 188 // UserManagerBase.AddNewuserFriend
@@ -201,7 +201,7 @@ namespace OpenSim.Grid.UserServer
201 Hashtable responseData = new Hashtable(); 201 Hashtable responseData = new Hashtable();
202 string returnString = "FALSE"; 202 string returnString = "FALSE";
203 // Query Result Information 203 // Query Result Information
204 204
205 if (requestData.Contains("ownerID") && requestData.Contains("friendID")) 205 if (requestData.Contains("ownerID") && requestData.Contains("friendID"))
206 { 206 {
207 // UserManagerBase.AddNewuserFriend 207 // UserManagerBase.AddNewuserFriend
@@ -219,7 +219,7 @@ namespace OpenSim.Grid.UserServer
219 Hashtable requestData = (Hashtable)request.Params[0]; 219 Hashtable requestData = (Hashtable)request.Params[0];
220 Hashtable responseData = new Hashtable(); 220 Hashtable responseData = new Hashtable();
221 string returnString = "FALSE"; 221 string returnString = "FALSE";
222 222
223 if (requestData.Contains("ownerID") && requestData.Contains("friendID") && requestData.Contains("friendPerms")) 223 if (requestData.Contains("ownerID") && requestData.Contains("friendID") && requestData.Contains("friendPerms"))
224 { 224 {
225 UpdateUserFriendPerms(new LLUUID((string)requestData["ownerID"]), new LLUUID((string)requestData["friendID"]), (uint)Convert.ToInt32((string)requestData["friendPerms"])); 225 UpdateUserFriendPerms(new LLUUID((string)requestData["ownerID"]), new LLUUID((string)requestData["friendID"]), (uint)Convert.ToInt32((string)requestData["friendPerms"]));
@@ -243,7 +243,7 @@ namespace OpenSim.Grid.UserServer
243 { 243 {
244 returndata = this.GetUserFriendList(new LLUUID((string)requestData["ownerID"])); 244 returndata = this.GetUserFriendList(new LLUUID((string)requestData["ownerID"]));
245 } 245 }
246 246
247 return FriendListItemListtoXmlRPCResponse(returndata); 247 return FriendListItemListtoXmlRPCResponse(returndata);
248 } 248 }
249 249
@@ -350,7 +350,7 @@ namespace OpenSim.Grid.UserServer
350 } 350 }
351 // dont' know how yet 351 // dont' know how yet
352 if (requestData.Contains("MaturePublish")) 352 if (requestData.Contains("MaturePublish"))
353 { 353 {
354 } 354 }
355 if (requestData.Contains("AboutText")) 355 if (requestData.Contains("AboutText"))
356 { 356 {
@@ -362,7 +362,7 @@ namespace OpenSim.Grid.UserServer
362 } 362 }
363 // not in DB yet. 363 // not in DB yet.
364 if (requestData.Contains("ProfileURL")) 364 if (requestData.Contains("ProfileURL"))
365 { 365 {
366 } 366 }
367 if (requestData.Contains("home_region")) 367 if (requestData.Contains("home_region"))
368 { 368 {
@@ -382,7 +382,7 @@ namespace OpenSim.Grid.UserServer
382 { 382 {
383 m_log.Error("[PROFILE]:Failed to set home region, Value was too large"); 383 m_log.Error("[PROFILE]:Failed to set home region, Value was too large");
384 } 384 }
385 385
386 } 386 }
387 if (requestData.Contains("home_pos_x")) 387 if (requestData.Contains("home_pos_x"))
388 { 388 {
@@ -442,7 +442,7 @@ namespace OpenSim.Grid.UserServer
442 } 442 }
443 if (requestData.Contains("home_look_z")) 443 if (requestData.Contains("home_look_z"))
444 { 444 {
445 try 445 try
446 { 446 {
447 userProfile.HomeLookAtZ = (float)Convert.ToDecimal((string)requestData["home_look_z"]); 447 userProfile.HomeLookAtZ = (float)Convert.ToDecimal((string)requestData["home_look_z"]);
448 } 448 }