logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Struct AchievementsStudioPlatformCoverage

    How one storefront is covered by one achievement: whether the achievement names an identifier for it, and whether the project ships on it at all.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    Namespace: Serenity.Achievements.Infrastructure.Editor.Studio
    Assembly: Serenity.UnityAchievements.Infrastructure.Editor.dll
    Syntax
    public readonly struct AchievementsStudioPlatformCoverage
    Remarks

    Two booleans rather than one, because a missing identifier means opposite things either side of the settings asset. A project that never assigned a Steam platform definition has said it does not ship on Steam, and a blank Steam API name on every achievement is then simply the truth; the same blank on a project that did assign one is the defect the authoring rules report. Collapsing them into "covered / not covered" would paint a local-only project's whole list red.

    Constructors

    AchievementsStudioPlatformCoverage(AchievementPlatformKind, bool, bool)

    Creates a coverage entry.

    Declaration
    public AchievementsStudioPlatformCoverage(AchievementPlatformKind platform, bool hasIdentifier, bool isEnabledInProject)
    Parameters
    Type Name Description
    AchievementPlatformKind platform

    The storefront.

    bool hasIdentifier

    Whether the achievement names an identifier for it.

    bool isEnabledInProject

    Whether the project ships on it.

    Fields

    HasIdentifier

    Declaration
    public readonly bool HasIdentifier
    Field Value
    Type Description
    bool

    Whether the achievement names an identifier for that storefront.

    IsEnabledInProject

    Declaration
    public readonly bool IsEnabledInProject
    Field Value
    Type Description
    bool

    Whether any achievement settings asset in the project assigns that storefront.

    Platform

    Declaration
    public readonly AchievementPlatformKind Platform
    Field Value
    Type Description
    AchievementPlatformKind

    The storefront this describes.

    Properties

    Initial

    Declaration
    public string Initial { get; }
    Property Value
    Type Description
    string

    The single letter a list row shows for this storefront.

    IsMissingIdentifier

    Declaration
    public bool IsMissingIdentifier { get; }
    Property Value
    Type Description
    bool

    Whether the project ships on this storefront and the achievement has no identifier for it.

    In this article
    © 2026 Serenity. All Rights Reserved