Files
libremetaverse/libsecondlife/examples/TestClient/Commands/Inventory/AppearanceCommand.cs
John Hurliman adfc241218 * Backporting all of the non-networking and non-inventory changes from the jhurliman branch
* The new asset and appearance managers sit alongside the old ones, so no code should break just yet although you might have to be more explicit with your namespaces
* Adding importprimscript to work in conjunction with qarl's Maya sculptie exporter
* Removing the IA_* examples, these should be remade in to TestClient commands

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1275 52acb1d6-8a22-11de-b505-999d5b087335
2007-07-08 04:35:04 +00:00

30 lines
763 B
C#

using System;
using System.Collections.Generic;
using System.Text;
using libsecondlife;
using libsecondlife.Packets;
namespace libsecondlife.TestClient
{
public class AppearanceCommand : Command
{
AssetManager Assets;
AppearanceManager Appearance;
public AppearanceCommand(TestClient testClient)
{
Name = "appearance";
Description = "Set your current appearance to your last saved appearance";
Assets = new AssetManager(testClient);
Appearance = new AppearanceManager(testClient, Assets);
}
public override string Execute(string[] args, LLUUID fromAgentID)
{
Appearance.SetPreviousAppearance();
return "Done.";
}
}
}