Files
libremetaverse/libsecondlife-cs/examples/TestClient/Commands/AppearanceCommand.cs
John Hurliman e7843229e9 * Refactored PrimObject and Avatar in to Primitive and Avatar that inherit from LLObject, major restructure
* Latest version of Utilities.Appearance
* Rolled ImageManager in to AssetManager in Utilities.Assets, plus bugfixes
* Added sanity checks to the AgentThrottle stream values
* Added a function to convert a ulong to an LLUUID (for a weird situation with the Xfer system)

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@915 52acb1d6-8a22-11de-b505-999d5b087335
2007-01-29 22:20:12 +00:00

30 lines
896 B
C#

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