diff options
author | Charles Krinke | 2008-11-27 05:16:47 +0000 |
---|---|---|
committer | Charles Krinke | 2008-11-27 05:16:47 +0000 |
commit | 921692a15f7b793da55cd4ddc4d85eae4393964e (patch) | |
tree | ebe7565de552bedbd856cd6615bd8107363eea79 /OpenSim/Region/Environment/Scenes/Tests/TestClient.cs | |
parent | Unconditionally set the slam bit oon all object to agent inventory transfers. (diff) | |
download | opensim-SC_OLD-921692a15f7b793da55cd4ddc4d85eae4393964e.zip opensim-SC_OLD-921692a15f7b793da55cd4ddc4d85eae4393964e.tar.gz opensim-SC_OLD-921692a15f7b793da55cd4ddc4d85eae4393964e.tar.bz2 opensim-SC_OLD-921692a15f7b793da55cd4ddc4d85eae4393964e.tar.xz |
Thank you kindly, Nlin for a patch that:
Adds a new method to IClientAPI to allow adding message handlers
for GenericMessages (of which "autopilot" is one). Part 2 adds a
specific autopilot handler in ScenePresence.cs.
2) Removing unused variables and functions.
3) Simplifying the navigation logic in ScenePresence.cs. The
original patch was somewhat complex because it included orientation
logic for a future enhancement of orienting the avatar to point
towards the direction being walked. Currently this isn't working,
though, so I removed the orientation code, which leaves just the
smaller and hopefully simpler-to-understand movement code.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Tests/TestClient.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Tests/TestClient.cs b/OpenSim/Region/Environment/Scenes/Tests/TestClient.cs index 392a53b..606b1fb 100644 --- a/OpenSim/Region/Environment/Scenes/Tests/TestClient.cs +++ b/OpenSim/Region/Environment/Scenes/Tests/TestClient.cs | |||
@@ -939,5 +939,11 @@ namespace OpenSim.Region.Environment.Scenes.Tests | |||
939 | public void SendTerminateFriend(UUID exFriendID) | 939 | public void SendTerminateFriend(UUID exFriendID) |
940 | { | 940 | { |
941 | } | 941 | } |
942 | |||
943 | public bool AddGenericPacketHandler(string MethodName, GenericMessage handler) | ||
944 | { | ||
945 | throw new NotImplementedException(); | ||
946 | } | ||
947 | |||
942 | } | 948 | } |
943 | } | 949 | } |