/// <param name="order">the sort order to return items in</param>
/// <seealso cref="InventoryManager.FolderContents"/>
public void RequestFolderContents(UUID folder, UUID owner, boolean folders, boolean items,
InventorySortOrder order)
{
FetchInventoryDescendentsPacket fetch = new FetchInventoryDescendentsPacket();
fetch.AgentData.AgentID = Client.self.getAgentID();
fetch.AgentData.SessionID = Client.self.getSessionID();
fetch.InventoryData.FetchFolders = folders;
fetch.InventoryData.FetchItems = items;