Ejemplo n.º 1
0
        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);
        }
Ejemplo n.º 2
0
 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);
 }