logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class UnlockAchievementSignal

    Dispatched to unlock an achievement through UnlockAchievementAction, so a designer can wire "award this" from a no-code signal trigger instead of a call to IAchievementService.

    Inheritance
    object
    UnlockAchievementSignal
    Namespace: Serenity.Achievements.Application.Events
    Assembly: Serenity.Achievements.Application.dll
    Syntax
    public class UnlockAchievementSignal : EventDispatcherSignal

    Constructors

    UnlockAchievementSignal()

    Initializes a new instance of the UnlockAchievementSignal class.

    Declaration
    public UnlockAchievementSignal()

    UnlockAchievementSignal(string)

    Initializes a new instance of the UnlockAchievementSignal class.

    Declaration
    public UnlockAchievementSignal(string achievementId)
    Parameters
    Type Name Description
    string achievementId

    The id of the achievement to unlock.

    Fields

    AchievementId

    Declaration
    public readonly string AchievementId
    Field Value
    Type Description
    string

    The id of the achievement to unlock. Must already be registered.

    Methods

    ToString()

    Returns a string representation of the event.

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