2008-07-21 21:12:59 +00:00
|
|
|
namespace OpenMetaverse.TestClient
|
2007-01-30 20:07:18 +00:00
|
|
|
{
|
2008-05-01 20:58:20 +00:00
|
|
|
/// <summary>
|
|
|
|
|
/// Set avatars current appearance to appearance last stored on simulator
|
|
|
|
|
/// </summary>
|
2007-01-30 20:07:18 +00:00
|
|
|
public class AppearanceCommand : Command
|
|
|
|
|
{
|
|
|
|
|
public AppearanceCommand(TestClient testClient)
|
|
|
|
|
{
|
|
|
|
|
Name = "appearance";
|
2009-07-31 17:43:01 +00:00
|
|
|
Description = "Set your current appearance to your last saved appearance. Usage: appearance [rebake]";
|
2008-07-25 08:55:36 +00:00
|
|
|
Category = CommandCategory.Appearance;
|
2007-01-30 20:07:18 +00:00
|
|
|
}
|
|
|
|
|
|
2008-07-25 05:15:05 +00:00
|
|
|
public override string Execute(string[] args, UUID fromAgentID)
|
2007-01-30 20:07:18 +00:00
|
|
|
{
|
2009-07-31 17:43:01 +00:00
|
|
|
Client.Appearance.RequestSetAppearance((args.Length > 0 && args[0].Equals("rebake")));
|
|
|
|
|
return "Appearance sequence started";
|
2007-01-30 20:07:18 +00:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|