Пример #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;
 }