aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/mass test client/Command.cs
blob: 051519dba0a7c65a8eadc998ec827f9526ce831f (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()
		{
		}
    }
}