Skip to content

Class UTryllNodeParamsBase

ClassList > UTryllNodeParamsBase

More...

  • #include <TryllNodeParamsBase.h>

Inherits the following classes: UObject

Inherited by the following classes: UTryllBranchParams, UTryllCannedResponseParams, UTryllClassifyIntentLLMParams, UTryllClassifyIntentParams, UTryllGenerateAndSpeakParams, UTryllGenerateParams, UTryllInstructionParams, UTryllIntentToInstructionParams, UTryllPauseParams, UTryllRegexGuardrailParams, UTryllRetrieveParams, UTryllSpeakParams, UTryllToolCallParams, UTryllTransformParams

Public Functions

Type Name
virtual TArray< FString > GetExitTargetOptions () const
virtual ETryllNodeType GetNodeType () const
FString GetOwnerNodeName () const
virtual flatbuffers::Offset< void > Pack (flatbuffers::FlatBufferBuilder & Fbb, ::Tryll::NodeParams::NodeParams & OutType) const
ETryllNodeType return static_cast (0)

Public Static Functions

Type Name
const FTryllGraphDescription * FindEnclosingGraph (const UObject * Obj)

Detailed Description

Abstract base for typed node-parameter UObjects (generated subclasses in this directory).

Public Functions Documentation

function GetExitTargetOptions

virtual TArray< FString > UTryllNodeParamsBase::GetExitTargetOptions () const

Dropdown options for fields tagged with FlatBuffers (exit). Walks the Outer chain to find the enclosing FTryllGraphDescription (typically owned by a UTryllWorkflowAsset or UTryllAgentComponent), then returns: [""] + node names from that graph.

The leading empty string represents END (turn finishes after this node); Unreal's Details panel renders it as a blank entry in the dropdown.

Bound via UPROPERTY meta=(GetOptions="GetExitTargetOptions") on every codegen-emitted exit field. When the params UObject is not part of an editable graph (orphaned / runtime-constructed), returns just [""].


function GetNodeType

virtual ETryllNodeType UTryllNodeParamsBase::GetNodeType () const

function GetOwnerNodeName

FString UTryllNodeParamsBase::GetOwnerNodeName () const

The node name that owns this Params instance within FindEnclosingGraph(this) — i.e. the FTryllNodeDescription whose Params pointer equals this — or the empty string when not found.


function Pack

virtual flatbuffers::Offset< void > UTryllNodeParamsBase::Pack (
    flatbuffers::FlatBufferBuilder & Fbb,
    ::Tryll::NodeParams::NodeParams & OutType
) const

function static_cast

ETryllNodeType return UTryllNodeParamsBase::static_cast (
    0
) 

Public Static Functions Documentation

function FindEnclosingGraph

static const FTryllGraphDescription * UTryllNodeParamsBase::FindEnclosingGraph (
    const UObject * Obj
) 

Walks the Outer chain from Obj to locate the enclosing FTryllGraphDescription (a UTryllWorkflowAsset's Graph or a UTryllAgentComponent's InlineGraphDescription). Returns nullptr when Obj is not part of an editable graph (orphaned / runtime- constructed). Shared by GetExitTargetOptions and the editor-only slot-input dropdown / rename-propagation tooling (TryllClientEditor).



The documentation for this class was generated from the following file C:/_tryll/_monorepo3/tryll/clients/unreal/Source/TryllClient/Public/Generated/Nodes/TryllNodeParamsBase.h