Namespace Serenity.Achievements.Infrastructure
Classes
AchievementRecordMapping
Maps between the achievement value objects and the generic StructuredRecord shape, and builds the field-name-driven scope filters and schemas StructuredStoreAchievementAdapter needs. The single place that knows the two achievement tables' column names.
StructuredStoreAchievementAdapter
IAchievementStore implementation that translates every achievement operation into calls against the generic IStructuredStore contract, via AchievementRecordMapping. The single adapter every achievement backend (PlayerPrefs, local file, HTTP, Postgres, MySql, Mongo, Sqlite, custom) shares, so the revision policy is expressed exactly once instead of once per backend.