using System; using System.Collections.Generic; using OpenMetaverse; using OpenMetaverse.Packets; namespace OpenMetaverse.TestClient { public class EmptyTrashCommand : Command { /// /// TestClient command to download and display a notecard asset /// /// public EmptyTrashCommand(TestClient testClient) { Name = "emptytrash"; Description = "Empty inventory Trash folder"; Category = CommandCategory.Inventory; } /// /// Exectute the command /// /// /// /// public override string Execute(string[] args, UUID fromAgentID) { Client.Inventory.EmptyTrash(); return "Trash Emptied"; } } }