Patch #8 in the estate series. Introduces the concept of an estate
owner (alongside the master avatar) and provides storage fo the abuse email address. No user functionality yet. This patch includes a migration.0.6.0-stable
parent
6f975f6eeb
commit
43f3b9ad7b
|
@ -185,6 +185,13 @@ namespace OpenSim.Data.MySQL
|
|||
else
|
||||
m_FieldMap[name].SetValue(es, false);
|
||||
}
|
||||
else if(m_FieldMap[name].GetValue(es) is libsecondlife.LLUUID)
|
||||
{
|
||||
LLUUID uuid = LLUUID.Zero;
|
||||
|
||||
LLUUID.TryParse(r[name].ToString(), out uuid);
|
||||
m_FieldMap[name].SetValue(es, uuid);
|
||||
}
|
||||
else
|
||||
{
|
||||
m_FieldMap[name].SetValue(es, r[name]);
|
||||
|
|
|
@ -109,6 +109,13 @@ namespace OpenSim.Data.SQLite
|
|||
else
|
||||
m_FieldMap[name].SetValue(es, false);
|
||||
}
|
||||
else if(m_FieldMap[name].GetValue(es) is libsecondlife.LLUUID)
|
||||
{
|
||||
LLUUID uuid = LLUUID.Zero;
|
||||
|
||||
LLUUID.TryParse(r[name].ToString(), out uuid);
|
||||
m_FieldMap[name].SetValue(es, uuid);
|
||||
}
|
||||
else
|
||||
{
|
||||
m_FieldMap[name].SetValue(es, Convert.ChangeType(r[name], m_FieldMap[name].FieldType));
|
||||
|
|
|
@ -215,6 +215,22 @@ namespace OpenSim.Framework
|
|||
set { m_PublicAccess = value; }
|
||||
}
|
||||
|
||||
private string m_AbuseEmail = String.Empty;
|
||||
|
||||
public string AbuseEmail
|
||||
{
|
||||
get { return m_AbuseEmail; }
|
||||
set { m_AbuseEmail= value; }
|
||||
}
|
||||
|
||||
private LLUUID m_EstateOwner = LLUUID.Zero;
|
||||
|
||||
public LLUUID EstateOwner
|
||||
{
|
||||
get { return m_EstateOwner; }
|
||||
set { m_EstateOwner = value; }
|
||||
}
|
||||
|
||||
// All those lists...
|
||||
//
|
||||
private List<LLUUID> l_EstateManagers = new List<LLUUID>();
|
||||
|
|
Loading…
Reference in New Issue