Beispiel #1
0
            public SearchCommand(ISearchFactory factory, string cmdPath)
            {
                this.factory = factory;
                var builder = new CommandBuildInfo(
                    this,
                    Method,
                    new CommandAttribute(cmdPath));

                Command = new BotCommand(builder);
            }
Beispiel #2
0
            public PlayCommand(string audioType, string cmdPath)
            {
                this.audioType = audioType;
                var builder = new CommandBuildInfo(
                    this,
                    Method,
                    new CommandAttribute(cmdPath));

                Command = new BotCommand(builder);
            }
Beispiel #3
0
            public PlayListCommand(IPlaylistFactory factory, string cmdPath)
            {
                this.factory = factory;
                var builder = new CommandBuildInfo(
                    this,
                    Method,
                    new CommandAttribute(cmdPath));

                Command = new BotCommand(builder);
            }
Beispiel #4
0
            public SearchCommand(ISearchResolver resolver, string cmdPath)
            {
                this.resolver = resolver;
                var builder = new CommandBuildInfo(
                    this,
                    Method,
                    new CommandAttribute(cmdPath));

                Command = new BotCommand(builder);
            }
Beispiel #5
0
            public PlayListCommand(IPlaylistResolver resolver, string cmdPath)
            {
                this.resolver = resolver;
                var builder = new CommandBuildInfo(
                    this,
                    Method,
                    new CommandAttribute(cmdPath));

                Command = new BotCommand(builder);
            }
Beispiel #6
0
            public PlayCommand(AudioType audioType)
            {
                this.audioType = audioType;
                var builder = new CommandBuildInfo(
                    this,
                    playMethod,
                    new CommandAttribute(CommandRights.Private, string.Empty),
                    null);

                Command = new BotCommand(builder);
            }
Beispiel #7
0
            public PlayListCommand(AudioType audioType, string cmdPath)
            {
                this.audioType = audioType;
                var builder = new CommandBuildInfo(
                    this,
                    playMethod,
                    new CommandAttribute(cmdPath),
                    null);

                Command = new BotCommand(builder);
            }
		public WrappedCommand(int invNum, PluginProxy wrapParent, CommandBuildInfo data) : base(data)
		{
			proxy = wrapParent;
			mId = invNum;
		}
Beispiel #9
0
		public WrappedCommand(int invNum, PluginProxy wrapParent, CommandBuildInfo data) : base(data)
		{
			proxy = wrapParent;
			mId = invNum;
		}