public ChatCommand Register(string command) { if (String.IsNullOrEmpty(command)) return (ChatCommand)null; ChatCommand c = new ChatCommand(command); c.plugin = plugin; return Register(c); }
public ChatCommand Register(ChatCommand command) { Commands.Add(Commands.Count, command); return(command); }
public ChatCommand Register(ChatCommand command) { Commands.Add(Commands.Count, command); return command; }