aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Grid/UserServer/UserManager.cs
diff options
context:
space:
mode:
authorSean Dague2008-04-10 13:53:06 +0000
committerSean Dague2008-04-10 13:53:06 +0000
commitc176caeb05c2264654b764e4d010561da60c24fc (patch)
tree87e0cab128ecaac57c5995df4cf5048185fe383f /OpenSim/Grid/UserServer/UserManager.cs
parent* Brings back map tile generation based on the terrain. The algorithm produc... (diff)
downloadopensim-SC_OLD-c176caeb05c2264654b764e4d010561da60c24fc.zip
opensim-SC_OLD-c176caeb05c2264654b764e4d010561da60c24fc.tar.gz
opensim-SC_OLD-c176caeb05c2264654b764e4d010561da60c24fc.tar.bz2
opensim-SC_OLD-c176caeb05c2264654b764e4d010561da60c24fc.tar.xz
moved fields to properties for UserDataProfile, which was
actually a little more work than I expected given the copious use of out params.
Diffstat (limited to '')
-rw-r--r--OpenSim/Grid/UserServer/UserManager.cs48
1 files changed, 24 insertions, 24 deletions
diff --git a/OpenSim/Grid/UserServer/UserManager.cs b/OpenSim/Grid/UserServer/UserManager.cs
index a6695c9..cf05bfd 100644
--- a/OpenSim/Grid/UserServer/UserManager.cs
+++ b/OpenSim/Grid/UserServer/UserManager.cs
@@ -125,31 +125,31 @@ namespace OpenSim.Grid.UserServer
125 Hashtable responseData = new Hashtable(); 125 Hashtable responseData = new Hashtable();
126 126
127 // Account information 127 // Account information
128 responseData["firstname"] = profile.username; 128 responseData["firstname"] = profile.FirstName;
129 responseData["lastname"] = profile.surname; 129 responseData["lastname"] = profile.SurName;
130 responseData["uuid"] = profile.UUID.ToString(); 130 responseData["uuid"] = profile.Id.ToString();
131 // Server Information 131 // Server Information
132 responseData["server_inventory"] = profile.userInventoryURI; 132 responseData["server_inventory"] = profile.UserInventoryURI;
133 responseData["server_asset"] = profile.userAssetURI; 133 responseData["server_asset"] = profile.UserAssetURI;
134 // Profile Information 134 // Profile Information
135 responseData["profile_about"] = profile.profileAboutText; 135 responseData["profile_about"] = profile.ProfileAboutText;
136 responseData["profile_firstlife_about"] = profile.profileFirstText; 136 responseData["profile_firstlife_about"] = profile.ProfileFirstText;
137 responseData["profile_firstlife_image"] = profile.profileFirstImage.ToString(); 137 responseData["profile_firstlife_image"] = profile.ProfileFirstImage.ToString();
138 responseData["profile_can_do"] = profile.profileCanDoMask.ToString(); 138 responseData["profile_can_do"] = profile.ProfileCanDoMask.ToString();
139 responseData["profile_want_do"] = profile.profileWantDoMask.ToString(); 139 responseData["profile_want_do"] = profile.ProfileWantDoMask.ToString();
140 responseData["profile_image"] = profile.profileImage.ToString(); 140 responseData["profile_image"] = profile.ProfileImage.ToString();
141 responseData["profile_created"] = profile.created.ToString(); 141 responseData["profile_created"] = profile.Created.ToString();
142 responseData["profile_lastlogin"] = profile.lastLogin.ToString(); 142 responseData["profile_lastlogin"] = profile.LastLogin.ToString();
143 // Home region information 143 // Home region information
144 responseData["home_coordinates_x"] = profile.homeLocation.X.ToString(); 144 responseData["home_coordinates_x"] = profile.HomeLocation.X.ToString();
145 responseData["home_coordinates_y"] = profile.homeLocation.Y.ToString(); 145 responseData["home_coordinates_y"] = profile.HomeLocation.Y.ToString();
146 responseData["home_coordinates_z"] = profile.homeLocation.Z.ToString(); 146 responseData["home_coordinates_z"] = profile.HomeLocation.Z.ToString();
147 147
148 responseData["home_region"] = profile.homeRegion.ToString(); 148 responseData["home_region"] = profile.HomeRegion.ToString();
149 149
150 responseData["home_look_x"] = profile.homeLookAt.X.ToString(); 150 responseData["home_look_x"] = profile.HomeLookAt.X.ToString();
151 responseData["home_look_y"] = profile.homeLookAt.Y.ToString(); 151 responseData["home_look_y"] = profile.HomeLookAt.Y.ToString();
152 responseData["home_look_z"] = profile.homeLookAt.Z.ToString(); 152 responseData["home_look_z"] = profile.HomeLookAt.Z.ToString();
153 response.Value = responseData; 153 response.Value = responseData;
154 154
155 return response; 155 return response;
@@ -341,11 +341,11 @@ namespace OpenSim.Grid.UserServer
341 } 341 }
342 if (requestData.Contains("FLImageID")) 342 if (requestData.Contains("FLImageID"))
343 { 343 {
344 userProfile.profileFirstImage = new LLUUID((string)requestData["FLImageID"]); 344 userProfile.ProfileFirstImage = new LLUUID((string)requestData["FLImageID"]);
345 } 345 }
346 if (requestData.Contains("ImageID")) 346 if (requestData.Contains("ImageID"))
347 { 347 {
348 userProfile.profileImage = new LLUUID((string)requestData["ImageID"]); 348 userProfile.ProfileImage = new LLUUID((string)requestData["ImageID"]);
349 } 349 }
350 // dont' know how yet 350 // dont' know how yet
351 if (requestData.Contains("MaturePublish")) 351 if (requestData.Contains("MaturePublish"))
@@ -353,11 +353,11 @@ namespace OpenSim.Grid.UserServer
353 } 353 }
354 if (requestData.Contains("AboutText")) 354 if (requestData.Contains("AboutText"))
355 { 355 {
356 userProfile.profileAboutText = (string)requestData["AboutText"]; 356 userProfile.ProfileAboutText = (string)requestData["AboutText"];
357 } 357 }
358 if (requestData.Contains("FLAboutText")) 358 if (requestData.Contains("FLAboutText"))
359 { 359 {
360 userProfile.profileFirstText = (string)requestData["FLAboutText"]; 360 userProfile.ProfileFirstText = (string)requestData["FLAboutText"];
361 } 361 }
362 // not in DB yet. 362 // not in DB yet.
363 if (requestData.Contains("ProfileURL")) 363 if (requestData.Contains("ProfileURL"))