* 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
30 lines
763 B
C#
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.";
|
|
}
|
|
}
|
|
}
|