From e93869c7a785a4f375685ffa33c913033ed1c85a Mon Sep 17 00:00:00 2001 From: Adam Frisby Date: Thu, 21 Jun 2007 17:08:21 +0000 Subject: * Importing Ming's mass test client --- tools/mass test client/Command.cs | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 tools/mass test client/Command.cs (limited to 'tools/mass test client/Command.cs') diff --git a/tools/mass test client/Command.cs b/tools/mass test client/Command.cs new file mode 100644 index 0000000..051519d --- /dev/null +++ b/tools/mass test client/Command.cs @@ -0,0 +1,29 @@ +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 Client; + + public abstract string Execute(string[] args, LLUUID fromAgentID); + + /// + /// When set to true, think will be called. + /// + public bool Active; + + /// + /// Called twice per second, when Command.Active is set to true. + /// + public virtual void Think() + { + } + } +} -- cgit v1.1