logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Enum AchievementSdkInstallationState

    Where one storefront SDK sits in the install-then-define transaction.

    Namespace: Serenity.Achievements.Infrastructure.Editor.Platforms
    Assembly: Serenity.UnityAchievements.Infrastructure.Editor.dll
    Syntax
    public enum AchievementSdkInstallationState
    Remarks

    The order of the two operations is the whole reason this check exists, and the two failure modes are not equally bad. DefineSetWithoutSdk stops the project compiling: the gateway's real branch is behind that define and it opens with a using of an assembly that is not there, so the error names a namespace rather than the missing install. InstalledDefineMissing costs nothing but a warning at runtime — the gateway stays inert and the unlock is retried later. So the safe ordering is always install, verify, then define, and the doctor only ever offers the move that keeps a project on the benign side.

    Fields

    Name Description
    DefineSetWithoutSdk

    The define is set while the SDK is missing: the project will not compile.

    InspectionFailed

    The project could not be asked. Told apart from every other value on purpose: "we do not know" is not "not installed", and reporting the second would send a reader off to install something that may already be there.

    InstalledDefineMissing

    The SDK is present but its define is not set, so the gateway stays inert.

    NotInstalled

    The SDK is absent and its define is not set: this project does not ship on that storefront.

    NotRedistributable

    The SDK cannot be obtained through Serenity — it ships under a vendor agreement, or it arrives with a Unity platform module rather than as a package — and it is not here yet.

    Ready

    The SDK is present and its define is set.

    In this article
    © 2026 Serenity. All Rights Reserved