导出节点元数据

This commit is contained in:
gongxh
2025-09-08 16:49:40 +08:00
parent 6d6162031a
commit 6ae0b4200a

View File

@@ -155,3 +155,8 @@ export namespace BT {
return metadata.maxChildren === -1 || currentChildCount < metadata.maxChildren; return metadata.maxChildren === -1 || currentChildCount < metadata.maxChildren;
} }
} }
let _global = globalThis || window || global;
(_global as any)["getKunpoBTNodeMaps"] = function () {
return BT.getAllNodeMetadata();
};