Skip to content

API reference

Namespace MicroEngine.Achievements

Achievements as an optional engine module: the module that registers the tracker as a service of the engine and writes its progress.

Guide: Achievements

Classes

AchievementsModule

Achievements as an engine module: registers Tracker as the engine’s AchievementTracker service and schedules SystemName in PostFixed, which writes pending progress about once a second of simulated time (FlushInterval; unlocks are written at once by the tracker) and raises Stepped every step; progress is written too when the platform suspends the game. A composition that never adds the module has no tracker, no system and no achievement file. The Game façade adds it when the game declares achievements (TrackAchievements before the engine is composed).