Class UTryllRegexGuardrailParams¶
ClassList > UTryllRegexGuardrailParams
#include <TryllRegexGuardrailParams.h>
Inherits the following classes: UTryllNodeParamsBase
Public Attributes¶
| Type | Name |
|---|---|
| TArray< FString > | InlineStrings |
| FTryllSlotInput | Input |
| FString | NotTriggeredExit |
| FTryllStoragePath | StringStorage |
| FString | TriggeredExit |
| bool | bOverrideInput = false |
Public Functions¶
| Type | Name |
|---|---|
| virtual FString | GetDocsUrl () override const |
| virtual ETryllNodeType | GetNodeType () override const |
| virtual flatbuffers::Offset< void > | Pack (flatbuffers::FlatBufferBuilder & Fbb, Tryll::NodeParams::NodeParams & OutType) override const |
Public Functions inherited from UTryllNodeParamsBase¶
| Type | Name |
|---|---|
| virtual FString | GetDocsUrl () const |
| virtual TArray< FString > | GetExitTargetOptions () const |
| virtual ETryllNodeType | GetNodeType () const |
| FString | GetOwnerNodeName () const |
| virtual bool | IsTtsConsumer () const |
| virtual flatbuffers::Offset< void > | Pack (flatbuffers::FlatBufferBuilder & Fbb, ::Tryll::NodeParams::NodeParams & OutType) const |
| virtual void | PostLoad () override |
| virtual void | Serialize (FArchive & Ar) override |
| ETryllNodeType return | static_cast (0) |
Public Static Functions inherited from UTryllNodeParamsBase¶
| Type | Name |
|---|---|
| const FTryllGraphDescription * | FindEnclosingGraph (const UObject * Obj) |
Protected Functions inherited from UTryllNodeParamsBase¶
| Type | Name |
|---|---|
| virtual void | ApplyOldDefaults (int32 SavedVersion) |
| virtual bool | UpgradeFrom (int32 SavedVersion) |
Detailed Description¶
Regex guardrail node backed by session string storage. Branches on whether the node's input slot text matches a pattern in the storage. Resolution priority (factory): named string_storage → inline_strings → server-wide default (default-guardrail-patterns.txt from server-config).
Public Attributes Documentation¶
variable InlineStrings¶
Regex patterns typed here; used when String Storage is empty.
variable Input¶
Upstream inter-node slot this field consumes. Empty = context default.
variable NotTriggeredExit¶
Node to run when no pattern matches. Empty = end the turn. Graph exit "not_triggered" — target node name; empty = END.
variable StringStorage¶
File of regex patterns, one per line. Used instead of Inline Strings. Both empty = the server's default patterns.
variable TriggeredExit¶
Node to run when the Input matches a pattern. Empty = end the turn. Graph exit "triggered" — target node name; empty = END.
variable bOverrideInput¶
Text checked against the patterns: the player's message or an earlier node's output. Empty = the player's message. Set to true to override the inherited Input value.
Public Functions Documentation¶
function GetDocsUrl¶
Reference page of this node type on docs.tryllengine.com, opened by the editor's help button. Empty for test-only node types, which have no page.
Implements UTryllNodeParamsBase::GetDocsUrl
function GetNodeType¶
Implements UTryllNodeParamsBase::GetNodeType
function Pack¶
virtual flatbuffers::Offset< void > UTryllRegexGuardrailParams::Pack (
flatbuffers::FlatBufferBuilder & Fbb,
Tryll::NodeParams::NodeParams & OutType
) override const
Implements UTryllNodeParamsBase::Pack
The documentation for this class was generated from the following file C:/_tryll/_monorepo3/tryll/clients/unreal/Source/TryllClient/Public/Generated/Nodes/TryllRegexGuardrailParams.h