* Added per-sim avatar and prim tracking through Simulator.Objects, use Settings.ALWAYS_DECODE_OBJECTS = true to enable * Handle DisconnectSim packet and don't send CloseCircuit packets on sim-triggered disconnects * Interpolation timer now does angular velocity and linear movement interpolation for all objects in the object tracker(s) git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1363 52acb1d6-8a22-11de-b505-999d5b087335
22 lines
560 B
C#
22 lines
560 B
C#
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.Stats.Dilation.ToString();
|
|
}
|
|
}
|
|
} |