示例#1
0
        public void StopTest()
        {
            TimeSpan  delayTimeSpan = new TimeSpan();               // TODO: 初始化为适当的值
            TimeSlice target        = new TimeSlice(delayTimeSpan); // TODO: 初始化为适当的值

            target.Stop();
            Assert.Inconclusive("无法验证不返回值的方法。");
        }
示例#2
0
        internal void StopSaveTimeSlice()
        {
            if (m_LockSaveTimeSlice.InLock() == true)
            {
                m_LockSaveTimeSlice.OutLock();
                return;
            }

            TimeSlice tempTimeSlice = m_SaveTimeSlice;

            if (tempTimeSlice != null)
            {
                tempTimeSlice.Stop();
            }

            m_SaveTimeSlice = null;
            m_LockSaveTimeSlice.OutLock();
        }
示例#3
0
        internal void StopCheckAllAliveTime()
        {
            if (m_LockCheckAlive.InLock() == true)
            {
                m_LockCheckAlive.OutLock();
                return;
            }

            TimeSlice tempTimeSlice = m_CheckAliveTimeSlice;

            if (tempTimeSlice != null)
            {
                tempTimeSlice.Stop();
            }

            m_CheckAliveTimeSlice = null;
            m_LockCheckAlive.OutLock();
        }
示例#4
0
 /// <summary>
 /// 地图点不激活
 /// </summary>
 public virtual void OnSpaceNodeDeactivate()
 {
     m_SpaceNodeActivateTimeSlice.Stop();
 }