Namespace Serenity.Leaderboard.Installation.Installers
Classes
LeaderboardBackendFactory
Resolves the ILeaderboardStore backend selected by the shared, consumer-agnostic
UnityStructuredBackendDefinition asset assigned to
UnityLeaderboardSettings.Backend, dispatching on the asset's concrete type — checking
ICustomStructuredBackendDefinition FIRST so a project-defined store wins — then
wraps the resolved IStructuredStore once in a
StructuredStoreLeaderboardAdapter. Store construction lives in the shared
StructuredBackendStores helper, parameterized by this factory's
StructuredBackendConsumerProfile; this class keeps only the leaderboard's own
dispatch, fallback target, adapter wrap, and table resolution.
LeaderboardInstaller
Abstract base class for installing the Leaderboard service.
UnityLeaderboardInstallationStep
Installs the leaderboard (score submission and ranking) aggregate into the running composition.
UnityLeaderboardInstaller
Unity-specific installer for the Leaderboard system. Loads a UnityLeaderboardSettings asset (soft fallback to an empty board registry when none is found), resolves the configured backend via LeaderboardBackendFactory, and constructs the UnityLeaderboardService.
UnityLeaderboardViewInstallationStep
Builds and registers leaderboard views (SO-authored board displays), then exposes the service as a
view provider so a menu option or a ShowLeaderboardSignal can show one by id. Runs after
cascade views; leaderboard views are independent top-level views like menus, composites and cascades.
UnityLeaderboardViewInstaller
Builds every authored leaderboard view (UnityLeaderboardViewDefinition) at startup and
registers it with a UnityLeaderboardViewService. Leaderboard view assets share the
LEADERBOARD Addressables label. Built views start hidden until shown through
the IViewRouter. Mirrors UnityCascadeViewInstaller.
UnityLeaderboardViewInstallerInput
Dependencies required to build and register leaderboard views at startup. Mirrors the cascade-view installer input, plus the leaderboard service/settings each view queries and the UI service used to resolve the active theme's panel template.