3.x打包window项目后,c++和ts怎么通信

官方文档里的jsb绑定对小白来说太难理解了。
window项目里,有引用一个EventDispatcher.h文件:


#pragma once

#include <functional>
#include <memory>

#include "engine/EngineEvents.h"

namespace se {
class Value;
}

namespace cc {
class EventDispatcher {
public:
   static void init();
   static void destroy();
   static bool initialized();

   static void doDispatchJsEvent(const char *jsFunctionName, const std::vector<se::Value> &args);

};

} // end of namespace cc

想知道调用里面的doDispatchJsEvent方法,ts中用 EventTarget能否接收到自定的事件