* 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
25 lines
632 B
C#
25 lines
632 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
using OpenMetaverse;
|
|
using OpenMetaverse.Packets;
|
|
|
|
namespace OpenMetaverse.TestClient
|
|
{
|
|
public class QuitCommand: Command
|
|
{
|
|
public QuitCommand(TestClient testClient)
|
|
{
|
|
Name = "quit";
|
|
Description = "Log all avatars out and shut down";
|
|
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";
|
|
}
|
|
}
|
|
}
|