protected void AddChatCommand(String commandName, String commandDescription, ChatCommandDelegate method) { ChatCommandNode node = new ChatCommandNode(commandName, commandDescription); node.Method = method.Method; node.CommandAttributes = new List <ChatCommandAttribute>(); Core.ChatCommands.AddNode(node); }
protected void AddChatCommand(String commandName, String commandDescription, ChatCommandDelegate method) { ChatCommandNode node = new ChatCommandNode(commandName, commandDescription); node.Method = method.Method; node.CommandAttributes = new List<ChatCommandAttribute>(); Core.ChatCommands.AddNode(node); }