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

@@ -24,9 +24,9 @@ namespace OpenMetaverse.TestClient
if (args.Length < 1)
return Description;
groupName = String.Empty;
groupName = string.Empty;
resolvedGroupID = UUID.Zero;
resolvedGroupName = String.Empty;
resolvedGroupName = string.Empty;
if (args[0].ToLower() == "uuid")
{
@@ -109,7 +109,7 @@ namespace OpenMetaverse.TestClient
foreach (DirectoryManager.GroupSearchData groupRetrieved in e.MatchedGroups)
{
Console.WriteLine(groupRetrieved.GroupName + "\t\t\t(" +
Name + " UUID " + groupRetrieved.GroupID.ToString() + ")");
Name + " UUID " + groupRetrieved.GroupID + ")");
if (groupRetrieved.GroupName.ToLower() == groupName.ToLower())
{
@@ -119,7 +119,7 @@ namespace OpenMetaverse.TestClient
}
}
if (string.IsNullOrEmpty(resolvedGroupName))
resolvedGroupName = "Ambiguous name. Found " + e.MatchedGroups.Count.ToString() + " groups (UUIDs on console)";
resolvedGroupName = "Ambiguous name. Found " + e.MatchedGroups.Count + " groups (UUIDs on console)";
}
}
@@ -129,7 +129,7 @@ namespace OpenMetaverse.TestClient
void Groups_OnGroupJoined(object sender, GroupOperationEventArgs e)
{
Console.WriteLine(Client.ToString() + (e.Success ? " joined " : " failed to join ") + e.GroupID.ToString());
Console.WriteLine(Client + (e.Success ? " joined " : " failed to join ") + e.GroupID);
/* A.Biondi
* This code is not necessary because it is yet present in the