Add owner_uuid. Not sure this works. Worth a test
parent
d344ca932d
commit
596f2307bf
|
@ -140,6 +140,14 @@ namespace OpenSim.Services.Interfaces
|
||||||
}
|
}
|
||||||
protected int m_regionLocY;
|
protected int m_regionLocY;
|
||||||
|
|
||||||
|
protected UUID m_estateOwner;
|
||||||
|
|
||||||
|
public UUID EstateOwner
|
||||||
|
{
|
||||||
|
get { return m_estateOwner; }
|
||||||
|
set { m_estateOwner = value; }
|
||||||
|
}
|
||||||
|
|
||||||
public UUID RegionID = UUID.Zero;
|
public UUID RegionID = UUID.Zero;
|
||||||
public UUID ScopeID = UUID.Zero;
|
public UUID ScopeID = UUID.Zero;
|
||||||
|
|
||||||
|
@ -191,6 +199,7 @@ namespace OpenSim.Services.Interfaces
|
||||||
Access = ConvertFrom.AccessLevel;
|
Access = ConvertFrom.AccessLevel;
|
||||||
Maturity = ConvertFrom.RegionSettings.Maturity;
|
Maturity = ConvertFrom.RegionSettings.Maturity;
|
||||||
RegionSecret = ConvertFrom.regionSecret;
|
RegionSecret = ConvertFrom.regionSecret;
|
||||||
|
EstateOwner = ConvertFrom.EstateSettings.EstateOwner;
|
||||||
}
|
}
|
||||||
|
|
||||||
public GridRegion(GridRegion ConvertFrom)
|
public GridRegion(GridRegion ConvertFrom)
|
||||||
|
@ -207,6 +216,7 @@ namespace OpenSim.Services.Interfaces
|
||||||
Access = ConvertFrom.Access;
|
Access = ConvertFrom.Access;
|
||||||
Maturity = ConvertFrom.Maturity;
|
Maturity = ConvertFrom.Maturity;
|
||||||
RegionSecret = ConvertFrom.RegionSecret;
|
RegionSecret = ConvertFrom.RegionSecret;
|
||||||
|
EstateOwner = ConvertFrom.EstateOwner;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <value>
|
/// <value>
|
||||||
|
@ -291,6 +301,7 @@ namespace OpenSim.Services.Interfaces
|
||||||
kvp["regionMapTexture"] = TerrainImage.ToString();
|
kvp["regionMapTexture"] = TerrainImage.ToString();
|
||||||
kvp["access"] = Access.ToString();
|
kvp["access"] = Access.ToString();
|
||||||
kvp["regionSecret"] = RegionSecret;
|
kvp["regionSecret"] = RegionSecret;
|
||||||
|
kvp["owner_uuid"] = EstateOwner.ToString();
|
||||||
// Maturity doesn't seem to exist in the DB
|
// Maturity doesn't seem to exist in the DB
|
||||||
return kvp;
|
return kvp;
|
||||||
}
|
}
|
||||||
|
@ -345,6 +356,9 @@ namespace OpenSim.Services.Interfaces
|
||||||
if (kvp.ContainsKey("regionSecret"))
|
if (kvp.ContainsKey("regionSecret"))
|
||||||
RegionSecret =(string)kvp["regionSecret"];
|
RegionSecret =(string)kvp["regionSecret"];
|
||||||
|
|
||||||
|
if (kvp.ContainsKey("owner_uuid"))
|
||||||
|
EstateOwner = new UUID(kvp["owner_uuid"].ToString());
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue