aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/ClientStack/ClientView.cs10
-rw-r--r--OpenSim/Region/ClientStack/RegionApplicationBase.cs4
-rw-r--r--OpenSim/Region/Communications/Local/LocalLoginService.cs4
-rw-r--r--OpenSim/Region/Communications/Local/LocalUserServices.cs2
-rw-r--r--OpenSim/Region/Communications/OGS1/OGS1UserServices.cs24
-rw-r--r--OpenSim/Region/Environment/Modules/AvatarProfilesModule.cs20
6 files changed, 32 insertions, 32 deletions
diff --git a/OpenSim/Region/ClientStack/ClientView.cs b/OpenSim/Region/ClientStack/ClientView.cs
index e8c3f7c..939bd8f 100644
--- a/OpenSim/Region/ClientStack/ClientView.cs
+++ b/OpenSim/Region/ClientStack/ClientView.cs
@@ -3100,11 +3100,11 @@ namespace OpenSim.Region.ClientStack
3100 { 3100 {
3101 AvatarPropertiesUpdatePacket.PropertiesDataBlock Properties = Packet.PropertiesData; 3101 AvatarPropertiesUpdatePacket.PropertiesDataBlock Properties = Packet.PropertiesData;
3102 UserProfileData UserProfile = new UserProfileData(); 3102 UserProfileData UserProfile = new UserProfileData();
3103 UserProfile.Id = AgentId; 3103 UserProfile.ID = AgentId;
3104 UserProfile.ProfileAboutText = Helpers.FieldToUTF8String(Properties.AboutText); 3104 UserProfile.AboutText = Helpers.FieldToUTF8String(Properties.AboutText);
3105 UserProfile.ProfileFirstText = Helpers.FieldToUTF8String(Properties.FLAboutText); 3105 UserProfile.FirstLifeAboutText = Helpers.FieldToUTF8String(Properties.FLAboutText);
3106 UserProfile.ProfileFirstImage = Properties.FLImageID; 3106 UserProfile.FirstLifeImage = Properties.FLImageID;
3107 UserProfile.ProfileImage = Properties.ImageID; 3107 UserProfile.Image = Properties.ImageID;
3108 3108
3109 handlerUpdateAvatarProperties(this, UserProfile); 3109 handlerUpdateAvatarProperties(this, UserProfile);
3110 } 3110 }
diff --git a/OpenSim/Region/ClientStack/RegionApplicationBase.cs b/OpenSim/Region/ClientStack/RegionApplicationBase.cs
index e91cab5..2b023a6 100644
--- a/OpenSim/Region/ClientStack/RegionApplicationBase.cs
+++ b/OpenSim/Region/ClientStack/RegionApplicationBase.cs
@@ -149,8 +149,8 @@ namespace OpenSim.Region.ClientStack
149 149
150 if (masterAvatar != null) 150 if (masterAvatar != null)
151 { 151 {
152 m_log.Info("[PARCEL]: Found master avatar [" + masterAvatar.Id.ToString() + "]"); 152 m_log.Info("[PARCEL]: Found master avatar [" + masterAvatar.ID.ToString() + "]");
153 scene.RegionInfo.MasterAvatarAssignedUUID = masterAvatar.Id; 153 scene.RegionInfo.MasterAvatarAssignedUUID = masterAvatar.ID;
154 } 154 }
155 else 155 else
156 { 156 {
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);
diff --git a/OpenSim/Region/Environment/Modules/AvatarProfilesModule.cs b/OpenSim/Region/Environment/Modules/AvatarProfilesModule.cs
index 699e68d..e3ad297 100644
--- a/OpenSim/Region/Environment/Modules/AvatarProfilesModule.cs
+++ b/OpenSim/Region/Environment/Modules/AvatarProfilesModule.cs
@@ -90,10 +90,10 @@ namespace OpenSim.Region.Environment.Modules
90 UserProfileData profile = m_scene.CommsManager.UserService.GetUserProfile(avatarID); 90 UserProfileData profile = m_scene.CommsManager.UserService.GetUserProfile(avatarID);
91 if (null != profile) 91 if (null != profile)
92 { 92 {
93 remoteClient.SendAvatarProperties(profile.Id, profile.ProfileAboutText, 93 remoteClient.SendAvatarProperties(profile.ID, profile.AboutText,
94 Util.ToDateTime(profile.Created).ToString(), 94 Util.ToDateTime(profile.Created).ToString(),
95 System.String.Empty, profile.ProfileFirstText, profile.ProfileCanDoMask, 95 System.String.Empty, profile.FirstLifeAboutText, profile.CanDoMask,
96 profile.ProfileFirstImage, profile.ProfileImage, System.String.Empty, partner); 96 profile.FirstLifeImage, profile.Image, System.String.Empty, partner);
97 } 97 }
98 else 98 else
99 { 99 {
@@ -103,15 +103,15 @@ namespace OpenSim.Region.Environment.Modules
103 103
104 public void UpdateAvatarProperties(IClientAPI remoteClient, UserProfileData newProfile) 104 public void UpdateAvatarProperties(IClientAPI remoteClient, UserProfileData newProfile)
105 { 105 {
106 UserProfileData Profile = m_scene.CommsManager.UserService.GetUserProfile(newProfile.Id); 106 UserProfileData Profile = m_scene.CommsManager.UserService.GetUserProfile(newProfile.ID);
107 107
108 // if it's the profile of the user requesting the update, then we change only a few things. 108 // if it's the profile of the user requesting the update, then we change only a few things.
109 if (remoteClient.AgentId.CompareTo(Profile.Id) == 0) 109 if (remoteClient.AgentId.CompareTo(Profile.ID) == 0)
110 { 110 {
111 Profile.ProfileImage = newProfile.ProfileImage; 111 Profile.Image = newProfile.Image;
112 Profile.ProfileFirstImage = newProfile.ProfileFirstImage; 112 Profile.FirstLifeImage = newProfile.FirstLifeImage;
113 Profile.ProfileAboutText = newProfile.ProfileAboutText; 113 Profile.AboutText = newProfile.AboutText;
114 Profile.ProfileFirstText = newProfile.ProfileFirstText; 114 Profile.FirstLifeAboutText = newProfile.FirstLifeAboutText;
115 } 115 }
116 else 116 else
117 { 117 {
@@ -119,7 +119,7 @@ namespace OpenSim.Region.Environment.Modules
119 } 119 }
120 if (m_scene.CommsManager.UserService.UpdateUserProfileProperties(Profile)) 120 if (m_scene.CommsManager.UserService.UpdateUserProfileProperties(Profile))
121 { 121 {
122 RequestAvatarProperty(remoteClient, newProfile.Id); 122 RequestAvatarProperty(remoteClient, newProfile.ID);
123 } 123 }
124 } 124 }
125 } 125 }