logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class AiPromptWizardStepPlan

    Builds the wizard's dynamic step list: a fixed head (Skills, Instructions, Intents), one Configure page per selected intent in AiPromptIntentKind canonical order regardless of selection order, and a fixed tail (Review, Output). Pure and Unity-free so the whole flow shape is unit-testable without an editor.

    Inheritance
    object
    AiPromptWizardStepPlan
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.Editor.AiPromptBuilder
    Assembly: Serenity.AiPromptBuilder.Editor.dll
    Syntax
    public static class AiPromptWizardStepPlan

    Methods

    Build(IReadOnlyList<AiPromptIntentKind>)

    Declaration
    public static IReadOnlyList<AiPromptWizardStep> Build(IReadOnlyList<AiPromptIntentKind> selectedIntents)
    Parameters
    Type Name Description
    IReadOnlyList<AiPromptIntentKind> selectedIntents
    Returns
    Type Description
    IReadOnlyList<AiPromptWizardStep>

    IndexOf(IReadOnlyList<AiPromptWizardStep>, AiPromptWizardStepKind, AiPromptIntentKind?)

    The index of the step matching kind (and, for IntentConfigure, intentKind) in plan, or -1 when no step matches — e.g. a Configure page whose intent was just deselected.

    Declaration
    public static int IndexOf(IReadOnlyList<AiPromptWizardStep> plan, AiPromptWizardStepKind kind, AiPromptIntentKind? intentKind = null)
    Parameters
    Type Name Description
    IReadOnlyList<AiPromptWizardStep> plan
    AiPromptWizardStepKind kind
    AiPromptIntentKind? intentKind
    Returns
    Type Description
    int

    Titles(IReadOnlyList<AiPromptWizardStep>)

    Declaration
    public static string[] Titles(IReadOnlyList<AiPromptWizardStep> plan)
    Parameters
    Type Name Description
    IReadOnlyList<AiPromptWizardStep> plan
    Returns
    Type Description
    string[]
    In this article
    © 2026 Serenity. All Rights Reserved