TestClient cleanup

This commit is contained in:
Cinder
2022-02-25 19:38:11 -06:00
parent 3fe7b935e7
commit 781a63c307
84 changed files with 385 additions and 408 deletions

View File

@@ -1,4 +1,5 @@
using System;
using System.Globalization;
using System.Text;
namespace OpenMetaverse.TestClient
@@ -20,7 +21,7 @@ namespace OpenMetaverse.TestClient
output.AppendLine(Client.Network.CurrentSim.ID.ToString());
uint x, y;
Utils.LongToUInts(Client.Network.CurrentSim.Handle, out x, out y);
output.AppendLine(String.Format("Handle: {0} (X: {1} Y: {2})", Client.Network.CurrentSim.Handle, x, y));
output.AppendLine($"Handle: {Client.Network.CurrentSim.Handle} (X: {x} Y: {y})");
output.Append("Access: ");
output.AppendLine(Client.Network.CurrentSim.Access.ToString());
output.Append("Flags: ");
@@ -42,7 +43,7 @@ namespace OpenMetaverse.TestClient
output.Append("TerrainDetail3: ");
output.AppendLine(Client.Network.CurrentSim.TerrainDetail3.ToString());
output.Append("Water Height: ");
output.AppendLine(Client.Network.CurrentSim.WaterHeight.ToString());
output.AppendLine(Client.Network.CurrentSim.WaterHeight.ToString(CultureInfo.InvariantCulture));
output.Append("Datacenter:");
output.AppendLine(Client.Network.CurrentSim.ColoLocation);
output.Append("CPU Ratio:");