logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class AiPromptHudIntent

    Requests a HUD-specific change — extending a named existing UnityHudDefinition when one fits, or creating a new one — with domain questions the generic Extend Module intent does not ask (element representations, signal generation).

    Inheritance
    object
    AiPromptHudIntent
    Implements
    IAiPromptIntent
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    Namespace: Serenity.Editor.AiPromptBuilder
    Assembly: Serenity.AiPromptBuilder.Editor.dll
    Syntax
    public sealed class AiPromptHudIntent : IAiPromptIntent

    Constructors

    AiPromptHudIntent(IAiPromptTemplateSource)

    Declaration
    public AiPromptHudIntent(IAiPromptTemplateSource templates)
    Parameters
    Type Name Description
    IAiPromptTemplateSource templates

    Properties

    ConfigureStepTitle

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

    Title shown on this intent's dedicated Configure step in the wizard.

    Description

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

    One-line explanation of what this intent produces, shown next to its selection checkbox.

    DisplayName

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

    Shown wherever this intent appears in a selection list.

    Kind

    Declaration
    public AiPromptIntentKind Kind { get; }
    Property Value
    Type Description
    AiPromptIntentKind

    Methods

    BuildQuestions(AiPromptProjectScan)

    Declaration
    public IReadOnlyList<AiPromptQuestion> BuildQuestions(AiPromptProjectScan scan)
    Parameters
    Type Name Description
    AiPromptProjectScan scan
    Returns
    Type Description
    IReadOnlyList<AiPromptQuestion>

    Emit(AiPromptAnswerSheet, AiPromptProjectScan, IList<string>)

    Declaration
    public AiPromptSection Emit(AiPromptAnswerSheet answers, AiPromptProjectScan scan, IList<string> warnings)
    Parameters
    Type Name Description
    AiPromptAnswerSheet answers
    AiPromptProjectScan scan
    IList<string> warnings
    Returns
    Type Description
    AiPromptSection

    Validate(AiPromptAnswerSheet)

    Blocking validation errors for the current answers; empty when this intent is ready to emit.

    Declaration
    public IReadOnlyList<string> Validate(AiPromptAnswerSheet answers)
    Parameters
    Type Name Description
    AiPromptAnswerSheet answers
    Returns
    Type Description
    IReadOnlyList<string>

    Implements

    IAiPromptIntent
    In this article
    © 2026 Serenity. All Rights Reserved