logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Struct AchievementSyncExistingAchievement

    An achievement the project already holds, as far as localization keys go: its id, and the keys its text is actually filed under when those are not simply the ones its id derives.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetType()
    Namespace: Serenity.Achievements.Application.Sync
    Assembly: Serenity.Achievements.Application.dll
    Syntax
    public readonly struct AchievementSyncExistingAchievement

    Constructors

    AchievementSyncExistingAchievement(string, IReadOnlyList<string>)

    Names an achievement the project holds.

    Declaration
    public AchievementSyncExistingAchievement(string localId, IReadOnlyList<string> heldKeys = null)
    Parameters
    Type Name Description
    string localId

    The achievement's id.

    IReadOnlyList<string> heldKeys

    The localization keys its name and description actually use, or none when it holds literal text.

    Properties

    HeldKeys

    Declaration
    public IReadOnlyList<string> HeldKeys { get; }
    Property Value
    Type Description
    IReadOnlyList<string>

    The keys its text is actually filed under; empty for an achievement holding literal text.

    LocalId

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

    The achievement's id.

    In this article
    © 2026 Serenity. All Rights Reserved