Files
plexview/Programs/examples/TestClient/Commands/Movement/LocationCommand.cs
T
Blake Bourque 0bb2dff347 Initial commit
I wish I could figure out how to have PlexVie be out of the LibOMV tree but its just not working die to a DLL not found exception about libopenjpeg. (Yes the dll is in the bin folder)
This will do for now
2015-06-18 22:15:24 -04:00

25 lines
618 B
C#

using System;
using System.Collections.Generic;
using System.Text;
using OpenMetaverse;
using OpenMetaverse.Packets;
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.ToString() + "' Position: " +
Client.Self.SimPosition.ToString();
}
}
}