Example #1
0
 private static bool CheckHangingCutScene(AchievementData ach, object o)
 {
     GameStats.StoryElements storyElements = (GameStats.StoryElements)o;
     if (storyElements == GameStats.StoryElements.HangingScene)
     {
         AccountInfo.UnlockAchievement(ach);
         return(true);
     }
     return(false);
 }
Example #2
0
 public virtual void OnStoryProgress(object o)
 {
     if (!this._done)
     {
         GameStats.StoryElements storyElements = (GameStats.StoryElements)((int)o);
         if (storyElements == this._type)
         {
             this.SetDone();
             this.Clear();
         }
     }
 }
Example #3
0
 private void OnStoryProgress(object o)
 {
     GameStats.StoryElements storyElements = (GameStats.StoryElements)o;
     this._stats._storyElements = (this._stats._storyElements | storyElements);
 }