Skip to content

@advjs/monorepo / @advjs/types / AdvFountainNode

Interface: AdvFountainNode ​

Defined in: packages/types/src/flow/node.ts:131

use fountain to write dialogues

Extends ​

Properties ​

ast? ​

optional ast?: Root

Defined in: packages/types/src/flow/node.ts:149

解析后的语法树


id ​

id: string

Defined in: packages/types/src/flow/node.ts:10

Inherited from ​

AdvBaseNode.id


next? ​

optional next?: string | { chapterId: string; nodeId: string; }

Defined in: packages/types/src/flow/node.ts:34

目标节点

默认跳转当前章节下的节点

Runtime ​

Inherited from ​

AdvBaseNode.next


order? ​

optional order?: number

Defined in: packages/types/src/flow/node.ts:144

运行时索引顺序

Runtime ​

Default ​

ts
0

prev? ​

optional prev?: string | { chapterId: string; nodeId: string; }

Defined in: packages/types/src/flow/node.ts:22

前驱节点

运行时标识

Runtime ​

Inherited from ​

AdvBaseNode.prev


src ​

src: string

Defined in: packages/types/src/flow/node.ts:136

fountain file path


type ​

type: "fountain"

Defined in: packages/types/src/flow/node.ts:132

节点类型

Overrides ​

AdvBaseNode.type