aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ExportBot/Commands/RegionInfoCommand.cs
diff options
context:
space:
mode:
authorgareth2007-05-14 03:13:47 +0000
committergareth2007-05-14 03:13:47 +0000
commit64a98c736848de6099254f23483058668273c1a5 (patch)
treea8f2624277e48814531750db0ec07a8d64c1f740 /ExportBot/Commands/RegionInfoCommand.cs
parentAdded skeleton for grid management agent (diff)
downloadopensim-SC_OLD-64a98c736848de6099254f23483058668273c1a5.zip
opensim-SC_OLD-64a98c736848de6099254f23483058668273c1a5.tar.gz
opensim-SC_OLD-64a98c736848de6099254f23483058668273c1a5.tar.bz2
opensim-SC_OLD-64a98c736848de6099254f23483058668273c1a5.tar.xz
Finished off adding the new management API to gridserver
Updated VersionInfo.cs finally Updated prebuild and rebuilt nant build files Completed Management agent basics
Diffstat (limited to 'ExportBot/Commands/RegionInfoCommand.cs')
-rw-r--r--ExportBot/Commands/RegionInfoCommand.cs45
1 files changed, 0 insertions, 45 deletions
diff --git a/ExportBot/Commands/RegionInfoCommand.cs b/ExportBot/Commands/RegionInfoCommand.cs
deleted file mode 100644
index 7581137..0000000
--- a/ExportBot/Commands/RegionInfoCommand.cs
+++ /dev/null
@@ -1,45 +0,0 @@
1using System;
2using System.Text;
3using libsecondlife;
4
5namespace libsecondlife.TestClient
6{
7 public class RegionInfoCommand : Command
8 {
9 public RegionInfoCommand(TestClient testClient)
10 {
11 Name = "regioninfo";
12 Description = "Prints out info about all the current region";
13 }
14
15 public override string Execute(string[] args, LLUUID fromAgentID)
16 {
17 StringBuilder output = new StringBuilder();
18 output.AppendLine(Client.Network.CurrentSim.ToString());
19 output.Append("Access: ");
20 output.AppendLine(Client.Network.CurrentSim.Access.ToString());
21 output.Append("Flags: ");
22 output.AppendLine(Client.Network.CurrentSim.Flags.ToString());
23 output.Append("TerrainBase0: ");
24 output.AppendLine(Client.Network.CurrentSim.TerrainBase0.ToStringHyphenated());
25 output.Append("TerrainBase1: ");
26 output.AppendLine(Client.Network.CurrentSim.TerrainBase1.ToStringHyphenated());
27 output.Append("TerrainBase2: ");
28 output.AppendLine(Client.Network.CurrentSim.TerrainBase2.ToStringHyphenated());
29 output.Append("TerrainBase3: ");
30 output.AppendLine(Client.Network.CurrentSim.TerrainBase3.ToStringHyphenated());
31 output.Append("TerrainDetail0: ");
32 output.AppendLine(Client.Network.CurrentSim.TerrainDetail0.ToStringHyphenated());
33 output.Append("TerrainDetail1: ");
34 output.AppendLine(Client.Network.CurrentSim.TerrainDetail1.ToStringHyphenated());
35 output.Append("TerrainDetail2: ");
36 output.AppendLine(Client.Network.CurrentSim.TerrainDetail2.ToStringHyphenated());
37 output.Append("TerrainDetail3: ");
38 output.AppendLine(Client.Network.CurrentSim.TerrainDetail3.ToStringHyphenated());
39 output.Append("Water Height: ");
40 output.AppendLine(Client.Network.CurrentSim.WaterHeight.ToString());
41
42 return output.ToString();
43 }
44 }
45}