/// Remove descendants of a folder
/// </summary>
/// <param name="folder">The <seealso cref="UUID"/> of the folder</param>
public void RemoveDescendants(UUID folder) throws InventoryException
{
PurgeInventoryDescendentsPacket purge = new PurgeInventoryDescendentsPacket();
purge.AgentData.AgentID = Client.self.getAgentID();
purge.AgentData.SessionID = Client.self.getSessionID();
purge.InventoryData.FolderID = folder;
Client.network.SendPacket(purge);