コード例 #1
0
 public TwitchBotApplication(Configuration appConfig, TwitchInfoService twitchInfo, SongRequestBlacklistService songRequestBlacklist,
                             FollowerService follower, BankService bank, FollowerSubscriberListener followerListener, ManualSongRequestService manualSongRequest, PartyUpService partyUp,
                             GameDirectoryService gameDirectory, QuoteService quote, BankHeist bankHeist, TwitchChatterListener twitchChatterListener, IrcClient irc,
                             BossFight bossFight, SongRequestSettingService songRequestSetting, InGameUsernameService ign, LibVLCSharpPlayer libVLCSharpPlayer)
 {
     _appConfig    = appConfig;
     _botConfig    = appConfig.GetSection("TwitchBotConfig") as TwitchBotConfigurationSection;
     _greetedUsers = new List <string>();
     _twitchInfo   = twitchInfo;
     _follower     = follower;
     _followerSubscriberListener = followerListener;
     _bank = bank;
     _songRequestBlacklist = songRequestBlacklist;
     _manualSongRequest    = manualSongRequest;
     _gameDirectory        = gameDirectory;
     _quote                 = quote;
     _bankHeist             = bankHeist;
     _twitchChatterListener = twitchChatterListener;
     _bossFight             = bossFight;
     _songRequestSetting    = songRequestSetting;
     _ign = ign;
     _libVLCSharpPlayer = libVLCSharpPlayer;
     _irc     = irc;
     _partyUp = partyUp;
 }
コード例 #2
0
ファイル: CmdBrdCstr.cs プロジェクト: Faded/TwitchBot
 public CmdBrdCstr(IrcClient irc, TwitchBotConfigurationSection botConfig, int broadcasterId,
                   System.Configuration.Configuration appConfig, SongRequestBlacklistService songRequest, TwitchInfoService twitchInfo,
                   GameDirectoryService gameDirectory)
 {
     _irc           = irc;
     _botConfig     = botConfig;
     _broadcasterId = broadcasterId;
     _appConfig     = appConfig;
     _songRequest   = songRequest;
     _twitchInfo    = twitchInfo;
     _gameDirectory = gameDirectory;
 }
コード例 #3
0
ファイル: CmdBrdCstr.cs プロジェクト: zkitX/TwitchBot
 public CmdBrdCstr(IrcClient irc, TwitchBotConfigurationSection botConfig, System.Configuration.Configuration appConfig,
                   SongRequestBlacklistService songRequest, TwitchInfoService twitchInfo, GameDirectoryService gameDirectory,
                   SongRequestSettingService songRequestSetting, InGameUsernameService ign, LibVLCSharpPlayer libVLCSharpPlayer)
 {
     _irc                = irc;
     _botConfig          = botConfig;
     _appConfig          = appConfig;
     _songRequest        = songRequest;
     _twitchInfo         = twitchInfo;
     _gameDirectory      = gameDirectory;
     _songRequestSetting = songRequestSetting;
     _ign                = ign;
     _libVLCSharpPlayer  = libVLCSharpPlayer;
 }
コード例 #4
0
 public CommandSystem(IrcClient irc, TwitchBotConfigurationSection botConfig, Configuration appConfig, BankService bank,
                      SongRequestBlacklistService songRequestBlacklist, LibVLCSharpPlayer libVLCSharpPlayer, SongRequestSettingService songRequestSetting,
                      SpotifyWebClient spotify, TwitchInfoService twitchInfo, FollowerService follower, GameDirectoryService gameDirectory, InGameUsernameService ign,
                      ManualSongRequestService manualSongRequest, QuoteService quote, PartyUpService partyUp)
 {
     _bank                     = new BankFeature(irc, botConfig, bank);
     _followerFeature          = new FollowerFeature(irc, botConfig, twitchInfo, follower, appConfig);
     _generalFeature           = new GeneralFeature(irc, botConfig, twitchInfo, appConfig);
     _inGameNameFeature        = new InGameNameFeature(irc, botConfig, twitchInfo, gameDirectory, ign);
     _joinStreamerFeature      = new JoinStreamerFeature(irc, botConfig, twitchInfo, gameDirectory);
     _libVLCSharpPlayerFeature = new LibVLCSharpPlayerFeature(irc, botConfig, appConfig, libVLCSharpPlayer);
     _miniGameFeature          = new MinigameFeature(irc, botConfig, bank, follower, twitchInfo);
     _multiLinkUserFeature     = new MultiLinkUserFeature(irc, botConfig);
     _partyUpFeature           = new PartyUpFeature(irc, botConfig, twitchInfo, gameDirectory, partyUp);
     _quoteFeature             = new QuoteFeature(irc, botConfig, quote);
     _reminderFeature          = new RefreshFeature(irc, botConfig, twitchInfo, gameDirectory);
     _songRequestFeature       = new SongRequestFeature(irc, botConfig, appConfig, songRequestBlacklist, libVLCSharpPlayer, songRequestSetting, manualSongRequest, bank, spotify);
     _spotifyFeature           = new SpotifyFeature(irc, botConfig, spotify);
     _twitchChannelFeature     = new TwitchChannelFeature(irc, botConfig, gameDirectory);
     _twitter                  = new TwitterFeature(irc, botConfig, appConfig);
 }