aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/GridService/GridService.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Services/GridService/GridService.cs')
-rw-r--r--OpenSim/Services/GridService/GridService.cs20
1 files changed, 11 insertions, 9 deletions
diff --git a/OpenSim/Services/GridService/GridService.cs b/OpenSim/Services/GridService/GridService.cs
index 3dc87bc..b17fca7 100644
--- a/OpenSim/Services/GridService/GridService.cs
+++ b/OpenSim/Services/GridService/GridService.cs
@@ -509,19 +509,21 @@ namespace OpenSim.Services.GridService
509 return; 509 return;
510 } 510 }
511 511
512 MainConsole.Instance.Output("Region Name Region UUID"); 512 ICommandConsole con = MainConsole.Instance;
513 MainConsole.Instance.Output("Location URI"); 513
514 MainConsole.Instance.Output("Owner ID Flags");
515 MainConsole.Instance.Output("-------------------------------------------------------------------------------");
516 foreach (RegionData r in regions) 514 foreach (RegionData r in regions)
517 { 515 {
518 OpenSim.Data.RegionFlags flags = (OpenSim.Data.RegionFlags)Convert.ToInt32(r.Data["flags"]); 516 OpenSim.Data.RegionFlags flags = (OpenSim.Data.RegionFlags)Convert.ToInt32(r.Data["flags"]);
519 MainConsole.Instance.Output(String.Format("{0,-20} {1}\n{2,-20} {3}\n{4,-39} {5}\n\n", 517
520 r.RegionName, r.RegionID, 518 con.OutputFormat("{0,-11}: {1}", "Region Name", r.RegionName);
521 String.Format("{0},{1}", r.posX / Constants.RegionSize, r.posY / Constants.RegionSize), 519 con.OutputFormat("{0,-11}: {1}", "Region ID", r.RegionID);
522 r.Data["serverURI"], 520 con.OutputFormat("{0,-11}: {1}", "Location", r.coordX, r.coordY);
523 r.Data["owner_uuid"], flags)); 521 con.OutputFormat("{0,-11}: {1}", "URI", r.Data["serverURI"]);
522 con.OutputFormat("{0,-11}: {1}", "Owner ID", r.Data["owner_uuid"]);
523 con.OutputFormat("{0,-11}: {1}", "Flags", flags);
524 con.Output("\n");
524 } 525 }
526
525 return; 527 return;
526 } 528 }
527 529