moved fields to properties for UserDataProfile, which was

actually a little more work than I expected given the copious
use of out params.
This commit is contained in:
Sean Dague
2008-04-10 13:53:06 +00:00
parent 1178eddffc
commit c176caeb05
24 changed files with 591 additions and 378 deletions

View File

@@ -3100,11 +3100,11 @@ namespace OpenSim.Region.ClientStack
{
AvatarPropertiesUpdatePacket.PropertiesDataBlock Properties = Packet.PropertiesData;
UserProfileData UserProfile = new UserProfileData();
UserProfile.UUID = AgentId;
UserProfile.profileAboutText = Helpers.FieldToUTF8String(Properties.AboutText);
UserProfile.profileFirstText = Helpers.FieldToUTF8String(Properties.FLAboutText);
UserProfile.profileFirstImage = Properties.FLImageID;
UserProfile.profileImage = Properties.ImageID;
UserProfile.Id = AgentId;
UserProfile.ProfileAboutText = Helpers.FieldToUTF8String(Properties.AboutText);
UserProfile.ProfileFirstText = Helpers.FieldToUTF8String(Properties.FLAboutText);
UserProfile.ProfileFirstImage = Properties.FLImageID;
UserProfile.ProfileImage = Properties.ImageID;
handlerUpdateAvatarProperties(this, UserProfile);
}

View File

@@ -149,8 +149,8 @@ namespace OpenSim.Region.ClientStack
if (masterAvatar != null)
{
m_log.Info("[PARCEL]: Found master avatar [" + masterAvatar.UUID.ToString() + "]");
scene.RegionInfo.MasterAvatarAssignedUUID = masterAvatar.UUID;
m_log.Info("[PARCEL]: Found master avatar [" + masterAvatar.Id.ToString() + "]");
scene.RegionInfo.MasterAvatarAssignedUUID = masterAvatar.Id;
}
else
{