diff options
author | Sean Dague | 2008-04-10 14:09:30 +0000 |
---|---|---|
committer | Sean Dague | 2008-04-10 14:09:30 +0000 |
commit | 25fea01b92a7682e10f57ce979217d31fee975ef (patch) | |
tree | 0e0dec2344cd06609bf47f1a7e2245a0a94f99c6 /OpenSim/Region/Communications | |
parent | moved fields to properties for UserDataProfile, which was (diff) | |
download | opensim-SC-25fea01b92a7682e10f57ce979217d31fee975ef.zip opensim-SC-25fea01b92a7682e10f57ce979217d31fee975ef.tar.gz opensim-SC-25fea01b92a7682e10f57ce979217d31fee975ef.tar.bz2 opensim-SC-25fea01b92a7682e10f57ce979217d31fee975ef.tar.xz |
further renaming of properties for clarity
Diffstat (limited to 'OpenSim/Region/Communications')
3 files changed, 15 insertions, 15 deletions
diff --git a/OpenSim/Region/Communications/Local/LocalLoginService.cs b/OpenSim/Region/Communications/Local/LocalLoginService.cs index d1d3e22..8895c6e 100644 --- a/OpenSim/Region/Communications/Local/LocalLoginService.cs +++ b/OpenSim/Region/Communications/Local/LocalLoginService.cs | |||
@@ -87,7 +87,7 @@ namespace OpenSim.Region.Communications.Local | |||
87 | profile = m_userManager.GetUserProfile(firstname, lastname); | 87 | profile = m_userManager.GetUserProfile(firstname, lastname); |
88 | if (profile != null) | 88 | if (profile != null) |
89 | { | 89 | { |
90 | m_Parent.InventoryService.CreateNewUserInventory(profile.Id); | 90 | m_Parent.InventoryService.CreateNewUserInventory(profile.ID); |
91 | } | 91 | } |
92 | 92 | ||
93 | return profile; | 93 | return profile; |
@@ -169,7 +169,7 @@ namespace OpenSim.Region.Communications.Local | |||
169 | 169 | ||
170 | LoginResponse.BuddyList buddyList = new LoginResponse.BuddyList(); | 170 | LoginResponse.BuddyList buddyList = new LoginResponse.BuddyList(); |
171 | 171 | ||
172 | response.BuddList = ConvertFriendListItem(m_userManager.GetUserFriendList(theUser.Id)); | 172 | response.BuddList = ConvertFriendListItem(m_userManager.GetUserFriendList(theUser.ID)); |
173 | 173 | ||
174 | Login _login = new Login(); | 174 | Login _login = new Login(); |
175 | //copy data to login object | 175 | //copy data to login object |
diff --git a/OpenSim/Region/Communications/Local/LocalUserServices.cs b/OpenSim/Region/Communications/Local/LocalUserServices.cs index 00514e8..c543762 100644 --- a/OpenSim/Region/Communications/Local/LocalUserServices.cs +++ b/OpenSim/Region/Communications/Local/LocalUserServices.cs | |||
@@ -84,7 +84,7 @@ namespace OpenSim.Region.Communications.Local | |||
84 | } | 84 | } |
85 | else | 85 | else |
86 | { | 86 | { |
87 | m_inventoryService.CreateNewUserInventory(profile.Id); | 87 | m_inventoryService.CreateNewUserInventory(profile.ID); |
88 | } | 88 | } |
89 | 89 | ||
90 | return profile; | 90 | return profile; |
diff --git a/OpenSim/Region/Communications/OGS1/OGS1UserServices.cs b/OpenSim/Region/Communications/OGS1/OGS1UserServices.cs index 9796cf4..906101b 100644 --- a/OpenSim/Region/Communications/OGS1/OGS1UserServices.cs +++ b/OpenSim/Region/Communications/OGS1/OGS1UserServices.cs | |||
@@ -62,15 +62,15 @@ namespace OpenSim.Region.Communications.OGS1 | |||
62 | UserProfileData userData = new UserProfileData(); | 62 | UserProfileData userData = new UserProfileData(); |
63 | userData.FirstName = (string) data["firstname"]; | 63 | userData.FirstName = (string) data["firstname"]; |
64 | userData.SurName = (string) data["lastname"]; | 64 | userData.SurName = (string) data["lastname"]; |
65 | userData.Id = new LLUUID((string) data["uuid"]); | 65 | userData.ID = new LLUUID((string) data["uuid"]); |
66 | userData.UserInventoryURI = (string) data["server_inventory"]; | 66 | userData.UserInventoryURI = (string) data["server_inventory"]; |
67 | userData.UserAssetURI = (string) data["server_asset"]; | 67 | userData.UserAssetURI = (string) data["server_asset"]; |
68 | userData.ProfileFirstText = (string) data["profile_firstlife_about"]; | 68 | userData.FirstLifeAboutText = (string) data["profile_firstlife_about"]; |
69 | userData.ProfileFirstImage = new LLUUID((string) data["profile_firstlife_image"]); | 69 | userData.FirstLifeImage = new LLUUID((string) data["profile_firstlife_image"]); |
70 | userData.ProfileCanDoMask = Convert.ToUInt32((string) data["profile_can_do"]); | 70 | userData.CanDoMask = Convert.ToUInt32((string) data["profile_can_do"]); |
71 | userData.ProfileWantDoMask = Convert.ToUInt32(data["profile_want_do"]); | 71 | userData.WantDoMask = Convert.ToUInt32(data["profile_want_do"]); |
72 | userData.ProfileAboutText = (string)data["profile_about"]; | 72 | userData.AboutText = (string)data["profile_about"]; |
73 | userData.ProfileImage = new LLUUID((string) data["profile_image"]); | 73 | userData.Image = new LLUUID((string) data["profile_image"]); |
74 | userData.LastLogin = Convert.ToInt32((string) data["profile_lastlogin"]); | 74 | userData.LastLogin = Convert.ToInt32((string) data["profile_lastlogin"]); |
75 | userData.HomeRegion = Convert.ToUInt64((string) data["home_region"]); | 75 | userData.HomeRegion = Convert.ToUInt64((string) data["home_region"]); |
76 | userData.HomeLocation = | 76 | userData.HomeLocation = |
@@ -306,13 +306,13 @@ namespace OpenSim.Region.Communications.OGS1 | |||
306 | { | 306 | { |
307 | m_log.Debug("[OGS1 USER SERVICES]: Asking UserServer to update profile."); | 307 | m_log.Debug("[OGS1 USER SERVICES]: Asking UserServer to update profile."); |
308 | Hashtable param = new Hashtable(); | 308 | Hashtable param = new Hashtable(); |
309 | param["avatar_uuid"] = UserProfile.Id.ToString(); | 309 | param["avatar_uuid"] = UserProfile.ID.ToString(); |
310 | //param["AllowPublish"] = UserProfile.ToString(); | 310 | //param["AllowPublish"] = UserProfile.ToString(); |
311 | param["FLImageID"] = UserProfile.ProfileFirstImage.ToString(); | 311 | param["FLImageID"] = UserProfile.FirstLifeImage.ToString(); |
312 | param["ImageID"] = UserProfile.ProfileImage.ToString(); | 312 | param["ImageID"] = UserProfile.Image.ToString(); |
313 | //param["MaturePublish"] = MaturePublish.ToString(); | 313 | //param["MaturePublish"] = MaturePublish.ToString(); |
314 | param["AboutText"] = UserProfile.ProfileAboutText; | 314 | param["AboutText"] = UserProfile.AboutText; |
315 | param["FLAboutText"] = UserProfile.ProfileFirstText; | 315 | param["FLAboutText"] = UserProfile.FirstLifeAboutText; |
316 | //param["ProfileURL"] = UserProfile.ProfileURL.ToString(); | 316 | //param["ProfileURL"] = UserProfile.ProfileURL.ToString(); |
317 | IList parameters = new ArrayList(); | 317 | IList parameters = new ArrayList(); |
318 | parameters.Add(param); | 318 | parameters.Add(param); |