Exemplo n.º 1
0
        public void AddonRefresh()
        {
            Refresh();

            // 20 - 29
            var bagItems = BagReader.Read();

            // 30 - 31
            var equipment = equipmentReader.Read();

            LevelTracker.Update();

            seq++;

            if (seq >= 10)
            {
                seq = 0;
                AddonDataChanged?.Invoke(this, new EventArgs());
            }
            System.Threading.Thread.Sleep(10);
        }
 public RequirementFactory(PlayerReader playerReader, BagReader bagReader, ILogger logger)
 {
     this.playerReader = playerReader;
     this.bagReader    = bagReader;
     this.logger       = logger;
 }