diff options
Diffstat (limited to 'OpenSim/Tests/Common/Mock/TestClient.cs')
-rw-r--r-- | OpenSim/Tests/Common/Mock/TestClient.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Tests/Common/Mock/TestClient.cs b/OpenSim/Tests/Common/Mock/TestClient.cs index 182f4d9..a448cc5 100644 --- a/OpenSim/Tests/Common/Mock/TestClient.cs +++ b/OpenSim/Tests/Common/Mock/TestClient.cs | |||
@@ -60,6 +60,8 @@ namespace OpenSim.Tests.Common.Mock | |||
60 | public List<ImagePacketPacket> SentImagePacketPackets { get; private set; } | 60 | public List<ImagePacketPacket> SentImagePacketPackets { get; private set; } |
61 | public List<ImageNotInDatabasePacket> SentImageNotInDatabasePackets { get; private set; } | 61 | public List<ImageNotInDatabasePacket> SentImageNotInDatabasePackets { get; private set; } |
62 | 62 | ||
63 | public event Action<RegionInfo, Vector3, Vector3> OnReceivedMoveAgentIntoRegion; | ||
64 | |||
63 | // disable warning: public events, part of the public API | 65 | // disable warning: public events, part of the public API |
64 | #pragma warning disable 67 | 66 | #pragma warning disable 67 |
65 | 67 | ||
@@ -566,6 +568,8 @@ namespace OpenSim.Tests.Common.Mock | |||
566 | 568 | ||
567 | public virtual void MoveAgentIntoRegion(RegionInfo regInfo, Vector3 pos, Vector3 look) | 569 | public virtual void MoveAgentIntoRegion(RegionInfo regInfo, Vector3 pos, Vector3 look) |
568 | { | 570 | { |
571 | if (OnReceivedMoveAgentIntoRegion != null) | ||
572 | OnReceivedMoveAgentIntoRegion(regInfo, pos, look); | ||
569 | } | 573 | } |
570 | 574 | ||
571 | public virtual AgentCircuitData RequestClientInfo() | 575 | public virtual AgentCircuitData RequestClientInfo() |