diff options
Merge branch 'master' into careminster
Diffstat (limited to 'OpenSim/Services/Interfaces/IGridService.cs')
-rw-r--r-- | OpenSim/Services/Interfaces/IGridService.cs | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/OpenSim/Services/Interfaces/IGridService.cs b/OpenSim/Services/Interfaces/IGridService.cs index 2b0b947..cdcb961 100644 --- a/OpenSim/Services/Interfaces/IGridService.cs +++ b/OpenSim/Services/Interfaces/IGridService.cs | |||
@@ -190,6 +190,7 @@ namespace OpenSim.Services.Interfaces | |||
190 | public UUID ScopeID = UUID.Zero; | 190 | public UUID ScopeID = UUID.Zero; |
191 | 191 | ||
192 | public UUID TerrainImage = UUID.Zero; | 192 | public UUID TerrainImage = UUID.Zero; |
193 | public UUID ParcelImage = UUID.Zero; | ||
193 | public byte Access; | 194 | public byte Access; |
194 | public int Maturity; | 195 | public int Maturity; |
195 | public string RegionSecret = string.Empty; | 196 | public string RegionSecret = string.Empty; |
@@ -236,6 +237,7 @@ namespace OpenSim.Services.Interfaces | |||
236 | RegionID = ConvertFrom.RegionID; | 237 | RegionID = ConvertFrom.RegionID; |
237 | ServerURI = ConvertFrom.ServerURI; | 238 | ServerURI = ConvertFrom.ServerURI; |
238 | TerrainImage = ConvertFrom.RegionSettings.TerrainImageID; | 239 | TerrainImage = ConvertFrom.RegionSettings.TerrainImageID; |
240 | ParcelImage = ConvertFrom.RegionSettings.ParcelImageID; | ||
239 | Access = ConvertFrom.AccessLevel; | 241 | Access = ConvertFrom.AccessLevel; |
240 | Maturity = ConvertFrom.RegionSettings.Maturity; | 242 | Maturity = ConvertFrom.RegionSettings.Maturity; |
241 | RegionSecret = ConvertFrom.regionSecret; | 243 | RegionSecret = ConvertFrom.regionSecret; |
@@ -253,6 +255,7 @@ namespace OpenSim.Services.Interfaces | |||
253 | RegionID = ConvertFrom.RegionID; | 255 | RegionID = ConvertFrom.RegionID; |
254 | ServerURI = ConvertFrom.ServerURI; | 256 | ServerURI = ConvertFrom.ServerURI; |
255 | TerrainImage = ConvertFrom.TerrainImage; | 257 | TerrainImage = ConvertFrom.TerrainImage; |
258 | ParcelImage = ConvertFrom.ParcelImage; | ||
256 | Access = ConvertFrom.Access; | 259 | Access = ConvertFrom.Access; |
257 | Maturity = ConvertFrom.Maturity; | 260 | Maturity = ConvertFrom.Maturity; |
258 | RegionSecret = ConvertFrom.RegionSecret; | 261 | RegionSecret = ConvertFrom.RegionSecret; |
@@ -281,7 +284,7 @@ namespace OpenSim.Services.Interfaces | |||
281 | 284 | ||
282 | public override int GetHashCode() | 285 | public override int GetHashCode() |
283 | { | 286 | { |
284 | return RegionID.GetHashCode() ^ TerrainImage.GetHashCode(); | 287 | return RegionID.GetHashCode() ^ TerrainImage.GetHashCode() ^ ParcelImage.GetHashCode(); |
285 | } | 288 | } |
286 | 289 | ||
287 | #endregion | 290 | #endregion |
@@ -363,6 +366,7 @@ namespace OpenSim.Services.Interfaces | |||
363 | kvp["serverURI"] = ServerURI; | 366 | kvp["serverURI"] = ServerURI; |
364 | kvp["serverPort"] = InternalEndPoint.Port.ToString(); | 367 | kvp["serverPort"] = InternalEndPoint.Port.ToString(); |
365 | kvp["regionMapTexture"] = TerrainImage.ToString(); | 368 | kvp["regionMapTexture"] = TerrainImage.ToString(); |
369 | kvp["parcelMapTexture"] = ParcelImage.ToString(); | ||
366 | kvp["access"] = Access.ToString(); | 370 | kvp["access"] = Access.ToString(); |
367 | kvp["regionSecret"] = RegionSecret; | 371 | kvp["regionSecret"] = RegionSecret; |
368 | kvp["owner_uuid"] = EstateOwner.ToString(); | 372 | kvp["owner_uuid"] = EstateOwner.ToString(); |
@@ -421,6 +425,9 @@ namespace OpenSim.Services.Interfaces | |||
421 | if (kvp.ContainsKey("regionMapTexture")) | 425 | if (kvp.ContainsKey("regionMapTexture")) |
422 | UUID.TryParse((string)kvp["regionMapTexture"], out TerrainImage); | 426 | UUID.TryParse((string)kvp["regionMapTexture"], out TerrainImage); |
423 | 427 | ||
428 | if (kvp.ContainsKey("parcelMapTexture")) | ||
429 | UUID.TryParse((string)kvp["parcelMapTexture"], out ParcelImage); | ||
430 | |||
424 | if (kvp.ContainsKey("access")) | 431 | if (kvp.ContainsKey("access")) |
425 | Access = Byte.Parse((string)kvp["access"]); | 432 | Access = Byte.Parse((string)kvp["access"]); |
426 | 433 | ||