Files
libremetaverse/Programs/examples/TestClient/Commands/System/LoginCommand.cs
John Hurliman 16c07999af TestClient:
* Commands from the console and scripts are executed on a separate thread for each bot now
* Added support for starting without any logins
* Changed handling of login and quit commands (these are really hacks)
* Added support for passing a loginuri to the login command

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2280 52acb1d6-8a22-11de-b505-999d5b087335
2008-10-08 20:21:32 +00:00

25 lines
727 B
C#

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";
}
}
}