Exemplo n.º 1
0
 public override sealed void Save()
 {
     if (progress == null)
     {
         progress = new InstanceProgress(MapId, InstanceId);
     }
     progress.ResetTime       = DateTime.Now.AddMilliseconds(m_timeoutTimer.RemainingInitialDelayMillis);
     progress.DifficultyIndex = DifficultyIndex;
     PerformSave();
     progress.Save();
 }
Exemplo n.º 2
0
 public override sealed void Save()
 {
     if (this.progress == null)
     {
         this.progress = new InstanceProgress(this.MapId, this.InstanceId);
     }
     this.progress.ResetTime =
         DateTime.Now.AddMilliseconds((double)this.m_timeoutTimer.RemainingInitialDelayMillis);
     this.progress.DifficultyIndex = this.DifficultyIndex;
     this.PerformSave();
     this.progress.Save();
 }
Exemplo n.º 3
0
		public override sealed void Save()
		{
			if (progress == null)
			{
				progress = new InstanceProgress(MapId, InstanceId);
			}
		    progress.ResetTime = DateTime.Now.AddMilliseconds(m_timeoutTimer.RemainingInitialDelayMillis);
		    progress.DifficultyIndex = DifficultyIndex;
			PerformSave();
			progress.Save();
		}
Exemplo n.º 4
0
		public override sealed void Save()
		{
			if (progress == null)
			{
				progress = new InstanceProgress(MapId, InstanceId);
			}
			PerformSave();
			RealmWorldDBMgr.DatabaseProvider.SaveOrUpdate(progress);
		}
Exemplo n.º 5
0
		public override sealed void Save()
		{
			if (progress == null)
			{
				progress = new InstanceProgress(MapId, InstanceId);
			}
			PerformSave();
			progress.Save();
		}