Example #1
0
        private void TimerOnElapsed100(object sender, ElapsedEventArgs elapsedEventArgs)
        {
            _timerCounter++;

            if (_timerCounter % 10 == 0)
            {
                ChatCommandService.UpdateBeforeSimulation1000();
            }

            if (_timerCounter == 100)
            {
                _timerCounter = 0;
            }

            ChatCommandService.UpdateBeforeSimulation100();
        }