Files
libremetaverse/Programs/examples/TestClient/Commands/Movement/LocationCommand.cs
2022-02-25 19:38:11 -06:00

19 lines
478 B
C#

namespace OpenMetaverse.TestClient
{
public class LocationCommand: Command
{
public LocationCommand(TestClient testClient)
{
Name = "location";
Description = "Show current location of avatar.";
Category = CommandCategory.Movement;
}
public override string Execute(string[] args, UUID fromAgentID)
{
return "CurrentSim: '" + Client.Network.CurrentSim + "' Position: " +
Client.Self.SimPosition;
}
}
}