logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class AchievementSyncPlanOptions

    What the project, rather than the storefront, tells AchievementSyncPlanner about a pull: the locale the authored text is written in, whether the project can take translations into a string table, and which languages its string table collection already has a table for.

    Inheritance
    object
    AchievementSyncPlanOptions
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    Namespace: Serenity.Achievements.Application.Sync
    Assembly: Serenity.Achievements.Application.dll
    Syntax
    public sealed class AchievementSyncPlanOptions
    Remarks

    Vendor-neutral on purpose: the planner never learns how a storefront names a language, only the locale codes its records carry and the display names its capabilities supply.

    Constructors

    AchievementSyncPlanOptions()

    Declaration
    public AchievementSyncPlanOptions()

    Properties

    AuthoringLocaleCode

    The locale an authored achievement's literal text is written in.

    Declaration
    public string AuthoringLocaleCode { get; set; }
    Property Value
    Type Description
    string

    CanImportTranslations

    Whether a pull can file translated text in a string table the project owns. Only then does the plan offer an achievement that holds literal text to adopt localization keys.

    Declaration
    public bool CanImportTranslations { get; set; }
    Property Value
    Type Description
    bool

    None

    The options a plan gets when the caller names none: no translations to import.

    Declaration
    public static AchievementSyncPlanOptions None { get; }
    Property Value
    Type Description
    AchievementSyncPlanOptions

    ProjectLocaleCodes

    The locale codes the project has a locale for, spelled as the project registers them, or null when the plan is not asked to tell a missing language from one the project has under another spelling.

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

    TableLocaleCodes

    The locale codes the string table collection already has a table for, or null when the plan is not asked to point out languages the storefront has and the project lacks.

    Declaration
    public IReadOnlyList<string> TableLocaleCodes { get; set; }
    Property Value
    Type Description
    IReadOnlyList<string>
    In this article
    © 2026 Serenity. All Rights Reserved