From 5b6afeafbc249ba88dcc20d1fbc98ce12418b21b Mon Sep 17 00:00:00 2001 From: gareth Date: Tue, 8 May 2007 00:10:04 +0000 Subject: Brought in TestClient code for teh fork --- ExportBot/Command.cs | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 ExportBot/Command.cs (limited to 'ExportBot/Command.cs') diff --git a/ExportBot/Command.cs b/ExportBot/Command.cs new file mode 100644 index 0000000..5f92f32 --- /dev/null +++ b/ExportBot/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