mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 17:55:48 +08:00
Brought in TestClient code for teh fork
This commit is contained in:
22
ExportBot/Commands/DilationCommand.cs
Normal file
22
ExportBot/Commands/DilationCommand.cs
Normal file
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user