Skip to content

Class UTryllWriteToMemoryParams

ClassList > UTryllWriteToMemoryParams

More...

  • #include <TryllWriteToMemoryParams.h>

Inherits the following classes: UTryllNodeParamsBase

Public Attributes

Type Name
FString FailedExit
FString Id
FTryllSlotInput Input
FString Schema
FString StorageName
FString WrittenExit
bool bOverrideId = false
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

See 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

See UTryllNodeParamsBase

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

Protected Functions inherited from UTryllNodeParamsBase

See UTryllNodeParamsBase

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

Detailed Description

Upsert the current input slot into a named mutable store. An empty input reads the player's message. Only when that resolved text is empty does the node write nothing and take written_exit; only real write failures take failed_exit.

Public Attributes Documentation

variable FailedExit

FString UTryllWriteToMemoryParams::FailedExit;

Node to run when the store rejects the write (for example, the store is full). Empty = end the turn. Graph exit "failed" — target node name; empty = END.


variable Id

FString UTryllWriteToMemoryParams::Id;

variable Input

FTryllSlotInput UTryllWriteToMemoryParams::Input;

Upstream inter-node slot this field consumes. Empty = context default.


variable Schema

FString UTryllWriteToMemoryParams::Schema;

Record schema of the store. Nodes that read the same store must use the same schema.


variable StorageName

FString UTryllWriteToMemoryParams::StorageName;

Memory store to write to, by name; it lasts for the session. May include agent variables (var.*).


variable WrittenExit

FString UTryllWriteToMemoryParams::WrittenExit;

Node to run after the write, or when the text to store is empty (nothing is written). Empty = end the turn. Graph exit "written" — target node name; empty = END.


variable bOverrideId

bool UTryllWriteToMemoryParams::bOverrideId;

Record id; writing an existing id replaces that record. May include agent variables (var.*). Empty = add a new record each time. Set to true to override the inherited Id value.


variable bOverrideInput

bool UTryllWriteToMemoryParams::bOverrideInput;

Text to store: 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

inline virtual FString UTryllWriteToMemoryParams::GetDocsUrl () override 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.

Implements UTryllNodeParamsBase::GetDocsUrl


function GetNodeType

inline virtual ETryllNodeType UTryllWriteToMemoryParams::GetNodeType () override const

Implements UTryllNodeParamsBase::GetNodeType


function Pack

virtual flatbuffers::Offset< void > UTryllWriteToMemoryParams::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/TryllWriteToMemoryParams.h