TC-44 New TestClient command ownerprims to display prim counts TC-43 Overhaul TestClient help menu system git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2000 52acb1d6-8a22-11de-b505-999d5b087335
24 lines
652 B
C#
24 lines
652 B
C#
using System;
|
|
using OpenMetaverse;
|
|
|
|
namespace OpenMetaverse.TestClient
|
|
{
|
|
public class PacketLogCommand : Command
|
|
{
|
|
public PacketLogCommand(TestClient testClient)
|
|
{
|
|
Name = "packetlog";
|
|
Description = "Logs a given number of packets to an xml file. Usage: packetlog 10 tenpackets.xml";
|
|
Category = CommandCategory.TestClient;
|
|
}
|
|
|
|
public override string Execute(string[] args, UUID fromAgentID)
|
|
{
|
|
if (args.Length != 2)
|
|
return "Usage: packetlog 10 tenpackets.xml";
|
|
|
|
return "This function is currently unimplemented";
|
|
}
|
|
}
|
|
}
|