示例#1
0
        public ChatCommand Register(string command)
        {
            if (String.IsNullOrEmpty(command))
                return (ChatCommand)null;

            ChatCommand c = new ChatCommand(command);
            c.plugin = plugin;

            return Register(c);
        }
示例#2
0
 public ChatCommand Register(ChatCommand command)
 {
     Commands.Add(Commands.Count, command);
     return(command);
 }
示例#3
0
 public ChatCommand Register(ChatCommand command)
 {
     Commands.Add(Commands.Count, command);
     return command;
 }