#pragma once #include "cocos/base/Value.h" typedef std::function DataCallback; class NativeIntfClass { public: virtual std::string call(std::string fname, cc::ValueVector params, const DataCallback& callback){ return nullptr; }; };