Esempio n. 1
0
        /// <summary>
        /// Starts all internal timing
        /// </summary>
        internal void Start()
        {
            //If already started, don't start again
            if (_started)
            {
                return;
            }
            _started = true;

            //Create a new instance of EventThread and hook into the reset event
            _events          = new EventTimers();
            _events.OnReset += Events_OnReset;
            _events.Start();
            SetServerResetTime(0, 0);
        }
Esempio n. 2
0
		/// <summary>
		/// Starts all internal timing
		/// </summary>
		internal void Start()
		{
			//If already started, don't start again
			if (_started)
			{
				return;
			}
			_started = true;

			//Create a new instance of EventThread and hook into the reset event
			_events = new EventTimers();
			_events.OnReset += Events_OnReset;
			_events.Start();
			SetServerResetTime(0, 0);
		}