Ejemplo n.º 1
0
        /// <summary>
        /// Executes the tick in all Bot instances.
        /// </summary>
        public static void Tick()
        {
            if (SynchronizationContext.Current == null)
            {
                SynchronizationContext.SetSynchronizationContext(SyncContext);
            }

            ReCheck();
            Bots.ForEach(bot => bot.Tick(SyncContext));
        }