mirror of
https://github.com/TechplexEngineer/plexview.git
synced 2026-07-31 04:07:24 +00:00
I wish I could figure out how to have PlexVie be out of the LibOMV tree but its just not working die to a DLL not found exception about libopenjpeg. (Yes the dll is in the bin folder) This will do for now
23 lines
608 B
C#
23 lines
608 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
using OpenMetaverse;
|
|
using OpenMetaverse.Packets;
|
|
|
|
namespace OpenMetaverse.TestClient
|
|
{
|
|
public class DilationCommand : Command
|
|
{
|
|
public DilationCommand(TestClient testClient)
|
|
{
|
|
Name = "dilation";
|
|
Description = "Shows time dilation for current sim.";
|
|
Category = CommandCategory.Simulator;
|
|
}
|
|
|
|
public override string Execute(string[] args, UUID fromAgentID)
|
|
{
|
|
return "Dilation is " + Client.Network.CurrentSim.Stats.Dilation.ToString();
|
|
}
|
|
}
|
|
} |