Example #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();
 }
Example #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();
 }
Example #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();
		}
Example #4
0
		public override sealed void Save()
		{
			if (progress == null)
			{
				progress = new InstanceProgress(MapId, InstanceId);
			}
			PerformSave();
			RealmWorldDBMgr.DatabaseProvider.SaveOrUpdate(progress);
		}
Example #5
0
		public override sealed void Save()
		{
			if (progress == null)
			{
				progress = new InstanceProgress(MapId, InstanceId);
			}
			PerformSave();
			progress.Save();
		}