예제 #1
0
        public GlobalHook(GameClient gameClient, TwitchIRC irc, SAPI5 tts)
        {
            _gameClientHandle = gameClient;
            _ircHandle = irc;
            _ttsHandle = tts;

            _isRecording = false;
            Subscribe();
        }
예제 #2
0
        public TwitchIRC(SAPI5 tts)
        {
            _ttsHandle = tts;

            _socket = new TcpClient();
            _thread = new Thread(Run);

            _input = null;
            _output = null;
        }
예제 #3
0
 public MainForm()
 {
     InitializeComponent();
     // initializers
     _gameClient = new GameClient();
     _tts = new SAPI5();
     _irc = new TwitchIRC(_tts);
     _configReader = new ConfigReader(_irc, _tts);
     _globalHook = new GlobalHook(_gameClient, _irc, _tts);
 }
예제 #4
0
 public ConfigReader(TwitchIRC irc, SAPI5 tts)
 {
     _ircHandle = irc;
     _ttsHandle = tts;
 }