Files
libremetaverse/Programs/examples/TestClient/Commands/System/PacketLogCommand.cs

23 lines
603 B
C#
Raw Normal View History

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";
}
public override string Execute(string[] args, LLUUID fromAgentID)
{
if (args.Length != 2)
return "Usage: packetlog 10 tenpackets.xml";
return "This function is currently unimplemented";
}
}
}