Store and retrieve user profile url at runtime Not yet persisted Thanks Fly-Manarthursv
parent
a52b5e46c0
commit
655438a59d
|
@ -114,6 +114,11 @@ namespace OpenSim.Framework
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private uint m_profileWantDoMask; // Profile window "I want to" mask
|
private uint m_profileWantDoMask; // Profile window "I want to" mask
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// The profile url for an avatar
|
||||||
|
/// </summary>
|
||||||
|
private string m_profileUrl;
|
||||||
|
|
||||||
private UUID m_rootInventoryFolderId;
|
private UUID m_rootInventoryFolderId;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
@ -349,6 +354,12 @@ namespace OpenSim.Framework
|
||||||
set { m_profileFirstText = value; }
|
set { m_profileFirstText = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public string ProfileUrl
|
||||||
|
{
|
||||||
|
get { return m_profileUrl; }
|
||||||
|
set { m_profileUrl = value; }
|
||||||
|
}
|
||||||
|
|
||||||
public UUID Image
|
public UUID Image
|
||||||
{
|
{
|
||||||
get { return m_profileImage; }
|
get { return m_profileImage; }
|
||||||
|
|
|
@ -4954,6 +4954,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||||
UserProfile.FirstLifeAboutText = Utils.BytesToString(Properties.FLAboutText);
|
UserProfile.FirstLifeAboutText = Utils.BytesToString(Properties.FLAboutText);
|
||||||
UserProfile.FirstLifeImage = Properties.FLImageID;
|
UserProfile.FirstLifeImage = Properties.FLImageID;
|
||||||
UserProfile.Image = Properties.ImageID;
|
UserProfile.Image = Properties.ImageID;
|
||||||
|
UserProfile.ProfileUrl = Utils.BytesToString(Properties.ProfileURL);
|
||||||
|
|
||||||
handlerUpdateAvatarProperties(this, UserProfile);
|
handlerUpdateAvatarProperties(this, UserProfile);
|
||||||
}
|
}
|
||||||
|
|
|
@ -111,7 +111,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Profiles
|
||||||
remoteClient.SendAvatarProperties(profile.ID, profile.AboutText,
|
remoteClient.SendAvatarProperties(profile.ID, profile.AboutText,
|
||||||
Util.ToDateTime(profile.Created).ToString("M/d/yyyy", CultureInfo.InvariantCulture),
|
Util.ToDateTime(profile.Created).ToString("M/d/yyyy", CultureInfo.InvariantCulture),
|
||||||
charterMember, profile.FirstLifeAboutText, (uint)(profile.UserFlags & 0xff),
|
charterMember, profile.FirstLifeAboutText, (uint)(profile.UserFlags & 0xff),
|
||||||
profile.FirstLifeImage, profile.Image, String.Empty, profile.Partner);
|
profile.FirstLifeImage, profile.Image, profile.ProfileUrl, profile.Partner);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -130,6 +130,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Profiles
|
||||||
Profile.FirstLifeImage = newProfile.FirstLifeImage;
|
Profile.FirstLifeImage = newProfile.FirstLifeImage;
|
||||||
Profile.AboutText = newProfile.AboutText;
|
Profile.AboutText = newProfile.AboutText;
|
||||||
Profile.FirstLifeAboutText = newProfile.FirstLifeAboutText;
|
Profile.FirstLifeAboutText = newProfile.FirstLifeAboutText;
|
||||||
|
Profile.ProfileUrl = newProfile.ProfileUrl;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue