aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorMelanie2009-10-07 18:34:59 +0100
committerMelanie2009-10-07 18:34:59 +0100
commit596f2307bfdbb82ed1ee272408ea8363d968c919 (patch)
treea6058ab610c699a9b36e487579112a6b59680924 /OpenSim
parentA small change in FetchInventoryDescendantsCAPS. (diff)
downloadopensim-SC_OLD-596f2307bfdbb82ed1ee272408ea8363d968c919.zip
opensim-SC_OLD-596f2307bfdbb82ed1ee272408ea8363d968c919.tar.gz
opensim-SC_OLD-596f2307bfdbb82ed1ee272408ea8363d968c919.tar.bz2
opensim-SC_OLD-596f2307bfdbb82ed1ee272408ea8363d968c919.tar.xz
Add owner_uuid. Not sure this works. Worth a test
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Services/Interfaces/IGridService.cs14
1 files changed, 14 insertions, 0 deletions
diff --git a/OpenSim/Services/Interfaces/IGridService.cs b/OpenSim/Services/Interfaces/IGridService.cs
index 2290530..14560b1 100644
--- a/OpenSim/Services/Interfaces/IGridService.cs
+++ b/OpenSim/Services/Interfaces/IGridService.cs
@@ -140,6 +140,14 @@ namespace OpenSim.Services.Interfaces
140 } 140 }
141 protected int m_regionLocY; 141 protected int m_regionLocY;
142 142
143 protected UUID m_estateOwner;
144
145 public UUID EstateOwner
146 {
147 get { return m_estateOwner; }
148 set { m_estateOwner = value; }
149 }
150
143 public UUID RegionID = UUID.Zero; 151 public UUID RegionID = UUID.Zero;
144 public UUID ScopeID = UUID.Zero; 152 public UUID ScopeID = UUID.Zero;
145 153
@@ -191,6 +199,7 @@ namespace OpenSim.Services.Interfaces
191 Access = ConvertFrom.AccessLevel; 199 Access = ConvertFrom.AccessLevel;
192 Maturity = ConvertFrom.RegionSettings.Maturity; 200 Maturity = ConvertFrom.RegionSettings.Maturity;
193 RegionSecret = ConvertFrom.regionSecret; 201 RegionSecret = ConvertFrom.regionSecret;
202 EstateOwner = ConvertFrom.EstateSettings.EstateOwner;
194 } 203 }
195 204
196 public GridRegion(GridRegion ConvertFrom) 205 public GridRegion(GridRegion ConvertFrom)
@@ -207,6 +216,7 @@ namespace OpenSim.Services.Interfaces
207 Access = ConvertFrom.Access; 216 Access = ConvertFrom.Access;
208 Maturity = ConvertFrom.Maturity; 217 Maturity = ConvertFrom.Maturity;
209 RegionSecret = ConvertFrom.RegionSecret; 218 RegionSecret = ConvertFrom.RegionSecret;
219 EstateOwner = ConvertFrom.EstateOwner;
210 } 220 }
211 221
212 /// <value> 222 /// <value>
@@ -291,6 +301,7 @@ namespace OpenSim.Services.Interfaces
291 kvp["regionMapTexture"] = TerrainImage.ToString(); 301 kvp["regionMapTexture"] = TerrainImage.ToString();
292 kvp["access"] = Access.ToString(); 302 kvp["access"] = Access.ToString();
293 kvp["regionSecret"] = RegionSecret; 303 kvp["regionSecret"] = RegionSecret;
304 kvp["owner_uuid"] = EstateOwner.ToString();
294 // Maturity doesn't seem to exist in the DB 305 // Maturity doesn't seem to exist in the DB
295 return kvp; 306 return kvp;
296 } 307 }
@@ -345,6 +356,9 @@ namespace OpenSim.Services.Interfaces
345 if (kvp.ContainsKey("regionSecret")) 356 if (kvp.ContainsKey("regionSecret"))
346 RegionSecret =(string)kvp["regionSecret"]; 357 RegionSecret =(string)kvp["regionSecret"];
347 358
359 if (kvp.ContainsKey("owner_uuid"))
360 EstateOwner = new UUID(kvp["owner_uuid"].ToString());
361
348 } 362 }
349 } 363 }
350 364