mirror of
https://github.com/TechplexEngineer/plexview.git
synced 2026-07-28 06:22:14 +00:00
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
25 lines
556 B
C#
25 lines
556 B
C#
using System;
|
|
using OpenMetaverse;
|
|
|
|
namespace OpenMetaverse.TestClient
|
|
{
|
|
public class GoHomeCommand : Command
|
|
{
|
|
public GoHomeCommand(TestClient testClient)
|
|
{
|
|
Name = "gohome";
|
|
Description = "Teleports home";
|
|
Category = CommandCategory.Movement;
|
|
}
|
|
|
|
public override string Execute(string[] args, UUID fromAgentID)
|
|
{
|
|
if ( Client.Self.GoHome() ) {
|
|
return "Teleport Home Succesful";
|
|
} else {
|
|
return "Teleport Home Failed";
|
|
}
|
|
}
|
|
}
|
|
}
|