Ejemplo n.º 1
0
 public Controller(Secrets secrets, ManualLogSource log)
 {
     _instance    = this;
     _secrets     = secrets;
     _log         = log;
     eventLookup  = new EventLookup(this);
     eventManager = new TwitchEventManager(this);
     timer        = new TimerCooldown(this);
 }
Ejemplo n.º 2
0
        public TwitchController(Secrets secrets, ManualLogSource log)
        {
            _secrets     = secrets;
            _log         = log;
            eventLookup  = new EventLookup(this);
            eventManager = new TwitchEventManager(this);
            timer        = new TimerCooldown(this);

            // Customize event configuration
            eventLookup.ConfigureEventCosts(secrets.eventConfigList);
        }