49 lines
795 B
C#
49 lines
795 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.";
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
}
|
||
|
|
|