TestClient: Cleaned up Command->Client references.
git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@796 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
@@ -8,13 +8,8 @@ namespace libsecondlife.TestClient
|
||||
{
|
||||
public class HelpCommand: Command
|
||||
{
|
||||
SecondLife Client;
|
||||
|
||||
public HelpCommand(TestClient testClient)
|
||||
{
|
||||
TestClient = testClient;
|
||||
Client = (SecondLife)TestClient;
|
||||
|
||||
Name = "help";
|
||||
Description = "Lists available commands.";
|
||||
}
|
||||
@@ -23,7 +18,7 @@ namespace libsecondlife.TestClient
|
||||
{
|
||||
StringBuilder result = new StringBuilder();
|
||||
result.AppendFormat("\n\nHELP\nClient accept teleport lures from master and group members.\n");
|
||||
foreach (Command c in TestClient.Commands.Values)
|
||||
foreach (Command c in Client.Commands.Values)
|
||||
{
|
||||
result.AppendFormat("{0} - {1}\n", c.Name, c.Description);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user