|
ngl_server 1.0
基于 Actor 模型的 C++ 服务器框架
|
条件节点包装类。 More...
#include <nbt.h>
Public Member Functions | |
| nbt_condition_node (const std::string &aname, const BT::NodeConfig &aconfig, nbt_node_callback< TACTOR > afun) | |
| 构造函数。 | |
| nbt_status | tick () override |
| 执行条件评估。 | |
条件节点包装类。
继承自BT::ConditionNode,用于评估条件表达式。 条件节点应只返回SUCCESS或FAILURE,不应返回RUNNING。
| TACTOR | Actor类型 |
|
inline |
构造函数。
| aname | 节点实例名称 |
| aconfig | 节点配置 |
| afun | 用户注册的条件回调函数 |
|
inlineoverride |
执行条件评估。