public void DeleteUserData(string userId)
 {
     InMemoryDatabase.GetInstance().DeleteUserData(userId);
 }
 public IEnumerable <UserAchievementEnt> GetAchievementProgression(string userId)
 {
     return(InMemoryDatabase.GetInstance().GetAchievementProgression(userId));
 }
 public void UpdateAchievementProgression(UserAchievementEnt progression)
 {
     InMemoryDatabase.GetInstance().UpdateAchievementProgression(progression);
 }
예제 #4
0
 public void ResetAchievements()
 {
     InMemoryDatabase.GetInstance().DeleteAchievements();
 }
예제 #5
0
 public void DeleteAchievement(string achievementId, bool updateConfig = false)
 {
     InMemoryDatabase.GetInstance().DeleteAchievement(achievementId);
 }
예제 #6
0
 public void PopulateDatabase(bool overwrite = false)
 {
     InMemoryDatabase.GetInstance().PopulateDatabase(_configurationDAL.GetAchievementDatabaseConfiguration(),
                                                     overwrite);
 }
예제 #7
0
 public void CreateAchievement(AchievementEnt achievement, bool updateConfig = false)
 {
     InMemoryDatabase.GetInstance().CreateAchievement(achievement);
 }
예제 #8
0
 public bool IsPopulated()
 {
     return(InMemoryDatabase.GetInstance().IsPopulated(_configurationDAL.GetAchievementDatabaseConfiguration()));
 }