Exemplo n.º 1
0
        public void Update()
        {
            if (this.m_isWatch)
            {
                return;
            }
            this.RefreshRewardTime();
            int num = (int)Math.Ceiling((double)(600f - this.m_stimulateTimer));

            if (num <= 0)
            {
                this.m_isWatch        = true;
                this.m_stimulateTimer = 0f;
                DotManager.GetInstance().CheckAds();
            }
            GlobalEventHandle.EmitAdsHandle(string.Format("{0:D2}:{1:D2}", num / 60, num % 60), this.m_isWatch);
        }