C# Class Strokes.Service.StrokesAchievementServiceBase

Inheritance: IAchievementService
Afficher le fichier Open project: jonasswiatek/strokes

Protected Properties

Свойство Type Description
AchievementRepository IAchievementRepository

Méthodes publiques

Méthode Description
GetAllAchievements ( ) : IEnumerable
GetUnlockableAchievements ( ) : IEnumerable
LoadAchievementsFrom ( Assembly assembly ) : void
PerformStaticAnalysis ( Strokes.Core.StaticAnalysisManifest staticAnalysisManifest, bool onlyUnlockable ) : IEnumerable
ResetAchievementProgress ( ) : void
UnlockAchievement ( Strokes.Core.AchievementBase achievement ) : void
UpdateLocalization ( Strokes.Core.Service.Model.Achievement achievement, CultureInfo culture ) : void

Méthodes protégées

Méthode Description
GetUnlockedAchievements ( StatisAnalysisSession statisAnalysisSession, IEnumerable availableAchievements ) : IEnumerable
StrokesAchievementServiceBase ( IAchievementRepository achievementRepository ) : System

Private Methods

Méthode Description
OnAchievementsUnlocked ( object sender, AchievementEventArgs e ) : void
OnStaticAnalysisCompleted ( object sender, Strokes.Core.Service.StaticAnalysisEventArgs e ) : void
OnStaticAnalysisStarted ( object sender, EventArgs e ) : void

Method Details

GetAllAchievements() public méthode

public GetAllAchievements ( ) : IEnumerable
Résultat IEnumerable

GetUnlockableAchievements() public méthode

public GetUnlockableAchievements ( ) : IEnumerable
Résultat IEnumerable

GetUnlockedAchievements() protected abstract méthode

protected abstract GetUnlockedAchievements ( StatisAnalysisSession statisAnalysisSession, IEnumerable availableAchievements ) : IEnumerable
statisAnalysisSession StatisAnalysisSession
availableAchievements IEnumerable
Résultat IEnumerable

LoadAchievementsFrom() public méthode

public LoadAchievementsFrom ( Assembly assembly ) : void
assembly System.Reflection.Assembly
Résultat void

PerformStaticAnalysis() public méthode

public PerformStaticAnalysis ( Strokes.Core.StaticAnalysisManifest staticAnalysisManifest, bool onlyUnlockable ) : IEnumerable
staticAnalysisManifest Strokes.Core.StaticAnalysisManifest
onlyUnlockable bool
Résultat IEnumerable

ResetAchievementProgress() public méthode

public ResetAchievementProgress ( ) : void
Résultat void

StrokesAchievementServiceBase() protected méthode

protected StrokesAchievementServiceBase ( IAchievementRepository achievementRepository ) : System
achievementRepository IAchievementRepository
Résultat System

UnlockAchievement() public méthode

public UnlockAchievement ( Strokes.Core.AchievementBase achievement ) : void
achievement Strokes.Core.AchievementBase
Résultat void

UpdateLocalization() public méthode

public UpdateLocalization ( Strokes.Core.Service.Model.Achievement achievement, CultureInfo culture ) : void
achievement Strokes.Core.Service.Model.Achievement
culture System.Globalization.CultureInfo
Résultat void

Property Details

AchievementRepository protected_oe property

protected IAchievementRepository AchievementRepository
Résultat IAchievementRepository