add email field to UserProfileData object

remove virtual setting from properties, as that was legacy that I put in
there a while back

From: Sean Dague <sdague@gmail.com>
0.6.0-stable
Sean Dague 2008-11-04 00:35:32 +00:00
parent ee178c76ae
commit a9d0642fca
1 changed files with 43 additions and 32 deletions

View File

@ -121,6 +121,11 @@ namespace OpenSim.Framework
/// </summary> /// </summary>
private string _surname; private string _surname;
/// <summary>
/// A valid email address for the account. Useful for password reset requests.
/// </summary>
private string _email;
/// <summary> /// <summary>
/// A URI to the users asset server, used for foreigners and large grids. /// A URI to the users asset server, used for foreigners and large grids.
/// </summary> /// </summary>
@ -172,196 +177,202 @@ namespace OpenSim.Framework
} }
// Property wrappers // Property wrappers
public virtual UUID ID public UUID ID
{ {
get { return _id; } get { return _id; }
set { _id = value; } set { _id = value; }
} }
public virtual UUID WebLoginKey public UUID WebLoginKey
{ {
get { return _webLoginKey; } get { return _webLoginKey; }
set { _webLoginKey = value; } set { _webLoginKey = value; }
} }
public virtual string FirstName public string FirstName
{ {
get { return _firstname; } get { return _firstname; }
set { _firstname = value; } set { _firstname = value; }
} }
public virtual string SurName public string SurName
{ {
get { return _surname; } get { return _surname; }
set { _surname = value; } set { _surname = value; }
} }
public virtual string PasswordHash public string Email
{
get { return _email; }
set { _email = value; }
}
public string PasswordHash
{ {
get { return _passwordHash; } get { return _passwordHash; }
set { _passwordHash = value; } set { _passwordHash = value; }
} }
public virtual string PasswordSalt public string PasswordSalt
{ {
get { return _passwordSalt; } get { return _passwordSalt; }
set { _passwordSalt = value; } set { _passwordSalt = value; }
} }
public virtual uint HomeRegionX public uint HomeRegionX
{ {
get { return _homeRegionX; } get { return _homeRegionX; }
set { _homeRegionX = value; } set { _homeRegionX = value; }
} }
public virtual uint HomeRegionY public uint HomeRegionY
{ {
get { return _homeRegionY; } get { return _homeRegionY; }
set { _homeRegionY = value; } set { _homeRegionY = value; }
} }
public virtual Vector3 HomeLocation public Vector3 HomeLocation
{ {
get { return _homeLocation; } get { return _homeLocation; }
set { _homeLocation = value; } set { _homeLocation = value; }
} }
// for handy serialization // for handy serialization
public virtual float HomeLocationX public float HomeLocationX
{ {
get { return _homeLocation.X; } get { return _homeLocation.X; }
set { _homeLocation.X = value; } set { _homeLocation.X = value; }
} }
public virtual float HomeLocationY public float HomeLocationY
{ {
get { return _homeLocation.Y; } get { return _homeLocation.Y; }
set { _homeLocation.Y = value; } set { _homeLocation.Y = value; }
} }
public virtual float HomeLocationZ public float HomeLocationZ
{ {
get { return _homeLocation.Z; } get { return _homeLocation.Z; }
set { _homeLocation.Z = value; } set { _homeLocation.Z = value; }
} }
public virtual Vector3 HomeLookAt public Vector3 HomeLookAt
{ {
get { return _homeLookAt; } get { return _homeLookAt; }
set { _homeLookAt = value; } set { _homeLookAt = value; }
} }
// for handy serialization // for handy serialization
public virtual float HomeLookAtX public float HomeLookAtX
{ {
get { return _homeLookAt.X; } get { return _homeLookAt.X; }
set { _homeLookAt.X = value; } set { _homeLookAt.X = value; }
} }
public virtual float HomeLookAtY public float HomeLookAtY
{ {
get { return _homeLookAt.Y; } get { return _homeLookAt.Y; }
set { _homeLookAt.Y = value; } set { _homeLookAt.Y = value; }
} }
public virtual float HomeLookAtZ public float HomeLookAtZ
{ {
get { return _homeLookAt.Z; } get { return _homeLookAt.Z; }
set { _homeLookAt.Z = value; } set { _homeLookAt.Z = value; }
} }
public virtual int Created public int Created
{ {
get { return _created; } get { return _created; }
set { _created = value; } set { _created = value; }
} }
public virtual int LastLogin public int LastLogin
{ {
get { return _lastLogin; } get { return _lastLogin; }
set { _lastLogin = value; } set { _lastLogin = value; }
} }
public virtual UUID RootInventoryFolderID public UUID RootInventoryFolderID
{ {
get { return _rootInventoryFolderID; } get { return _rootInventoryFolderID; }
set { _rootInventoryFolderID = value; } set { _rootInventoryFolderID = value; }
} }
public virtual string UserInventoryURI public string UserInventoryURI
{ {
get { return _userInventoryURI; } get { return _userInventoryURI; }
set { _userInventoryURI = value; } set { _userInventoryURI = value; }
} }
public virtual string UserAssetURI public string UserAssetURI
{ {
get { return _userAssetURI; } get { return _userAssetURI; }
set { _userAssetURI = value; } set { _userAssetURI = value; }
} }
public virtual uint CanDoMask public uint CanDoMask
{ {
get { return _profileCanDoMask; } get { return _profileCanDoMask; }
set { _profileCanDoMask = value; } set { _profileCanDoMask = value; }
} }
public virtual uint WantDoMask public uint WantDoMask
{ {
get { return _profileWantDoMask; } get { return _profileWantDoMask; }
set { _profileWantDoMask = value; } set { _profileWantDoMask = value; }
} }
public virtual string AboutText public string AboutText
{ {
get { return _profileAboutText; } get { return _profileAboutText; }
set { _profileAboutText = value; } set { _profileAboutText = value; }
} }
public virtual string FirstLifeAboutText public string FirstLifeAboutText
{ {
get { return _profileFirstText; } get { return _profileFirstText; }
set { _profileFirstText = value; } set { _profileFirstText = value; }
} }
public virtual UUID Image public UUID Image
{ {
get { return _profileImage; } get { return _profileImage; }
set { _profileImage = value; } set { _profileImage = value; }
} }
public virtual UUID FirstLifeImage public UUID FirstLifeImage
{ {
get { return _profileFirstImage; } get { return _profileFirstImage; }
set { _profileFirstImage = value; } set { _profileFirstImage = value; }
} }
public virtual UserAgentData CurrentAgent public UserAgentData CurrentAgent
{ {
get { return _currentAgent; } get { return _currentAgent; }
set { _currentAgent = value; } set { _currentAgent = value; }
} }
public virtual int UserFlags public int UserFlags
{ {
get { return _userFlags; } get { return _userFlags; }
set { _userFlags = value; } set { _userFlags = value; }
} }
public virtual int GodLevel public int GodLevel
{ {
get { return _godLevel; } get { return _godLevel; }
set { _godLevel = value; } set { _godLevel = value; }
} }
public virtual string CustomType public string CustomType
{ {
get { return _customType; } get { return _customType; }
set { _customType = value; } set { _customType = value; }
} }
public virtual UUID Partner public UUID Partner
{ {
get { return _partner; } get { return _partner; }
set { _partner = value; } set { _partner = value; }