aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ExportBot/Commands/DilationCommand.cs
blob: c1d3c0432b2a9526d8d8fa731ea7186a54a7f21c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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();
        }
    }
}