diff options
author | Dan Lake | 2012-02-01 16:25:35 -0800 |
---|---|---|
committer | Dan Lake | 2012-02-01 16:25:35 -0800 |
commit | c10193c72b1f029a958f04d2f5d7ee384e693aaa (patch) | |
tree | 052ec7e973c15b158310511197affad14eb9c64f /OpenSim/Services/Interfaces | |
parent | Trigger event when prims are scheduled for an update. This gives modules earl... (diff) | |
parent | Small optimization to last commit (diff) | |
download | opensim-SC-c10193c72b1f029a958f04d2f5d7ee384e693aaa.zip opensim-SC-c10193c72b1f029a958f04d2f5d7ee384e693aaa.tar.gz opensim-SC-c10193c72b1f029a958f04d2f5d7ee384e693aaa.tar.bz2 opensim-SC-c10193c72b1f029a958f04d2f5d7ee384e693aaa.tar.xz |
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
Diffstat (limited to 'OpenSim/Services/Interfaces')
-rw-r--r-- | OpenSim/Services/Interfaces/IGridService.cs | 9 | ||||
-rw-r--r-- | OpenSim/Services/Interfaces/IGridUserService.cs | 3 |
2 files changed, 10 insertions, 2 deletions
diff --git a/OpenSim/Services/Interfaces/IGridService.cs b/OpenSim/Services/Interfaces/IGridService.cs index 7137f9a..d809996 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 |
@@ -359,6 +362,7 @@ namespace OpenSim.Services.Interfaces | |||
359 | kvp["serverURI"] = ServerURI; | 362 | kvp["serverURI"] = ServerURI; |
360 | kvp["serverPort"] = InternalEndPoint.Port.ToString(); | 363 | kvp["serverPort"] = InternalEndPoint.Port.ToString(); |
361 | kvp["regionMapTexture"] = TerrainImage.ToString(); | 364 | kvp["regionMapTexture"] = TerrainImage.ToString(); |
365 | kvp["parcelMapTexture"] = ParcelImage.ToString(); | ||
362 | kvp["access"] = Access.ToString(); | 366 | kvp["access"] = Access.ToString(); |
363 | kvp["regionSecret"] = RegionSecret; | 367 | kvp["regionSecret"] = RegionSecret; |
364 | kvp["owner_uuid"] = EstateOwner.ToString(); | 368 | kvp["owner_uuid"] = EstateOwner.ToString(); |
@@ -411,6 +415,9 @@ namespace OpenSim.Services.Interfaces | |||
411 | if (kvp.ContainsKey("regionMapTexture")) | 415 | if (kvp.ContainsKey("regionMapTexture")) |
412 | UUID.TryParse((string)kvp["regionMapTexture"], out TerrainImage); | 416 | UUID.TryParse((string)kvp["regionMapTexture"], out TerrainImage); |
413 | 417 | ||
418 | if (kvp.ContainsKey("parcelMapTexture")) | ||
419 | UUID.TryParse((string)kvp["parcelMapTexture"], out ParcelImage); | ||
420 | |||
414 | if (kvp.ContainsKey("access")) | 421 | if (kvp.ContainsKey("access")) |
415 | Access = Byte.Parse((string)kvp["access"]); | 422 | Access = Byte.Parse((string)kvp["access"]); |
416 | 423 | ||
diff --git a/OpenSim/Services/Interfaces/IGridUserService.cs b/OpenSim/Services/Interfaces/IGridUserService.cs index 6613ae7..0a52bfa 100644 --- a/OpenSim/Services/Interfaces/IGridUserService.cs +++ b/OpenSim/Services/Interfaces/IGridUserService.cs | |||
@@ -131,5 +131,6 @@ namespace OpenSim.Services.Interfaces | |||
131 | bool SetLastPosition(string userID, UUID sessionID, UUID regionID, Vector3 lastPosition, Vector3 lastLookAt); | 131 | bool SetLastPosition(string userID, UUID sessionID, UUID regionID, Vector3 lastPosition, Vector3 lastLookAt); |
132 | 132 | ||
133 | GridUserInfo GetGridUserInfo(string userID); | 133 | GridUserInfo GetGridUserInfo(string userID); |
134 | GridUserInfo[] GetGridUserInfo(string[] userID); | ||
134 | } | 135 | } |
135 | } \ No newline at end of file | 136 | } |