public RedemptionSystem(
            ICommunication communication,
            IEnumerable <IRedemptionContainer> redemptionContainers,
            Database.IUserHelper userHelper)
        {
            this.communication = communication;

            this.userHelper = userHelper;

            this.redemptionContainers = redemptionContainers.ToArray();
        }
Пример #2
0
        public TestCommandSystem(
            Config.BotConfiguration botConfig,
            ICommunication communication,
            Notifications.ISubscriptionHandler subscriptionHandler,
            Notifications.IRaidHandler raidHandler,
            Notifications.ICheerHandler cheerHandler,
            Database.IUserHelper userHelper)
        {
            this.botConfig = botConfig;

            this.communication       = communication;
            this.subscriptionHandler = subscriptionHandler;
            this.raidHandler         = raidHandler;
            this.cheerHandler        = cheerHandler;

            this.userHelper = userHelper;
        }
        public FullActivityProvider(
            ICommunication communication,
            Audio.ISoundEffectSystem soundEffectSystem,
            Audio.IAudioPlayer audioPlayer,
            Audio.Effects.IAudioEffectSystem audioEffectSystem,
            Bits.CheerHelper cheerHelper,
            IActivityDispatcher activityDispatcher,
            ITTSRenderer ttsRenderer,
            NotificationServer notificationServer,
            Database.IUserHelper userHelper)
        {
            this.communication = communication;

            this.soundEffectSystem = soundEffectSystem;
            this.audioEffectSystem = audioEffectSystem;
            this.audioPlayer       = audioPlayer;
            this.cheerHelper       = cheerHelper;

            this.activityDispatcher = activityDispatcher;
            this.ttsRenderer        = ttsRenderer;
            this.notificationServer = notificationServer;

            this.userHelper = userHelper;
        }