mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-06 11:31:59 +08:00
f0d2eeb2b3
Adds jsb_init_file_operation_delegate and jsb_enable_debugger for easily use in AppDelegate.cpp.
21 lines
488 B
C++
21 lines
488 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
|
|
namespace se {
|
|
class Object;
|
|
class Class;
|
|
}
|
|
|
|
extern se::Object* __ccObj;
|
|
extern se::Object* __jsbObj;
|
|
|
|
bool jsb_register_global_variables(se::Object* global);
|
|
|
|
void jsb_init_file_operation_delegate();
|
|
bool jsb_enable_debugger(const std::string& debuggerServerAddr, uint32_t port);
|
|
bool jsb_set_extend_property(const char* ns, const char* clsName);
|
|
bool jsb_run_script(const std::string& filePath);
|
|
|
|
void jsb_set_xxtea_key(const std::string& key);
|