diff options
author | Justin Clark-Casey (justincc) | 2011-08-09 23:11:07 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-08-09 23:11:07 +0100 |
commit | 92e96d394a1712ed16b0a7835dd2ccfde01f3fee (patch) | |
tree | 434727add1ec2fb9806297027bba5a3dbcede4c3 /OpenSim/Tests/Common/Mock/TestClient.cs | |
parent | Add osOwnerSaveAppearance() to help with setting up NPC appearances. Not yet... (diff) | |
download | opensim-SC_OLD-92e96d394a1712ed16b0a7835dd2ccfde01f3fee.zip opensim-SC_OLD-92e96d394a1712ed16b0a7835dd2ccfde01f3fee.tar.gz opensim-SC_OLD-92e96d394a1712ed16b0a7835dd2ccfde01f3fee.tar.bz2 opensim-SC_OLD-92e96d394a1712ed16b0a7835dd2ccfde01f3fee.tar.xz |
When an NPC is created, stop telling neighbouring regions to expect a child agent
Diffstat (limited to 'OpenSim/Tests/Common/Mock/TestClient.cs')
-rw-r--r-- | OpenSim/Tests/Common/Mock/TestClient.cs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/OpenSim/Tests/Common/Mock/TestClient.cs b/OpenSim/Tests/Common/Mock/TestClient.cs index 88043f3..7ec6e10 100644 --- a/OpenSim/Tests/Common/Mock/TestClient.cs +++ b/OpenSim/Tests/Common/Mock/TestClient.cs | |||
@@ -95,7 +95,7 @@ namespace OpenSim.Tests.Common.Mock | |||
95 | public event DeRezObject OnDeRezObject; | 95 | public event DeRezObject OnDeRezObject; |
96 | public event Action<IClientAPI> OnRegionHandShakeReply; | 96 | public event Action<IClientAPI> OnRegionHandShakeReply; |
97 | public event GenericCall1 OnRequestWearables; | 97 | public event GenericCall1 OnRequestWearables; |
98 | public event GenericCall1 OnCompleteMovementToRegion; | 98 | public event Action<IClientAPI, bool> OnCompleteMovementToRegion; |
99 | public event UpdateAgent OnPreAgentUpdate; | 99 | public event UpdateAgent OnPreAgentUpdate; |
100 | public event UpdateAgent OnAgentUpdate; | 100 | public event UpdateAgent OnAgentUpdate; |
101 | public event AgentRequestSit OnAgentRequestSit; | 101 | public event AgentRequestSit OnAgentRequestSit; |
@@ -455,7 +455,7 @@ namespace OpenSim.Tests.Common.Mock | |||
455 | 455 | ||
456 | public void CompleteMovement() | 456 | public void CompleteMovement() |
457 | { | 457 | { |
458 | OnCompleteMovementToRegion(this); | 458 | OnCompleteMovementToRegion(this, true); |
459 | } | 459 | } |
460 | 460 | ||
461 | public virtual void ActivateGesture(UUID assetId, UUID gestureId) | 461 | public virtual void ActivateGesture(UUID assetId, UUID gestureId) |
@@ -759,9 +759,10 @@ namespace OpenSim.Tests.Common.Mock | |||
759 | 759 | ||
760 | if (OnCompleteMovementToRegion != null) | 760 | if (OnCompleteMovementToRegion != null) |
761 | { | 761 | { |
762 | OnCompleteMovementToRegion(this); | 762 | OnCompleteMovementToRegion(this, true); |
763 | } | 763 | } |
764 | } | 764 | } |
765 | |||
765 | public void SendAssetUploadCompleteMessage(sbyte AssetType, bool Success, UUID AssetFullID) | 766 | public void SendAssetUploadCompleteMessage(sbyte AssetType, bool Success, UUID AssetFullID) |
766 | { | 767 | { |
767 | } | 768 | } |