Files
libremetaverse/libsecondlife-cs/examples/TestClient/Command.cs
lonecoder a8acb61702 Renamed TestTool to TestClient
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@625 52acb1d6-8a22-11de-b505-999d5b087335
2006-11-24 22:27:15 +00:00

36 lines
706 B
C#

using System;
using System.Collections.Generic;
using System.Text;
using libsecondlife;
using libsecondlife.Packets;
namespace libsecondlife.TestClient
{
public abstract class Command
{
public string Name;
public string Description;
public TestClient TestClient;
public SecondLife Client
{
get { return TestClient.Client; }
}
public abstract string Execute(string[] args, LLUUID fromAgentID);
/// <summary>
/// When set to true, think will be called.
/// </summary>
public bool Active;
/// <summary>
/// Called twice per second, when Command.Active is set to true.
/// </summary>
public virtual void Think()
{
}
}
}