Namespace Serenity.Achievements.Infrastructure.Views
Classes
AchievementIconLookup
Answers "what does this achievement look like" by id, from the icons the project authored on its achievement assets.
AchievementRowContent
One achievement as the listing shows it: the text already formatted, and the raw values a sort or a thumbnail lookup still needs. Produced by AchievementRowContentMapper.
AchievementRowContentMapper
Turns an authored achievement plus what the player has done with it into the display-ready AchievementRowContent the listing draws. Pure: no engine dependencies, so the rules that decide what a player is allowed to see are unit tested without an editor or a player context.
AchievementRowMappingOptions
The presentation choices AchievementRowContentMapper needs that the achievement itself does not carry: what a concealed achievement reads as, and how its numbers and dates are rendered.
AchievementRowSorter
Arranges already-mapped achievement rows the way a view asked for them: the requested slice, in the requested order. Pure, so the ordering rules are asserted rather than eyeballed on a running screen.
UnityAchievementRowView
Script on one achievement row — the theme's row template, or the procedural fallback built by CreateProcedural(Transform). Holds the slots a row draws into (icon, name, description, progress bar and text, unlock date, points, screenshot thumbnail) and fills them from an AchievementRowContent.
UnityAchievementsPanel
Script on an achievements panel (theme's AchievementsTemplate, or the procedural fallback built
by CreateProcedural(Transform)): a header, a points-summary slot, the container the achievement rows
are built into, an empty-state slot, and a Back button. Filled and driven by
UnityAchievementsView.
UnityAchievementsView
Runtime view that hosts a UnityAchievementsPanel and is resolvable by Id from a menu transition or a ShowAchievementsSignal (registered with the IViewRouter via UnityAchievementsViewService). On Show() it reads the player's achievements, maps them to rows and fills the panel; while shown it redraws whenever the module says something changed.
UnityAchievementsViewConfiguration
Everything a UnityAchievementsView needs to run, handed over in one piece by the installer that built it.
Structs
AchievementPointsSummary
How far the player is through everything the project has to award, as the one line the achievements screen prints above the list: "120 / 500".
Enums
AchievementRowFilterMode
Which slice of the player's achievements a listing shows.
AchievementRowSortMode
The order an achievements listing arranges its rows in.