From 64a98c736848de6099254f23483058668273c1a5 Mon Sep 17 00:00:00 2001 From: gareth Date: Mon, 14 May 2007 03:13:47 +0000 Subject: Finished off adding the new management API to gridserver Updated VersionInfo.cs finally Updated prebuild and rebuilt nant build files Completed Management agent basics --- ExportBot/Commands/Movement/MoveToCommand.cs | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 ExportBot/Commands/Movement/MoveToCommand.cs (limited to 'ExportBot/Commands/Movement/MoveToCommand.cs') diff --git a/ExportBot/Commands/Movement/MoveToCommand.cs b/ExportBot/Commands/Movement/MoveToCommand.cs deleted file mode 100644 index 6d0a225..0000000 --- a/ExportBot/Commands/Movement/MoveToCommand.cs +++ /dev/null @@ -1,24 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Text; - -namespace libsecondlife.TestClient.Commands.Movement { - class MovetoCommand : Command { - public MovetoCommand(TestClient client) { - Name = "moveto"; - Description = "Moves the avatar to the specified global position using simulator autopilot."; - } - public override string Execute(string[] args, LLUUID fromAgentID) { - if (args.Length != 3) - return "usage: moveto x y z"; - float x = Client.Self.Position.X + Client.regionX; - float y = Client.Self.Position.Y + Client.regionY; - float z = Client.Self.Position.Z; - float.TryParse(args[0], out x); - float.TryParse(args[1], out y); - float.TryParse(args[2], out z); - Client.Self.AutoPilot((ulong)x, (ulong)y, z); - return "Attempting to move to <" + x + ", " + y + ", " + z + ">"; - } - } -} -- cgit v1.1