From 64a98c736848de6099254f23483058668273c1a5 Mon Sep 17 00:00:00 2001 From: gareth Date: Mon, 14 May 2007 03:13:47 +0000 Subject: Finished off adding the new management API to gridserver Updated VersionInfo.cs finally Updated prebuild and rebuilt nant build files Completed Management agent basics --- ExportBot/Commands/LoadCommand.cs | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 ExportBot/Commands/LoadCommand.cs (limited to 'ExportBot/Commands/LoadCommand.cs') diff --git a/ExportBot/Commands/LoadCommand.cs b/ExportBot/Commands/LoadCommand.cs deleted file mode 100644 index 70dada4..0000000 --- a/ExportBot/Commands/LoadCommand.cs +++ /dev/null @@ -1,28 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Text; -using System.Reflection; -using libsecondlife; -using libsecondlife.Packets; - -namespace libsecondlife.TestClient -{ - public class LoadCommand: Command - { - public LoadCommand(TestClient testClient) - { - Name = "load"; - Description = "Loads commands from a dll. (Usage: load AssemblyNameWithoutExtension)"; - } - - public override string Execute(string[] args, LLUUID fromAgentID) - { - if (args.Length < 1) - return "Usage: load AssemblyNameWithoutExtension"; - - string filename = AppDomain.CurrentDomain.BaseDirectory + args[0] + ".dll"; - Client.RegisterAllCommands(Assembly.LoadFile(filename)); - return "Assembly " + filename + " loaded."; - } - } -} -- cgit v1.1