diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Communications/OGS1/OGS1GridServices.cs | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs b/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs index aadf85a..69d0d57 100644 --- a/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs +++ b/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs | |||
@@ -382,13 +382,13 @@ namespace OpenSim.Region.Communications.OGS1 | |||
382 | /// <param name="agentID"></param> | 382 | /// <param name="agentID"></param> |
383 | /// <param name="position"></param> | 383 | /// <param name="position"></param> |
384 | /// <returns></returns> | 384 | /// <returns></returns> |
385 | public bool ExpectAvatarCrossing(ulong regionHandle, LLUUID agentID, LLVector3 position) | 385 | public bool ExpectAvatarCrossing(ulong regionHandle, LLUUID agentID, LLVector3 position, bool isFlying) |
386 | { | 386 | { |
387 | try | 387 | try |
388 | { | 388 | { |
389 | if (this.listeners.ContainsKey(regionHandle)) | 389 | if (this.listeners.ContainsKey(regionHandle)) |
390 | { | 390 | { |
391 | this.listeners[regionHandle].TriggerExpectAvatarCrossing(regionHandle, agentID, position); | 391 | this.listeners[regionHandle].TriggerExpectAvatarCrossing(regionHandle, agentID, position, isFlying); |
392 | return true; | 392 | return true; |
393 | } | 393 | } |
394 | RegionInfo regInfo = this.RequestNeighbourInfo(regionHandle); | 394 | RegionInfo regInfo = this.RequestNeighbourInfo(regionHandle); |
@@ -400,7 +400,7 @@ namespace OpenSim.Region.Communications.OGS1 | |||
400 | "tcp://" + regInfo.RemotingAddress + ":" + regInfo.RemotingPort + "/InterRegions"); | 400 | "tcp://" + regInfo.RemotingAddress + ":" + regInfo.RemotingPort + "/InterRegions"); |
401 | if (remObject != null) | 401 | if (remObject != null) |
402 | { | 402 | { |
403 | retValue = remObject.ExpectAvatarCrossing(regionHandle, agentID, position); | 403 | retValue = remObject.ExpectAvatarCrossing(regionHandle, agentID, position, isFlying); |
404 | } | 404 | } |
405 | else | 405 | else |
406 | { | 406 | { |
@@ -420,6 +420,15 @@ namespace OpenSim.Region.Communications.OGS1 | |||
420 | return false; | 420 | return false; |
421 | } | 421 | } |
422 | } | 422 | } |
423 | |||
424 | public bool AcknowledgeAgentCrossed(ulong regionHandle, LLUUID agentID) | ||
425 | { | ||
426 | if (this.listeners.ContainsKey(regionHandle)) | ||
427 | { | ||
428 | return true; | ||
429 | } | ||
430 | return false; | ||
431 | } | ||
423 | #endregion | 432 | #endregion |
424 | 433 | ||
425 | #region Methods triggered by calls from external instances | 434 | #region Methods triggered by calls from external instances |
@@ -453,13 +462,13 @@ namespace OpenSim.Region.Communications.OGS1 | |||
453 | /// <param name="agentID"></param> | 462 | /// <param name="agentID"></param> |
454 | /// <param name="position"></param> | 463 | /// <param name="position"></param> |
455 | /// <returns></returns> | 464 | /// <returns></returns> |
456 | public bool IncomingArrival(ulong regionHandle, LLUUID agentID, LLVector3 position) | 465 | public bool IncomingArrival(ulong regionHandle, LLUUID agentID, LLVector3 position, bool isFlying) |
457 | { | 466 | { |
458 | try | 467 | try |
459 | { | 468 | { |
460 | if (this.listeners.ContainsKey(regionHandle)) | 469 | if (this.listeners.ContainsKey(regionHandle)) |
461 | { | 470 | { |
462 | this.listeners[regionHandle].TriggerExpectAvatarCrossing(regionHandle, agentID, position); | 471 | this.listeners[regionHandle].TriggerExpectAvatarCrossing(regionHandle, agentID, position, isFlying); |
463 | return true; | 472 | return true; |
464 | } | 473 | } |
465 | } | 474 | } |