logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class AchievementSyncWindow

    The Achievement Platform Sync wizard: pulls an AchievementStorefrontSnapshot from a connector, diffs it against the project's authored achievements, and lets an author review and apply the changes in either direction. The Scope step's direction cards stay capability-driven — the Pull flow works with any connector, the sign-in-free FileAchievementDefinitionSyncConnector included, while the Push flow lights up only for a connector whose capabilities report it can, Steam's cookie-based Steam connector today.

    Inheritance
    object
    AchievementSyncWindow
    Namespace: Serenity.Achievements.Infrastructure.Editor.Sync
    Assembly: Serenity.UnityAchievements.Infrastructure.Editor.dll
    Syntax
    public sealed class AchievementSyncWindow : SerenityStepWizardWindow<AchievementSyncWizardStep>
    Remarks

    The stepped-wizard scaffolding comes from Serenity.Global.Infrastructure.Editor.SerenityStepWizardWindow`1; this window declares only its step table (BuildSteps()) and its primary action (OnPrimaryAction()), each step's body delegated to its own collaborator — the same split AchievementsStudioWindow uses with AchievementPlatformTableGui. Connect's own row sets Serenity.Global.Infrastructure.Editor.WizardStepDescriptor`1.IsSkipped from IsSkipped(AchievementSyncWizardStep, AchievementSyncWizardSession), so the base walks Back/Next over it and greys its breadcrumb slot on its own. A completion handler's own jump (Serenity.Achievements.Infrastructure.Editor.Sync.AchievementSyncWindow.RunApply, the push/copilot handlers, "Sync again") passes honourStepGate: false — it already ran only once the step it is leaving was satisfied.

    Constructors

    AchievementSyncWindow()

    Declaration
    public AchievementSyncWindow()

    Properties

    PrimaryButtonLabel

    Declaration
    protected override string PrimaryButtonLabel { get; }
    Property Value
    Type Description
    string

    WindowTitle

    Declaration
    protected override string WindowTitle { get; }
    Property Value
    Type Description
    string

    Methods

    BuildSteps()

    Declaration
    protected override WizardStepDescriptor<AchievementSyncWizardStep>[] BuildSteps()
    Returns
    Type Description
    WizardStepDescriptor<AchievementSyncWizardStep>[]

    DrawBelowFooter()

    Declaration
    protected override void DrawBelowFooter()

    OnBeforeDrawStep()

    While an apply waits for its icons, everything that could change what it was confirmed for — the breadcrumb, Back and Next, the choices on the step — stays greyed out; only the button that cancels the wait is live.

    Declaration
    protected override void OnBeforeDrawStep()

    OnPrimaryAction()

    Declaration
    protected override void OnPrimaryAction()

    Open()

    Opens the Achievement Platform Sync wizard.

    Declaration
    public static void Open()
    In this article
    © 2026 Serenity. All Rights Reserved