corrade-vassal – Blame information for rev 1

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 vero 1 using System;
2 using System.Collections.Generic;
3 using System.Text;
4 using OpenMetaverse;
5 using OpenMetaverse.Packets;
6  
7 namespace OpenMetaverse.TestClient
8 {
9 public class LogoutCommand : Command
10 {
11 public LogoutCommand(TestClient testClient)
12 {
13 Name = "logout";
14 Description = "Log this avatar out";
15 Category = CommandCategory.TestClient;
16 }
17  
18 public override string Execute(string[] args, UUID fromAgentID)
19 {
20 string name = Client.ToString();
21 Client.ClientManager.Logout(Client);
22 return "Logged " + name + " out";
23 }
24 }
25 }