Base class for instanced prompt text providers that build available, unavailable, and structured prompt presentation for command entries.
UCLASS(Blueprintable, EditInlineNew, DefaultToInstanced, CollapseCategories, DisplayName = "Generic Interaction Prompt Provider")
class INTERACTIONFRAMEWORKRUNTIME_API UInteractionRuntimePromptTextProvider : public UObject
Members
BuildDefaultParts
Builds the semantic prompt parts for the current presentation.
FlattenPresentation
Flattens structured prompt parts into a single PromptText fallback.
MakeAvailableText
Builds the default available-state text used by the base TryBuildPromptPresentation implementation.
MakeFailureText
Builds the default unavailable-state text used by the base TryBuildPromptPresentation implementation.
Include Key In Default Available Text
Include key/input text in default available prompts.
Include Pattern In Default Available Text
Include input-pattern text in default available prompts.
Include Progress In Default Available Text
Include progress text in default available prompts.
Use Cases
- Generate command prompt text from standard prompt tokens and runtime context.
- Customize prompt wording for cooldowns, progress, participants, failures, and input family.
Notes
- FormatPromptTemplate replaces standard prompt tokens in a text template.