2006-11-22 00:09:31 +00:00
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using libsecondlife;
|
|
|
|
|
using libsecondlife.Packets;
|
|
|
|
|
|
2006-11-24 22:27:15 +00:00
|
|
|
namespace libsecondlife.TestClient
|
2006-11-22 00:09:31 +00:00
|
|
|
{
|
|
|
|
|
public class QuitCommand: Command
|
|
|
|
|
{
|
|
|
|
|
public QuitCommand()
|
|
|
|
|
{
|
|
|
|
|
Name = "quit";
|
|
|
|
|
Description = "Log off";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public override string Execute(string[] args, LLUUID fromAgentID)
|
|
|
|
|
{
|
|
|
|
|
Client.Network.Logout();
|
2006-11-24 22:27:15 +00:00
|
|
|
TestClient.Running = false;
|
2006-11-22 00:09:31 +00:00
|
|
|
return "Logging off.";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|