Files
libremetaverse/Programs/examples/TestClient/Commands/Inventory/EmptyLostAndFound.cs
2021-12-09 14:23:33 -06:00

29 lines
912 B
C#

namespace OpenMetaverse.TestClient
{
public class EmptyLostAndCommand : Command
{
/// <summary>
/// TestClient command to download and display a notecard asset
/// </summary>
/// <param name="testClient"></param>
public EmptyLostAndCommand(TestClient testClient)
{
Name = "emptylostandfound";
Description = "Empty inventory Lost And Found folder";
Category = CommandCategory.Inventory;
}
/// <summary>
/// Exectute the command
/// </summary>
/// <param name="args"></param>
/// <param name="fromAgentID"></param>
/// <returns></returns>
public override string Execute(string[] args, UUID fromAgentID)
{
Client.Inventory.EmptyLostAndFound();
return "Lost And Found Emptied";
}
}
}