logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class DescribingTestAchievementCondition

    A condition outside the ten authored node types, whose Describe(bool) override reads nothing like its DisplayName — proof that AchievementConditionSummary dispatches to a node's own phrasing polymorphically instead of falling back to the display name for every type it does not know by name.

    Inheritance
    object
    DescribingTestAchievementCondition
    Namespace: Serenity.Achievements.Tests.Fakes
    Assembly: Tests.dll
    Syntax
    public class DescribingTestAchievementCondition : AchievementCondition

    Constructors

    DescribingTestAchievementCondition()

    Declaration
    public DescribingTestAchievementCondition()

    Properties

    DisplayName

    Declaration
    public override string DisplayName { get; }
    Property Value
    Type Description
    string

    Methods

    Describe(bool)

    Declaration
    public override string Describe(bool isNested)
    Parameters
    Type Name Description
    bool isNested
    Returns
    Type Description
    string

    IsMet(in AchievementEvaluationContext)

    Declaration
    public override bool IsMet(in AchievementEvaluationContext context)
    Parameters
    Type Name Description
    AchievementEvaluationContext context
    Returns
    Type Description
    bool
    In this article
    © 2026 Serenity. All Rights Reserved