2007-01-27 10:16:21 +00:00
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Text;
|
2008-07-21 21:12:59 +00:00
|
|
|
using OpenMetaverse;
|
|
|
|
|
using OpenMetaverse.Packets;
|
2007-01-27 10:16:21 +00:00
|
|
|
|
2008-07-21 21:12:59 +00:00
|
|
|
namespace OpenMetaverse.TestClient
|
2007-01-27 10:16:21 +00:00
|
|
|
{
|
|
|
|
|
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)
|
|
|
|
|
{
|
2007-08-20 09:26:21 +00:00
|
|
|
return "Dilation is " + Client.Network.CurrentSim.Stats.Dilation.ToString();
|
2007-01-27 10:16:21 +00:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|