Esempio n. 1
0
        protected internal override void InitMap()
        {
            base.InitMap();
            int resetTime = this.difficulty.ResetTime;

            this.m_lastReset    = DateTime.Now;
            this.m_timeoutTimer = new TimerEntry(new Action <int>(this.OnTimeout));
            base.RegisterUpdatableLater(this);
            this.settings = this.CreateSettings();
        }
Esempio n. 2
0
        protected internal override void InitMap()
        {
            base.InitMap();
            int resetTime = difficulty.ResetTime;

            m_lastReset    = DateTime.Now;
            m_timeoutTimer = new TimerEntry(OnTimeout);
            RegisterUpdatableLater(this);
            settings = CreateSettings();
        }
Esempio n. 3
0
		protected internal override void InitMap()
		{
			base.InitMap();

			var secs = difficulty.ResetTime;
			if (secs > 0)
			{
				// TODO: Set expiry time correctly
				//m_expiryTime = InstanceMgr.
			}

			m_lastReset = DateTime.Now;

			m_timeoutTimer = new TimerEntry(OnTimeout);

			RegisterUpdatableLater(this);

			// create InstanceSettings object
			settings = CreateSettings();
		}
Esempio n. 4
0
        protected internal override void InitMap()
        {
            base.InitMap();

            var secs = difficulty.ResetTime;

            if (secs > 0)
            {
                // TODO: Set expiry time correctly
                //m_expiryTime = InstanceMgr.
            }

            m_lastReset = DateTime.Now;

            m_timeoutTimer = new TimerEntry(OnTimeout);

            RegisterUpdatableLater(this);

            // create InstanceSettings object
            settings = CreateSettings();
        }