corrade-vassal – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | vero | 1 | using System; |
2 | using System.Collections.Generic; |
||
3 | using OpenMetaverse; |
||
4 | using OpenMetaverse.Packets; |
||
5 | |||
6 | namespace OpenMetaverse.TestClient |
||
7 | { |
||
8 | public class EmptyTrashCommand : Command |
||
9 | { |
||
10 | /// <summary> |
||
11 | /// TestClient command to download and display a notecard asset |
||
12 | /// </summary> |
||
13 | /// <param name="testClient"></param> |
||
14 | public EmptyTrashCommand(TestClient testClient) |
||
15 | { |
||
16 | Name = "emptytrash"; |
||
17 | Description = "Empty inventory Trash folder"; |
||
18 | Category = CommandCategory.Inventory; |
||
19 | } |
||
20 | |||
21 | /// <summary> |
||
22 | /// Exectute the command |
||
23 | /// </summary> |
||
24 | /// <param name="args"></param> |
||
25 | /// <param name="fromAgentID"></param> |
||
26 | /// <returns></returns> |
||
27 | public override string Execute(string[] args, UUID fromAgentID) |
||
28 | { |
||
29 | Client.Inventory.EmptyTrash(); |
||
30 | return "Trash Emptied"; |
||
31 | } |
||
32 | } |
||
33 | } |