One immutable step of a compiled sequence. 更多...
#include <SequenceAsset.h>
Public 属性 | |
| std::string | id |
| std::string | type |
| std::string | next |
| eve::Value | payload = eve::Value::Object{} |
| std::vector< SequenceRoute > | routes |
| int | sourceLine = 0 |
| int | sourceColumn = 0 |
详细描述
One immutable step of a compiled sequence.
type is a plain string so the vocabulary is owned by a StepKindRegistry rather than by a closed enum in the compiler. Core control-flow types (branch / choice / call / wait / end) are interpreted by the runtime; every other type is dispatched to its registered handler and its payload schema is validated by that registration.
在文件 SequenceAsset.h 第 66 行定义.
类成员变量说明
◆ id
| std::string eve::dnut::SequenceNode::id |
◆ next
| std::string eve::dnut::SequenceNode::next |
在文件 SequenceAsset.h 第 69 行定义.
◆ payload
| eve::Value eve::dnut::SequenceNode::payload = eve::Value::Object{} |
在文件 SequenceAsset.h 第 70 行定义.
◆ routes
| std::vector<SequenceRoute> eve::dnut::SequenceNode::routes |
在文件 SequenceAsset.h 第 71 行定义.
被这些函数引用 eve::dialogue::DialogueFlow::getRouteId() , 以及 eve::dialogue::DialogueFlow::getRouteText().
◆ sourceColumn
| int eve::dnut::SequenceNode::sourceColumn = 0 |
在文件 SequenceAsset.h 第 73 行定义.
◆ sourceLine
| int eve::dnut::SequenceNode::sourceLine = 0 |
在文件 SequenceAsset.h 第 72 行定义.
◆ type
| std::string eve::dnut::SequenceNode::type |
在文件 SequenceAsset.h 第 68 行定义.
被这些函数引用 eve::dialogue::DialogueFlow::getNodeKind() , 以及 eve::dnut::SequenceRuntime::restoreState().
该结构体的文档由以下文件生成:
- src/modules/dnut_interpreter/SequenceAsset.h