corrade-vassal – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | vero | 1 | using System; |
2 | using System.Collections.Generic; |
||
3 | using System.Text; |
||
4 | using OpenMetaverse; |
||
5 | using OpenMetaverse.Packets; |
||
6 | |||
7 | namespace OpenMetaverse.TestClient |
||
8 | { |
||
9 | public class DilationCommand : Command |
||
10 | { |
||
11 | public DilationCommand(TestClient testClient) |
||
12 | { |
||
13 | Name = "dilation"; |
||
14 | Description = "Shows time dilation for current sim."; |
||
15 | Category = CommandCategory.Simulator; |
||
16 | } |
||
17 | |||
18 | public override string Execute(string[] args, UUID fromAgentID) |
||
19 | { |
||
20 | return "Dilation is " + Client.Network.CurrentSim.Stats.Dilation.ToString(); |
||
21 | } |
||
22 | } |
||
23 | } |