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

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

            return Register(cc);
        }
예제 #2
0
        public ChatCommand Register(ChatCommand command)
        {
            Commands.Add(Commands.Count, command);

            return command;
        }