diff options
author | Sean Dague | 2008-04-10 13:53:06 +0000 |
---|---|---|
committer | Sean Dague | 2008-04-10 13:53:06 +0000 |
commit | c176caeb05c2264654b764e4d010561da60c24fc (patch) | |
tree | 87e0cab128ecaac57c5995df4cf5048185fe383f /OpenSim/Data/MSSQL/MSSQLManager.cs | |
parent | * Brings back map tile generation based on the terrain. The algorithm produc... (diff) | |
download | opensim-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 'OpenSim/Data/MSSQL/MSSQLManager.cs')
-rw-r--r-- | OpenSim/Data/MSSQL/MSSQLManager.cs | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/OpenSim/Data/MSSQL/MSSQLManager.cs b/OpenSim/Data/MSSQL/MSSQLManager.cs index 5154092..e33468a 100644 --- a/OpenSim/Data/MSSQL/MSSQLManager.cs +++ b/OpenSim/Data/MSSQL/MSSQLManager.cs | |||
@@ -300,38 +300,38 @@ namespace OpenSim.Data.MSSQL | |||
300 | 300 | ||
301 | if (reader.Read()) | 301 | if (reader.Read()) |
302 | { | 302 | { |
303 | retval.UUID = new LLUUID((string)reader["UUID"]); | 303 | retval.Id = new LLUUID((string)reader["UUID"]); |
304 | retval.username = (string)reader["username"]; | 304 | retval.FirstName = (string)reader["username"]; |
305 | retval.surname = (string)reader["lastname"]; | 305 | retval.SurName = (string)reader["lastname"]; |
306 | 306 | ||
307 | retval.passwordHash = (string)reader["passwordHash"]; | 307 | retval.PasswordHash = (string)reader["passwordHash"]; |
308 | retval.passwordSalt = (string)reader["passwordSalt"]; | 308 | retval.PasswordSalt = (string)reader["passwordSalt"]; |
309 | 309 | ||
310 | retval.homeRegion = Convert.ToUInt64(reader["homeRegion"].ToString()); | 310 | retval.HomeRegion = Convert.ToUInt64(reader["homeRegion"].ToString()); |
311 | retval.homeLocation = new LLVector3( | 311 | retval.HomeLocation = new LLVector3( |
312 | Convert.ToSingle(reader["homeLocationX"].ToString()), | 312 | Convert.ToSingle(reader["homeLocationX"].ToString()), |
313 | Convert.ToSingle(reader["homeLocationY"].ToString()), | 313 | Convert.ToSingle(reader["homeLocationY"].ToString()), |
314 | Convert.ToSingle(reader["homeLocationZ"].ToString())); | 314 | Convert.ToSingle(reader["homeLocationZ"].ToString())); |
315 | retval.homeLookAt = new LLVector3( | 315 | retval.HomeLookAt = new LLVector3( |
316 | Convert.ToSingle(reader["homeLookAtX"].ToString()), | 316 | Convert.ToSingle(reader["homeLookAtX"].ToString()), |
317 | Convert.ToSingle(reader["homeLookAtY"].ToString()), | 317 | Convert.ToSingle(reader["homeLookAtY"].ToString()), |
318 | Convert.ToSingle(reader["homeLookAtZ"].ToString())); | 318 | Convert.ToSingle(reader["homeLookAtZ"].ToString())); |
319 | 319 | ||
320 | retval.created = Convert.ToInt32(reader["created"].ToString()); | 320 | retval.Created = Convert.ToInt32(reader["created"].ToString()); |
321 | retval.lastLogin = Convert.ToInt32(reader["lastLogin"].ToString()); | 321 | retval.LastLogin = Convert.ToInt32(reader["lastLogin"].ToString()); |
322 | 322 | ||
323 | retval.userInventoryURI = (string)reader["userInventoryURI"]; | 323 | retval.UserInventoryURI = (string)reader["userInventoryURI"]; |
324 | retval.userAssetURI = (string)reader["userAssetURI"]; | 324 | retval.UserAssetURI = (string)reader["userAssetURI"]; |
325 | 325 | ||
326 | retval.profileCanDoMask = Convert.ToUInt32(reader["profileCanDoMask"].ToString()); | 326 | retval.ProfileCanDoMask = Convert.ToUInt32(reader["profileCanDoMask"].ToString()); |
327 | retval.profileWantDoMask = Convert.ToUInt32(reader["profileWantDoMask"].ToString()); | 327 | retval.ProfileWantDoMask = Convert.ToUInt32(reader["profileWantDoMask"].ToString()); |
328 | 328 | ||
329 | retval.profileAboutText = (string)reader["profileAboutText"]; | 329 | retval.ProfileAboutText = (string)reader["profileAboutText"]; |
330 | retval.profileFirstText = (string)reader["profileFirstText"]; | 330 | retval.ProfileFirstText = (string)reader["profileFirstText"]; |
331 | 331 | ||
332 | retval.profileImage = new LLUUID((string)reader["profileImage"]); | 332 | retval.ProfileImage = new LLUUID((string)reader["profileImage"]); |
333 | retval.profileFirstImage = new LLUUID((string)reader["profileFirstImage"]); | 333 | retval.ProfileFirstImage = new LLUUID((string)reader["profileFirstImage"]); |
334 | retval.webLoginKey = new LLUUID((string)reader["webLoginKey"]); | 334 | retval.WebLoginKey = new LLUUID((string)reader["webLoginKey"]); |
335 | } | 335 | } |
336 | else | 336 | else |
337 | { | 337 | { |