aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ExportBot/Command.cs
blob: 5f92f328151ee7a67120b18935b281b5e85e109c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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);

		/// <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()
		{
		}
    }
}