Skip to content

Class UTryllNodeParamsBase

ClassList > UTryllNodeParamsBase

More...

  • #include <TryllNodeParamsBase.h>

Inherits the following classes: UObject

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

Public Functions

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

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

Protected Functions

Type Name
virtual void ApplyOldDefaults (int32 SavedVersion)
virtual bool UpgradeFrom (int32 SavedVersion)

Detailed Description

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

Public Functions Documentation

function GetDocsUrl

inline virtual FString UTryllNodeParamsBase::GetDocsUrl () const

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.


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), 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 IsTtsConsumer

inline virtual bool UTryllNodeParamsBase::IsTtsConsumer () const

True when this node speaks through the agent's voice (Speak, GenerateAndSpeak). A graph with such a node needs a voice profile. From the schema's (tts_consumer).


function Pack

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

function PostLoad

virtual void UTryllNodeParamsBase::PostLoad () override

function Serialize

virtual void UTryllNodeParamsBase::Serialize (
    FArchive & Ar
) override

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). 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).


Protected Functions Documentation

function ApplyOldDefaults

virtual void UTryllNodeParamsBase::ApplyOldDefaults (
    int32 SavedVersion
) 

Called before saved properties load, for packages saved at SavedVersion (an FTryllAssetVersion).


function UpgradeFrom

virtual bool UTryllNodeParamsBase::UpgradeFrom (
    int32 SavedVersion
) 

Called after load, for packages saved at SavedVersion. Returns true if anything changed.



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