Files
libremetaverse/libsecondlife/examples/TestClient/Commands/Inventory/WearCommand.cs
John Hurliman 1cb7f4c253 Huge svn cleanup!
* libsecondlife-cs is now libsecondlife
* All applications that are staying have been moved to trunk/
* SLProxy loads Analyst plugin by default if no other plugin is specified on the command line

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1068 52acb1d6-8a22-11de-b505-999d5b087335
2007-03-26 23:12:39 +00:00

43 lines
1.2 KiB
C#

using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Threading;
using System.Xml;
using System.Xml.Serialization;
using libsecondlife;
using libsecondlife.Packets;
using libsecondlife.InventorySystem;
namespace libsecondlife.TestClient
{
public class WearCommand : Command
{
public WearCommand(TestClient testClient)
{
Name = "wear";
Description = "Wear an outfit folder from inventory.";
}
public override string Execute(string[] args, LLUUID fromAgentID)
{
return "Broken until someone fixes me";
//string target = String.Empty;
//for (int ct = 0; ct < args.Length; ct++)
// target = target + args[ct] + " ";
//target = target.TrimEnd();
//Client.Inventory.DownloadInventory();
//InventoryFolder folder = Client.Inventory.getFolder(target);
//if (folder != null)
//{
// Client.Appearance.WearOutfit(folder);
// return "Outfit " + target + " worn.";
//}
//return "Unable to find: " + target;
}
}
}