logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Namespace Serenity.GameSave.Installation.Installers

    Classes

    GameSaveBackendFactory

    Resolves the IGameSaveStore backend selected by the shared, consumer-agnostic UnityStructuredBackendDefinition asset assigned to UnityGameSaveSettings.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 StructuredStoreGameSaveAdapter. Store construction lives in the shared StructuredBackendStores helper, parameterized by this factory's StructuredBackendConsumerProfile; this class keeps only game save's own dispatch, fallback target, adapter wrap, and table resolution.

    GameSaveInstaller

    Abstract base class for installing the GameSave service.

    UnityGameSaveInstallationStep

    Installs the game save aggregate into the running composition.

    UnityGameSaveInstaller

    Unity-specific installer for the GameSave system. Loads a UnityGameSaveSettings asset (soft fallback to the PlayerPrefs default backend and a default slot count when none is found), resolves the configured backend via GameSaveBackendFactory, and constructs the UnityGameSaveService. Unless RouteCheckpointsIntoActiveSlot is explicitly turned off, also registers a CheckpointsSection and exposes a ready-to-use GetCheckpointStore() for a project that wants its Checkpoint aggregate's snapshots to travel inside the active save slot instead of a separate store.

    In this article
    © 2026 Serenity. All Rights Reserved