logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class AchievementSyncApplyAction

    One recorded outcome for one field change or creation.

    Inheritance
    object
    AchievementSyncApplyAction
    Inherited Members
    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 AchievementSyncApplyAction

    Constructors

    AchievementSyncApplyAction(AchievementSyncApplyOutcome, string, string, AchievementSyncApplyTarget, string)

    Creates an apply action record.

    Declaration
    public AchievementSyncApplyAction(AchievementSyncApplyOutcome outcome, string apiName, string localId, AchievementSyncApplyTarget target, string detail)
    Parameters
    Type Name Description
    AchievementSyncApplyOutcome outcome
    string apiName
    string localId
    AchievementSyncApplyTarget target
    string detail

    Properties

    ApiName

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

    The achievement's platform-side identity key.

    Detail

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

    A short human-readable description of what changed.

    LocalId

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

    The Serenity achievement id, or empty for a row that did not exist locally yet.

    Outcome

    Declaration
    public AchievementSyncApplyOutcome Outcome { get; }
    Property Value
    Type Description
    AchievementSyncApplyOutcome

    What this action resolved to.

    Subject

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

    What this action is about, for display: "{ApiName}/{LocalId}", or just ApiName when no local id exists yet — a fresh PlatformOnly creation that has not landed an asset.

    Target

    Declaration
    public AchievementSyncApplyTarget Target { get; }
    Property Value
    Type Description
    AchievementSyncApplyTarget

    What kind of project data this action wrote, or would write, to.

    Methods

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    string
    Overrides
    object.ToString()
    In this article
    © 2026 Serenity. All Rights Reserved