public void Update(GameContext.Data contextData, BaseItem.ITimeProvider time)
 {
     this.lastPlayedDate = DateTime.Now;
     if (!this.firstCompletionDate.HasValue)
     {
         this.firstCompletionDate = this.lastPlayedDate;
     }
     if (!this.bestCompletionMs.HasValue || this.bestCompletionMs.Value > time.TimeMs)
     {
         this.bestCompletionDate        = this.lastPlayedDate;
         this.bestCompletionMs          = time.TimeMs;
         this.completionMovementHistory = contextData.RecentMovementHistory;
     }
 }
Ejemplo n.º 2
0
 public void UpdateLevelMetaData(GameContext.Data contextData, BaseItem.ITimeProvider time)
 {
     this._activeWarehouseLevelMeta.Update(contextData, time);
 }