Files
libremetaverse/Programs/examples/TestClient/Commands/System/LoginCommand.cs

25 lines
727 B
C#
Raw Normal View History

using System;
using System.Collections.Generic;
using System.Reflection;
using OpenMetaverse;
using OpenMetaverse.Packets;
namespace OpenMetaverse.TestClient
{
public class LoginCommand : Command
{
public LoginCommand(TestClient testClient)
{
Name = "login";
Description = "Logs in another avatar. Usage: login firstname lastname [simname] [loginuri]";
Category = CommandCategory.TestClient;
}
public override string Execute(string[] args, UUID fromAgentID)
{
// This is a dummy command. Calls to it should be intercepted and handled specially
return "This command should not be executed directly";
}
}
}