mirror of
https://github.com/blanking003/cx-cocos.git
synced 2026-09-23 14:07:28 +00:00
21 lines
318 B
C++
21 lines
318 B
C++
|
|||
|
|
#pragma once
|
||
|
|
|
||
|
|
#include "cocos/base/Value.h"
|
||
|
|
#include "cxDefine.h"
|
||
|
|
|
||
|
|
class CxIntf : public NativeIntfClass
|
||
|
|
{
|
||
|
|
public:
|
||
|
|
static CxIntf* ins();
|
||
|
|
|
||
|
|
virtual std::string call(std::string fname, cc::ValueVector params, const DataCallback& callback) override;
|
||
|
|
|
||
|
|
static DataCallback m_cxCallback;
|
||
|
|
|
||
|
|
private:
|
||
|
|
|
||
|
|
|
||
|
|
};
|
||
|
|
|