Class UTryllBranchParams¶
ClassList > UTryllBranchParams
#include <TryllBranchParams.h>
Inherits the following classes: UTryllNodeParamsBase
Public Attributes¶
| Type | Name |
|---|---|
| FString | Condition |
| FString | ElseExit |
| FTryllSlotInput | Input |
| ETryllBranchTest | Test = ETryllBranchTest::NonEmpty |
| FString | ThenExit |
| TArray< FString > | Values |
| FString | Variable |
| bool | bNotifyClient = false |
| bool | bOverrideCondition = false |
| bool | bOverrideInput = false |
| bool | bOverrideVariable = false |
Public Functions¶
| Type | Name |
|---|---|
| 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 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 inherited from UTryllNodeParamsBase¶
| Type | Name |
|---|---|
| const FTryllGraphDescription * | FindEnclosingGraph (const UObject * Obj) |
Detailed Description¶
Conditional routing node. Evaluates a test against a turn-local slot or an agent variable and takes then_exit or else_exit. Reader-only: no model, no slot write, no wire emission.
Public Attributes Documentation¶
variable Condition¶
variable ElseExit¶
Exit taken when the test does not match, Expression is false, or the operand is missing. Empty = END. Graph exit "else" — target node name; empty = END.
variable Input¶
Upstream inter-node slot this field consumes. Empty = context default.
variable Test¶
Which predicate to run. Changing this recompiles the active condition.
variable ThenExit¶
Exit taken when the test matches (or Expression is true). Empty = END. Graph exit "then" — target node name; empty = END.
variable Values¶
Candidate literals for Equals / EqualsIgnoreCase / Contains / Regex. Match = any element matches. Unused under NonEmpty / IsTrue / Expression. Mutable — the game can remap cases between turns without recreating the agent.
variable Variable¶
variable bNotifyClient¶
When true, fire OnNodeEvent("branch_taken", …) after routing.
variable bOverrideCondition¶
JSON filter condition used when test=Expression. Supports the retrieve filter grammar plus {"slot":"<name>"} operands. Unused under other tests. Set to true to override the inherited Condition value.
variable bOverrideInput¶
Slot discriminant. Empty = "user_message". Mutually exclusive with a non-empty variable. Unused under test=Expression. Set to true to override the inherited Input value.
variable bOverrideVariable¶
Variable discriminant (name of a declared agent variable). Mutually exclusive with a non-empty input. Unused under test=Expression. Set to true to override the inherited Variable value.
Public Functions Documentation¶
function GetNodeType¶
Implements UTryllNodeParamsBase::GetNodeType
function Pack¶
virtual flatbuffers::Offset< void > UTryllBranchParams::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/TryllBranchParams.h