diff options
author | Justin Clarke Casey | 2009-01-15 21:27:55 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2009-01-15 21:27:55 +0000 |
commit | 093adb2113d748f28554393cc8a6fe53502126dc (patch) | |
tree | 5565cca869b7a83845efc129f21e5f1219c16adf /OpenSim/Tests/Common/Mock/TestClient.cs | |
parent | Small bit of refactoring related to the hypergrid link loading from xml files. (diff) | |
download | opensim-SC-093adb2113d748f28554393cc8a6fe53502126dc.zip opensim-SC-093adb2113d748f28554393cc8a6fe53502126dc.tar.gz opensim-SC-093adb2113d748f28554393cc8a6fe53502126dc.tar.bz2 opensim-SC-093adb2113d748f28554393cc8a6fe53502126dc.tar.xz |
* Add new unit test for simple teleport in a standalone.
* Does not yet check results.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Tests/Common/Mock/TestClient.cs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/OpenSim/Tests/Common/Mock/TestClient.cs b/OpenSim/Tests/Common/Mock/TestClient.cs index 428f599..5b3b27b 100644 --- a/OpenSim/Tests/Common/Mock/TestClient.cs +++ b/OpenSim/Tests/Common/Mock/TestClient.cs | |||
@@ -365,6 +365,17 @@ namespace OpenSim.Tests.Common.Mock | |||
365 | m_firstName = agentData.firstname; | 365 | m_firstName = agentData.firstname; |
366 | m_lastName = agentData.lastname; | 366 | m_lastName = agentData.lastname; |
367 | } | 367 | } |
368 | |||
369 | /// <summary> | ||
370 | /// Attempt a teleport to the given region. | ||
371 | /// </summary> | ||
372 | /// <param name="regionHandle"></param> | ||
373 | /// <param name="position"></param> | ||
374 | /// <param name="lookAt"></param> | ||
375 | public void Teleport(ulong regionHandle, Vector3 position, Vector3 lookAt) | ||
376 | { | ||
377 | OnTeleportLocationRequest(this, regionHandle, position, lookAt, 16); | ||
378 | } | ||
368 | 379 | ||
369 | public virtual void ActivateGesture(UUID assetId, UUID gestureId) | 380 | public virtual void ActivateGesture(UUID assetId, UUID gestureId) |
370 | { | 381 | { |