* added Image class, modified OpenJPEG to use it * implemented AssetTexture (with Image class) * reimplemented Wear* commands, refactored appearance code * added bake flag parameter to appearance commands * added InventoryItem subclasses for different item types * added *FindObjectsByPath to InventoryManager * added single item FetchInventory git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1373 52acb1d6-8a22-11de-b505-999d5b087335
24 lines
628 B
C#
24 lines
628 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
using libsecondlife;
|
|
using libsecondlife.Packets;
|
|
|
|
namespace libsecondlife.TestClient
|
|
{
|
|
public class AppearanceCommand : Command
|
|
{
|
|
public AppearanceCommand(TestClient testClient)
|
|
{
|
|
Name = "appearance";
|
|
Description = "Set your current appearance to your last saved appearance";
|
|
}
|
|
|
|
public override string Execute(string[] args, LLUUID fromAgentID)
|
|
{
|
|
Client.Appearance.SetPreviousAppearance(!(args.Length > 0 && args[0].Equals("nobake")));
|
|
return "Done.";
|
|
}
|
|
}
|
|
}
|