Files
libremetaverse/libsecondlife-cs/examples/TestClient/Commands/SetAppearanceCommand.cs
otakup0pe aa6cd597f6 Applied patches #1713 and #1689.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@722 52acb1d6-8a22-11de-b505-999d5b087335
2006-12-14 02:35:59 +00:00

53 lines
718 B
C#

using System;
using System.Collections.Generic;
using System.Text;
using libsecondlife;
using libsecondlife.Packets;
using libsecondlife.AssetSystem;
namespace libsecondlife.TestClient
{
public class SetAppearanceCommand: Command
{
AppearanceManager aManager;
public SetAppearanceCommand()
{
Name = "setapp";
Description = "Set appearance to what's stored in the DB.";
}
public override string Execute(SecondLife Client, string[] args, LLUUID fromAgentID)
{
if(aManager == null)
aManager = new AppearanceManager(Client);
aManager.SendAgentSetAppearance();
return "Done.";
}
}
}