logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UnityAchievementsViewConfiguration

    Everything a UnityAchievementsView needs to run, handed over in one piece by the installer that built it.

    Inheritance
    object
    UnityAchievementsViewConfiguration
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    Namespace: Serenity.Achievements.Infrastructure.Views
    Assembly: Serenity.UnityAchievements.Infrastructure.dll
    Syntax
    public sealed class UnityAchievementsViewConfiguration
    Remarks

    A parameter object rather than nine positional arguments: at that width a call site is a column of unlabelled values where two adjacent nullable references can be swapped without the compiler noticing, and adding a tenth collaborator would rewrite every caller and every test.

    Constructors

    UnityAchievementsViewConfiguration()

    Declaration
    public UnityAchievementsViewConfiguration()

    Fields

    AchievementService

    Service the view reads the player's achievements from.

    Declaration
    public IAchievementService AchievementService
    Field Value
    Type Description
    IAchievementService

    Definition

    The achievements view definition (title, sorting, filtering, return view id).

    Declaration
    public UnityAchievementsViewDefinition Definition
    Field Value
    Type Description
    UnityAchievementsViewDefinition

    EventDispatcherService

    Dispatcher the view subscribes to for unlock, progress and screenshot signals.

    Declaration
    public IEventDispatcherService EventDispatcherService
    Field Value
    Type Description
    IEventDispatcherService

    IconLookup

    Answers an achievement's authored icon by id. May be null.

    Declaration
    public AchievementIconLookup IconLookup
    Field Value
    Type Description
    AchievementIconLookup

    LogService

    Logging service.

    Declaration
    public ILogService LogService
    Field Value
    Type Description
    ILogService

    Panel

    The panel (themed or procedural) this view fills with achievement rows.

    Declaration
    public UnityAchievementsPanel Panel
    Field Value
    Type Description
    UnityAchievementsPanel

    ScreenshotLoader

    Loader the unlock thumbnails are read through. May be null.

    Declaration
    public UnityAchievementScreenshotLoader ScreenshotLoader
    Field Value
    Type Description
    UnityAchievementScreenshotLoader

    ViewBrowserService

    Navigation history the opener's entry is popped from when cancel returns to it.

    Declaration
    public IViewBrowserService ViewBrowserService
    Field Value
    Type Description
    IViewBrowserService

    ViewRouter

    Router used to return to the definition's ReturnViewId on cancel.

    Declaration
    public IViewRouter ViewRouter
    Field Value
    Type Description
    IViewRouter
    In this article
    © 2026 Serenity. All Rights Reserved