OpenSimMirror/tools/mass test client/Commands/Inventory/AppearanceCommand.cs

30 lines
896 B
C#
Raw Normal View History

2007-06-21 17:08:21 +00:00
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.";
}
}
}