跳转到内容

Status

此内容尚不支持你的语言。

Defined in: ai/status.ts:13

status.ts

Shared AI task status — the return type that unifies FSM actions and behavior-tree nodes.

A registered action may return a Status (a BT leaf that can run across frames) or nothing (a one-shot FSM action). BT treats a void return as Success; FSM ignores the return entirely. One registry, two consumers.

Failure: "failure"

Defined in: ai/status.ts:15


Running: "running"

Defined in: ai/status.ts:16


Success: "success"

Defined in: ai/status.ts:14