logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class StructuralTestAchievementCondition

    A condition outside the two structural base classes that still reports children through Children — proof that AchievementConditionTree walks whatever overrides the property, not only CompositeAchievementCondition and SingleChildAchievementCondition.

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

    Constructors

    StructuralTestAchievementCondition(params AchievementCondition[])

    Creates a node reporting the given children.

    Declaration
    public StructuralTestAchievementCondition(params AchievementCondition[] children)
    Parameters
    Type Name Description
    AchievementCondition[] children

    The children to report through Children.

    Properties

    Children

    Declaration
    public override IReadOnlyList<AchievementCondition> Children { get; }
    Property Value
    Type Description
    IReadOnlyList<AchievementCondition>

    DisplayName

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

    Methods

    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