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/Commands/DilationCommand.cs | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 ExportBot/Commands/DilationCommand.cs (limited to 'ExportBot/Commands/DilationCommand.cs') diff --git a/ExportBot/Commands/DilationCommand.cs b/ExportBot/Commands/DilationCommand.cs new file mode 100644 index 0000000..c1d3c04 --- /dev/null +++ b/ExportBot/Commands/DilationCommand.cs @@ -0,0 +1,22 @@ +using System; +using System.Collections.Generic; +using System.Text; +using libsecondlife; +using libsecondlife.Packets; + +namespace libsecondlife.TestClient +{ + public class DilationCommand : Command + { + public DilationCommand(TestClient testClient) + { + Name = "dilation"; + Description = "Shows time dilation for current sim."; + } + + public override string Execute(string[] args, LLUUID fromAgentID) + { + return "Dilation is " + Client.Network.CurrentSim.Dilation.ToString(); + } + } +} \ No newline at end of file -- cgit v1.1