aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/mass test client/Commands/Movement/LocationCommand.cs
blob: 1758a482363c98d0f587bc36617b7f10451cc9e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
using System;
using System.Collections.Generic;
using System.Text;
using libsecondlife;
using libsecondlife.Packets;

namespace libsecondlife.TestClient
{
    public class LocationCommand: Command
    {
        public LocationCommand(TestClient testClient)
		{
			Name = "location";
			Description = "Show the location.";
		}

		public override string Execute(string[] args, LLUUID fromAgentID)
		{
            return "CurrentSim: '" + Client.Network.CurrentSim.ToString() + "' Position: " + 
                Client.Self.Position.ToString();
		}
    }
}