Adds anysdk bindings configuration.

This commit is contained in:
James Chen
2017-09-22 15:49:57 +08:00
parent 9bd655dbc6
commit db53549dfc
8 changed files with 3030 additions and 1835 deletions
@@ -0,0 +1,799 @@
/**
* @module anysdk_framework
*/
var anysdk = anysdk || {};
/**
* @class PluginProtocol
*/
anysdk.PluginProtocol = {
/**
* @method isFunctionSupported
* @param {String} arg0
* @return {bool}
*/
isFunctionSupported : function (
str
)
{
return false;
},
/**
* @method getPluginName
* @return {char}
*/
getPluginName : function (
)
{
return 0;
},
/**
* @method getPluginVersion
* @return {String}
*/
getPluginVersion : function (
)
{
return ;
},
/**
* @method setPluginName
* @param {char} arg0
*/
setPluginName : function (
char
)
{
},
/**
* @method getSDKVersion
* @return {String}
*/
getSDKVersion : function (
)
{
return ;
},
};
/**
* @class PluginFactory
*/
anysdk.PluginFactory = {
/**
* @method purgeFactory
*/
purgeFactory : function (
)
{
},
/**
* @method getInstance
* @return {anysdk::framework::PluginFactory}
*/
getInstance : function (
)
{
return anysdk::framework::PluginFactory;
},
};
/**
* @class PluginManager
*/
anysdk.PluginManager = {
/**
* @method unloadPlugin
* @param {char} arg0
* @param {int} arg1
*/
unloadPlugin : function (
char,
int
)
{
},
/**
* @method loadPlugin
* @param {char} arg0
* @param {int} arg1
* @return {anysdk::framework::PluginProtocol}
*/
loadPlugin : function (
char,
int
)
{
return anysdk::framework::PluginProtocol;
},
/**
* @method end
*/
end : function (
)
{
},
/**
* @method getInstance
* @return {anysdk::framework::PluginManager}
*/
getInstance : function (
)
{
return anysdk::framework::PluginManager;
},
};
/**
* @class ProtocolAnalytics
*/
anysdk.ProtocolAnalytics = {
/**
* @method logTimedEventBegin
* @param {char} arg0
*/
logTimedEventBegin : function (
char
)
{
},
/**
* @method logError
* @param {char} arg0
* @param {char} arg1
*/
logError : function (
char,
char
)
{
},
/**
* @method setCaptureUncaughtException
* @param {bool} arg0
*/
setCaptureUncaughtException : function (
bool
)
{
},
/**
* @method setSessionContinueMillis
* @param {long} arg0
*/
setSessionContinueMillis : function (
long
)
{
},
/**
* @method startSession
*/
startSession : function (
)
{
},
/**
* @method stopSession
*/
stopSession : function (
)
{
},
/**
* @method logTimedEventEnd
* @param {char} arg0
*/
logTimedEventEnd : function (
char
)
{
},
};
/**
* @class ProtocolIAP
*/
anysdk.ProtocolIAP = {
/**
* @method getPluginId
* @return {String}
*/
getPluginId : function (
)
{
return ;
},
/**
* @method getOrderId
* @return {String}
*/
getOrderId : function (
)
{
return ;
},
/**
* @method resetPayState
*/
resetPayState : function (
)
{
},
};
/**
* @class ProtocolAds
*/
anysdk.ProtocolAds = {
/**
* @method showAds
* @param {anysdk::framework::AdsType} arg0
* @param {int} arg1
*/
showAds : function (
adstype,
int
)
{
},
/**
* @method hideAds
* @param {anysdk::framework::AdsType} arg0
* @param {int} arg1
*/
hideAds : function (
adstype,
int
)
{
},
/**
* @method queryPoints
* @return {float}
*/
queryPoints : function (
)
{
return 0;
},
/**
* @method isAdTypeSupported
* @param {anysdk::framework::AdsType} arg0
* @return {bool}
*/
isAdTypeSupported : function (
adstype
)
{
return false;
},
/**
* @method preloadAds
* @param {anysdk::framework::AdsType} arg0
* @param {int} arg1
*/
preloadAds : function (
adstype,
int
)
{
},
/**
* @method spendPoints
* @param {int} arg0
*/
spendPoints : function (
int
)
{
},
};
/**
* @class ProtocolSocial
*/
anysdk.ProtocolSocial = {
/**
* @method showLeaderboard
* @param {char} arg0
*/
showLeaderboard : function (
char
)
{
},
/**
* @method signOut
*/
signOut : function (
)
{
},
/**
* @method showAchievements
*/
showAchievements : function (
)
{
},
/**
* @method signIn
*/
signIn : function (
)
{
},
/**
* @method submitScore
* @param {char} arg0
* @param {long} arg1
*/
submitScore : function (
char,
long
)
{
},
};
/**
* @class ProtocolUser
*/
anysdk.ProtocolUser = {
/**
* @method isLogined
* @return {bool}
*/
isLogined : function (
)
{
return false;
},
/**
* @method getUserID
* @return {String}
*/
getUserID : function (
)
{
return ;
},
/**
* @method login
* @param {map_object} map
*/
login : function(
map
)
{
},
/**
* @method getPluginId
* @return {String}
*/
getPluginId : function (
)
{
return ;
},
};
/**
* @class ProtocolPush
*/
anysdk.ProtocolPush = {
/**
* @method startPush
*/
startPush : function (
)
{
},
/**
* @method closePush
*/
closePush : function (
)
{
},
/**
* @method delAlias
* @param {String} arg0
*/
delAlias : function (
str
)
{
},
/**
* @method setAlias
* @param {String} arg0
*/
setAlias : function (
str
)
{
},
};
/**
* @class ProtocolCrash
*/
anysdk.ProtocolCrash = {
/**
* @method setUserIdentifier
* @param {char} arg0
*/
setUserIdentifier : function (
char
)
{
},
/**
* @method reportException
* @param {char} arg0
* @param {char} arg1
*/
reportException : function (
char,
char
)
{
},
/**
* @method leaveBreadcrumb
* @param {char} arg0
*/
leaveBreadcrumb : function (
char
)
{
},
};
/**
* @class ProtocolREC
*/
anysdk.ProtocolREC = {
/**
* @method share
* @param {map_object} arg0
*/
share : function (
map
)
{
},
/**
* @method startRecording
*/
startRecording : function (
)
{
},
/**
* @method stopRecording
*/
stopRecording : function (
)
{
},
};
/**
* @class ProtocolCustom
*/
anysdk.ProtocolCustom = {
};
/**
* @class ProtocolAdTracking
*/
anysdk.ProtocolAdTracking = {
/**
* @method onPay
* @param {map_object} arg0
*/
onPay : function (
map
)
{
},
/**
* @method onLogin
* @param {map_object} arg0
*/
onLogin : function (
map
)
{
},
/**
* @method onRegister
* @param {char} arg0
*/
onRegister : function (
char
)
{
},
};
/**
* @class AgentManager
*/
anysdk.AgentManager = {
/**
* @method unloadAllPlugins
*/
unloadAllPlugins : function (
)
{
},
/**
* @method getSocialPlugin
* @return {anysdk::framework::ProtocolSocial}
*/
getSocialPlugin : function (
)
{
return anysdk::framework::ProtocolSocial;
},
/**
* @method getPushPlugin
* @return {anysdk::framework::ProtocolPush}
*/
getPushPlugin : function (
)
{
return anysdk::framework::ProtocolPush;
},
/**
* @method getUserPlugin
* @return {anysdk::framework::ProtocolUser}
*/
getUserPlugin : function (
)
{
return anysdk::framework::ProtocolUser;
},
/**
* @method getAdTrackingPlugin
* @return {anysdk::framework::ProtocolAdTracking}
*/
getAdTrackingPlugin : function (
)
{
return anysdk::framework::ProtocolAdTracking;
},
/**
* @method getCustomPlugin
* @return {anysdk::framework::ProtocolCustom}
*/
getCustomPlugin : function (
)
{
return anysdk::framework::ProtocolCustom;
},
/**
* @method getCustomParam
* @return {String}
*/
getCustomParam : function (
)
{
return ;
},
/**
* @method loadAllPlugins
*/
loadAllPlugins : function (
)
{
},
/**
* @method init
* @param {String} arg0
* @param {String} arg1
* @param {String} arg2
* @param {String} arg3
*/
init : function (
str,
str,
str,
str
)
{
},
/**
* @method isAnaylticsEnabled
* @return {bool}
*/
isAnaylticsEnabled : function (
)
{
return false;
},
/**
* @method getChannelId
* @return {String}
*/
getChannelId : function (
)
{
return ;
},
/**
* @method getAdsPlugin
* @return {anysdk::framework::ProtocolAds}
*/
getAdsPlugin : function (
)
{
return anysdk::framework::ProtocolAds;
},
/**
* @method setIsAnaylticsEnabled
* @param {bool} arg0
*/
setIsAnaylticsEnabled : function (
bool
)
{
},
/**
* @method getSharePlugin
* @return {anysdk::framework::ProtocolShare}
*/
getSharePlugin : function (
)
{
return anysdk::framework::ProtocolShare;
},
/**
* @method getAnalyticsPlugin
* @return {anysdk::framework::ProtocolAnalytics}
*/
getAnalyticsPlugin : function (
)
{
return anysdk::framework::ProtocolAnalytics;
},
/**
* @method getRECPlugin
* @return {anysdk::framework::ProtocolREC}
*/
getRECPlugin : function (
)
{
return anysdk::framework::ProtocolREC;
},
/**
* @method getCrashPlugin
* @return {anysdk::framework::ProtocolCrash}
*/
getCrashPlugin : function (
)
{
return anysdk::framework::ProtocolCrash;
},
/**
* @method end
*/
end : function (
)
{
},
/**
* @method getInstance
* @return {anysdk::framework::AgentManager}
*/
getInstance : function (
)
{
return anysdk::framework::AgentManager;
},
};
/**
* @class JSBRelation
*/
anysdk.JSBRelation = {
/**
* @method getMethodsOfPlugin
* @param {anysdk::framework::PluginProtocol} arg0
* @return {String}
*/
getMethodsOfPlugin : function (
pluginprotocol
)
{
return ;
},
};
@@ -1,5 +1,4 @@
#include "jsb_anysdk_protocols_auto.hpp"
#include "jsb_anysdk_basic_conversions.h"
#include "scripting/js-bindings/manual/jsb_conversions.hpp"
#include "PluginManager.h"
#include "ProtocolAnalytics.h"
@@ -158,7 +157,7 @@ static bool js_anysdk_framework_PluginFactory_getInstance(se::State& s)
CC_UNUSED bool ok = true;
if (argc == 0) {
anysdk::framework::PluginFactory* result = anysdk::framework::PluginFactory::getInstance();
ok &= native_ptr_to_seval<anysdk::framework::PluginFactory>((anysdk::framework::PluginFactory*)result, &s.rval());
ok &= native_ptr_to_rooted_seval<anysdk::framework::PluginFactory>((anysdk::framework::PluginFactory*)result, &s.rval());
SE_PRECONDITION2(ok, false, "js_anysdk_framework_PluginFactory_getInstance : Error processing arguments");
return true;
}
@@ -207,7 +206,7 @@ static bool js_anysdk_framework_PluginManager_unloadPlugin(se::State& s)
const char* arg0 = nullptr;
int arg1 = 0;
std::string arg0_tmp; ok &= seval_to_std_string(args[0], &arg0_tmp); arg0 = arg0_tmp.c_str();
ok &= seval_to_int32(args[1], (int32_t *)&arg1);
ok &= seval_to_int32(args[1], (int32_t*)&arg1);
SE_PRECONDITION2(ok, false, "js_anysdk_framework_PluginManager_unloadPlugin : Error processing arguments");
cobj->unloadPlugin(arg0, arg1);
return true;
@@ -228,10 +227,10 @@ static bool js_anysdk_framework_PluginManager_loadPlugin(se::State& s)
const char* arg0 = nullptr;
int arg1 = 0;
std::string arg0_tmp; ok &= seval_to_std_string(args[0], &arg0_tmp); arg0 = arg0_tmp.c_str();
ok &= seval_to_int32(args[1], (int32_t *)&arg1);
ok &= seval_to_int32(args[1], (int32_t*)&arg1);
SE_PRECONDITION2(ok, false, "js_anysdk_framework_PluginManager_loadPlugin : Error processing arguments");
anysdk::framework::PluginProtocol* result = cobj->loadPlugin(arg0, arg1);
ok &= native_ptr_to_seval<anysdk::framework::PluginProtocol>((anysdk::framework::PluginProtocol*)result, &s.rval());
ok &= native_ptr_to_rooted_seval<anysdk::framework::PluginProtocol>((anysdk::framework::PluginProtocol*)result, &s.rval());
SE_PRECONDITION2(ok, false, "js_anysdk_framework_PluginManager_loadPlugin : Error processing arguments");
return true;
}
@@ -260,7 +259,7 @@ static bool js_anysdk_framework_PluginManager_getInstance(se::State& s)
CC_UNUSED bool ok = true;
if (argc == 0) {
anysdk::framework::PluginManager* result = anysdk::framework::PluginManager::getInstance();
ok &= native_ptr_to_seval<anysdk::framework::PluginManager>((anysdk::framework::PluginManager*)result, &s.rval());
ok &= native_ptr_to_rooted_seval<anysdk::framework::PluginManager>((anysdk::framework::PluginManager*)result, &s.rval());
SE_PRECONDITION2(ok, false, "js_anysdk_framework_PluginManager_getInstance : Error processing arguments");
return true;
}
@@ -530,7 +529,7 @@ static bool js_anysdk_framework_ProtocolAds_showAds(se::State& s)
CC_UNUSED bool ok = true;
if (argc == 1) {
anysdk::framework::AdsType arg0;
ok &= seval_to_int32(args[0], (int32_t *)&arg0);
ok &= seval_to_uint32(args[0], (uint32_t*)&arg0);
SE_PRECONDITION2(ok, false, "js_anysdk_framework_ProtocolAds_showAds : Error processing arguments");
cobj->showAds(arg0);
return true;
@@ -538,8 +537,8 @@ static bool js_anysdk_framework_ProtocolAds_showAds(se::State& s)
if (argc == 2) {
anysdk::framework::AdsType arg0;
int arg1 = 0;
ok &= seval_to_int32(args[0], (int32_t *)&arg0);
ok &= seval_to_int32(args[1], (int32_t *)&arg1);
ok &= seval_to_uint32(args[0], (uint32_t*)&arg0);
ok &= seval_to_int32(args[1], (int32_t*)&arg1);
SE_PRECONDITION2(ok, false, "js_anysdk_framework_ProtocolAds_showAds : Error processing arguments");
cobj->showAds(arg0, arg1);
return true;
@@ -558,7 +557,7 @@ static bool js_anysdk_framework_ProtocolAds_hideAds(se::State& s)
CC_UNUSED bool ok = true;
if (argc == 1) {
anysdk::framework::AdsType arg0;
ok &= seval_to_int32(args[0], (int32_t *)&arg0);
ok &= seval_to_uint32(args[0], (uint32_t*)&arg0);
SE_PRECONDITION2(ok, false, "js_anysdk_framework_ProtocolAds_hideAds : Error processing arguments");
cobj->hideAds(arg0);
return true;
@@ -566,8 +565,8 @@ static bool js_anysdk_framework_ProtocolAds_hideAds(se::State& s)
if (argc == 2) {
anysdk::framework::AdsType arg0;
int arg1 = 0;
ok &= seval_to_int32(args[0], (int32_t *)&arg0);
ok &= seval_to_int32(args[1], (int32_t *)&arg1);
ok &= seval_to_uint32(args[0], (uint32_t*)&arg0);
ok &= seval_to_int32(args[1], (int32_t*)&arg1);
SE_PRECONDITION2(ok, false, "js_anysdk_framework_ProtocolAds_hideAds : Error processing arguments");
cobj->hideAds(arg0, arg1);
return true;
@@ -604,7 +603,7 @@ static bool js_anysdk_framework_ProtocolAds_isAdTypeSupported(se::State& s)
CC_UNUSED bool ok = true;
if (argc == 1) {
anysdk::framework::AdsType arg0;
ok &= seval_to_int32(args[0], (int32_t *)&arg0);
ok &= seval_to_uint32(args[0], (uint32_t*)&arg0);
SE_PRECONDITION2(ok, false, "js_anysdk_framework_ProtocolAds_isAdTypeSupported : Error processing arguments");
bool result = cobj->isAdTypeSupported(arg0);
ok &= boolean_to_seval(result, &s.rval());
@@ -625,7 +624,7 @@ static bool js_anysdk_framework_ProtocolAds_preloadAds(se::State& s)
CC_UNUSED bool ok = true;
if (argc == 1) {
anysdk::framework::AdsType arg0;
ok &= seval_to_int32(args[0], (int32_t *)&arg0);
ok &= seval_to_uint32(args[0], (uint32_t*)&arg0);
SE_PRECONDITION2(ok, false, "js_anysdk_framework_ProtocolAds_preloadAds : Error processing arguments");
cobj->preloadAds(arg0);
return true;
@@ -633,8 +632,8 @@ static bool js_anysdk_framework_ProtocolAds_preloadAds(se::State& s)
if (argc == 2) {
anysdk::framework::AdsType arg0;
int arg1 = 0;
ok &= seval_to_int32(args[0], (int32_t *)&arg0);
ok &= seval_to_int32(args[1], (int32_t *)&arg1);
ok &= seval_to_uint32(args[0], (uint32_t*)&arg0);
ok &= seval_to_int32(args[1], (int32_t*)&arg1);
SE_PRECONDITION2(ok, false, "js_anysdk_framework_ProtocolAds_preloadAds : Error processing arguments");
cobj->preloadAds(arg0, arg1);
return true;
@@ -653,7 +652,7 @@ static bool js_anysdk_framework_ProtocolAds_spendPoints(se::State& s)
CC_UNUSED bool ok = true;
if (argc == 1) {
int arg0 = 0;
ok &= seval_to_int32(args[0], (int32_t *)&arg0);
ok &= seval_to_int32(args[0], (int32_t*)&arg0);
SE_PRECONDITION2(ok, false, "js_anysdk_framework_ProtocolAds_spendPoints : Error processing arguments");
cobj->spendPoints(arg0);
return true;
@@ -1094,7 +1093,7 @@ static bool js_anysdk_framework_ProtocolREC_share(se::State& s)
CC_UNUSED bool ok = true;
if (argc == 1) {
std::map<std::string, std::string> arg0;
ok &= seval_to_TVideoInfo(args[0], &arg0);
ok &= seval_to_std_map_string_string(args[0], &arg0);
SE_PRECONDITION2(ok, false, "js_anysdk_framework_ProtocolREC_share : Error processing arguments");
cobj->share(arg0);
return true;
@@ -1284,7 +1283,7 @@ static bool js_anysdk_framework_AgentManager_getSocialPlugin(se::State& s)
CC_UNUSED bool ok = true;
if (argc == 0) {
anysdk::framework::ProtocolSocial* result = cobj->getSocialPlugin();
ok &= native_ptr_to_seval<anysdk::framework::ProtocolSocial>((anysdk::framework::ProtocolSocial*)result, &s.rval());
ok &= native_ptr_to_rooted_seval<anysdk::framework::ProtocolSocial>((anysdk::framework::ProtocolSocial*)result, &s.rval());
SE_PRECONDITION2(ok, false, "js_anysdk_framework_AgentManager_getSocialPlugin : Error processing arguments");
return true;
}
@@ -1302,7 +1301,7 @@ static bool js_anysdk_framework_AgentManager_getPushPlugin(se::State& s)
CC_UNUSED bool ok = true;
if (argc == 0) {
anysdk::framework::ProtocolPush* result = cobj->getPushPlugin();
ok &= native_ptr_to_seval<anysdk::framework::ProtocolPush>((anysdk::framework::ProtocolPush*)result, &s.rval());
ok &= native_ptr_to_rooted_seval<anysdk::framework::ProtocolPush>((anysdk::framework::ProtocolPush*)result, &s.rval());
SE_PRECONDITION2(ok, false, "js_anysdk_framework_AgentManager_getPushPlugin : Error processing arguments");
return true;
}
@@ -1320,7 +1319,7 @@ static bool js_anysdk_framework_AgentManager_getUserPlugin(se::State& s)
CC_UNUSED bool ok = true;
if (argc == 0) {
anysdk::framework::ProtocolUser* result = cobj->getUserPlugin();
ok &= native_ptr_to_seval<anysdk::framework::ProtocolUser>((anysdk::framework::ProtocolUser*)result, &s.rval());
ok &= native_ptr_to_rooted_seval<anysdk::framework::ProtocolUser>((anysdk::framework::ProtocolUser*)result, &s.rval());
SE_PRECONDITION2(ok, false, "js_anysdk_framework_AgentManager_getUserPlugin : Error processing arguments");
return true;
}
@@ -1338,7 +1337,7 @@ static bool js_anysdk_framework_AgentManager_getAdTrackingPlugin(se::State& s)
CC_UNUSED bool ok = true;
if (argc == 0) {
anysdk::framework::ProtocolAdTracking* result = cobj->getAdTrackingPlugin();
ok &= native_ptr_to_seval<anysdk::framework::ProtocolAdTracking>((anysdk::framework::ProtocolAdTracking*)result, &s.rval());
ok &= native_ptr_to_rooted_seval<anysdk::framework::ProtocolAdTracking>((anysdk::framework::ProtocolAdTracking*)result, &s.rval());
SE_PRECONDITION2(ok, false, "js_anysdk_framework_AgentManager_getAdTrackingPlugin : Error processing arguments");
return true;
}
@@ -1356,7 +1355,7 @@ static bool js_anysdk_framework_AgentManager_getCustomPlugin(se::State& s)
CC_UNUSED bool ok = true;
if (argc == 0) {
anysdk::framework::ProtocolCustom* result = cobj->getCustomPlugin();
ok &= native_ptr_to_seval<anysdk::framework::ProtocolCustom>((anysdk::framework::ProtocolCustom*)result, &s.rval());
ok &= native_ptr_to_rooted_seval<anysdk::framework::ProtocolCustom>((anysdk::framework::ProtocolCustom*)result, &s.rval());
SE_PRECONDITION2(ok, false, "js_anysdk_framework_AgentManager_getCustomPlugin : Error processing arguments");
return true;
}
@@ -1468,7 +1467,7 @@ static bool js_anysdk_framework_AgentManager_getAdsPlugin(se::State& s)
CC_UNUSED bool ok = true;
if (argc == 0) {
anysdk::framework::ProtocolAds* result = cobj->getAdsPlugin();
ok &= native_ptr_to_seval<anysdk::framework::ProtocolAds>((anysdk::framework::ProtocolAds*)result, &s.rval());
ok &= native_ptr_to_rooted_seval<anysdk::framework::ProtocolAds>((anysdk::framework::ProtocolAds*)result, &s.rval());
SE_PRECONDITION2(ok, false, "js_anysdk_framework_AgentManager_getAdsPlugin : Error processing arguments");
return true;
}
@@ -1523,7 +1522,7 @@ static bool js_anysdk_framework_AgentManager_getAnalyticsPlugin(se::State& s)
CC_UNUSED bool ok = true;
if (argc == 0) {
anysdk::framework::ProtocolAnalytics* result = cobj->getAnalyticsPlugin();
ok &= native_ptr_to_seval<anysdk::framework::ProtocolAnalytics>((anysdk::framework::ProtocolAnalytics*)result, &s.rval());
ok &= native_ptr_to_rooted_seval<anysdk::framework::ProtocolAnalytics>((anysdk::framework::ProtocolAnalytics*)result, &s.rval());
SE_PRECONDITION2(ok, false, "js_anysdk_framework_AgentManager_getAnalyticsPlugin : Error processing arguments");
return true;
}
@@ -1541,7 +1540,7 @@ static bool js_anysdk_framework_AgentManager_getRECPlugin(se::State& s)
CC_UNUSED bool ok = true;
if (argc == 0) {
anysdk::framework::ProtocolREC* result = cobj->getRECPlugin();
ok &= native_ptr_to_seval<anysdk::framework::ProtocolREC>((anysdk::framework::ProtocolREC*)result, &s.rval());
ok &= native_ptr_to_rooted_seval<anysdk::framework::ProtocolREC>((anysdk::framework::ProtocolREC*)result, &s.rval());
SE_PRECONDITION2(ok, false, "js_anysdk_framework_AgentManager_getRECPlugin : Error processing arguments");
return true;
}
@@ -1559,7 +1558,7 @@ static bool js_anysdk_framework_AgentManager_getCrashPlugin(se::State& s)
CC_UNUSED bool ok = true;
if (argc == 0) {
anysdk::framework::ProtocolCrash* result = cobj->getCrashPlugin();
ok &= native_ptr_to_seval<anysdk::framework::ProtocolCrash>((anysdk::framework::ProtocolCrash*)result, &s.rval());
ok &= native_ptr_to_rooted_seval<anysdk::framework::ProtocolCrash>((anysdk::framework::ProtocolCrash*)result, &s.rval());
SE_PRECONDITION2(ok, false, "js_anysdk_framework_AgentManager_getCrashPlugin : Error processing arguments");
return true;
}
@@ -1588,7 +1587,7 @@ static bool js_anysdk_framework_AgentManager_getInstance(se::State& s)
CC_UNUSED bool ok = true;
if (argc == 0) {
anysdk::framework::AgentManager* result = anysdk::framework::AgentManager::getInstance();
ok &= native_ptr_to_seval<anysdk::framework::AgentManager>((anysdk::framework::AgentManager*)result, &s.rval());
ok &= native_ptr_to_rooted_seval<anysdk::framework::AgentManager>((anysdk::framework::AgentManager*)result, &s.rval());
SE_PRECONDITION2(ok, false, "js_anysdk_framework_AgentManager_getInstance : Error processing arguments");
return true;
}
@@ -0,0 +1,799 @@
/**
* @module anysdk_framework
*/
var anysdk = anysdk || {};
/**
* @class PluginProtocol
*/
anysdk.PluginProtocol = {
/**
* @method isFunctionSupported
* @param {String} arg0
* @return {bool}
*/
isFunctionSupported : function (
str
)
{
return false;
},
/**
* @method getPluginName
* @return {char}
*/
getPluginName : function (
)
{
return 0;
},
/**
* @method getPluginVersion
* @return {String}
*/
getPluginVersion : function (
)
{
return ;
},
/**
* @method setPluginName
* @param {char} arg0
*/
setPluginName : function (
char
)
{
},
/**
* @method getSDKVersion
* @return {String}
*/
getSDKVersion : function (
)
{
return ;
},
};
/**
* @class PluginFactory
*/
anysdk.PluginFactory = {
/**
* @method purgeFactory
*/
purgeFactory : function (
)
{
},
/**
* @method getInstance
* @return {anysdk::framework::PluginFactory}
*/
getInstance : function (
)
{
return anysdk::framework::PluginFactory;
},
};
/**
* @class PluginManager
*/
anysdk.PluginManager = {
/**
* @method unloadPlugin
* @param {char} arg0
* @param {int} arg1
*/
unloadPlugin : function (
char,
int
)
{
},
/**
* @method loadPlugin
* @param {char} arg0
* @param {int} arg1
* @return {anysdk::framework::PluginProtocol}
*/
loadPlugin : function (
char,
int
)
{
return anysdk::framework::PluginProtocol;
},
/**
* @method end
*/
end : function (
)
{
},
/**
* @method getInstance
* @return {anysdk::framework::PluginManager}
*/
getInstance : function (
)
{
return anysdk::framework::PluginManager;
},
};
/**
* @class ProtocolAnalytics
*/
anysdk.ProtocolAnalytics = {
/**
* @method logTimedEventBegin
* @param {char} arg0
*/
logTimedEventBegin : function (
char
)
{
},
/**
* @method logError
* @param {char} arg0
* @param {char} arg1
*/
logError : function (
char,
char
)
{
},
/**
* @method setCaptureUncaughtException
* @param {bool} arg0
*/
setCaptureUncaughtException : function (
bool
)
{
},
/**
* @method setSessionContinueMillis
* @param {long} arg0
*/
setSessionContinueMillis : function (
long
)
{
},
/**
* @method startSession
*/
startSession : function (
)
{
},
/**
* @method stopSession
*/
stopSession : function (
)
{
},
/**
* @method logTimedEventEnd
* @param {char} arg0
*/
logTimedEventEnd : function (
char
)
{
},
};
/**
* @class ProtocolYAP
*/
anysdk.ProtocolYAP = {
/**
* @method getOrderId
* @return {String}
*/
getOrderId : function (
)
{
return ;
},
/**
* @method getPluginId
* @return {String}
*/
getPluginId : function (
)
{
return ;
},
/**
* @method resetYapState
*/
resetYapState : function (
)
{
},
};
/**
* @class ProtocolAds
*/
anysdk.ProtocolAds = {
/**
* @method showAds
* @param {anysdk::framework::AdsType} arg0
* @param {int} arg1
*/
showAds : function (
adstype,
int
)
{
},
/**
* @method hideAds
* @param {anysdk::framework::AdsType} arg0
* @param {int} arg1
*/
hideAds : function (
adstype,
int
)
{
},
/**
* @method queryPoints
* @return {float}
*/
queryPoints : function (
)
{
return 0;
},
/**
* @method isAdTypeSupported
* @param {anysdk::framework::AdsType} arg0
* @return {bool}
*/
isAdTypeSupported : function (
adstype
)
{
return false;
},
/**
* @method preloadAds
* @param {anysdk::framework::AdsType} arg0
* @param {int} arg1
*/
preloadAds : function (
adstype,
int
)
{
},
/**
* @method spendPoints
* @param {int} arg0
*/
spendPoints : function (
int
)
{
},
};
/**
* @class ProtocolSocial
*/
anysdk.ProtocolSocial = {
/**
* @method showLeaderboard
* @param {char} arg0
*/
showLeaderboard : function (
char
)
{
},
/**
* @method signOut
*/
signOut : function (
)
{
},
/**
* @method showAchievements
*/
showAchievements : function (
)
{
},
/**
* @method signIn
*/
signIn : function (
)
{
},
/**
* @method submitScore
* @param {char} arg0
* @param {long} arg1
*/
submitScore : function (
char,
long
)
{
},
};
/**
* @class ProtocolUser
*/
anysdk.ProtocolUser = {
/**
* @method isLogined
* @return {bool}
*/
isLogined : function (
)
{
return false;
},
/**
* @method getUserID
* @return {String}
*/
getUserID : function (
)
{
return ;
},
/**
* @method login
* @param {map_object} map
*/
login : function(
map
)
{
},
/**
* @method getPluginId
* @return {String}
*/
getPluginId : function (
)
{
return ;
},
};
/**
* @class ProtocolPush
*/
anysdk.ProtocolPush = {
/**
* @method startPush
*/
startPush : function (
)
{
},
/**
* @method closePush
*/
closePush : function (
)
{
},
/**
* @method delAlias
* @param {String} arg0
*/
delAlias : function (
str
)
{
},
/**
* @method setAlias
* @param {String} arg0
*/
setAlias : function (
str
)
{
},
};
/**
* @class ProtocolCrash
*/
anysdk.ProtocolCrash = {
/**
* @method setUserIdentifier
* @param {char} arg0
*/
setUserIdentifier : function (
char
)
{
},
/**
* @method reportException
* @param {char} arg0
* @param {char} arg1
*/
reportException : function (
char,
char
)
{
},
/**
* @method leaveBreadcrumb
* @param {char} arg0
*/
leaveBreadcrumb : function (
char
)
{
},
};
/**
* @class ProtocolREC
*/
anysdk.ProtocolREC = {
/**
* @method share
* @param {map_object} arg0
*/
share : function (
map
)
{
},
/**
* @method startRecording
*/
startRecording : function (
)
{
},
/**
* @method stopRecording
*/
stopRecording : function (
)
{
},
};
/**
* @class ProtocolCustom
*/
anysdk.ProtocolCustom = {
};
/**
* @class ProtocolAdTracking
*/
anysdk.ProtocolAdTracking = {
/**
* @method onYap
* @param {map_object} arg0
*/
onYap : function (
map
)
{
},
/**
* @method onLogin
* @param {map_object} arg0
*/
onLogin : function (
map
)
{
},
/**
* @method onRegister
* @param {char} arg0
*/
onRegister : function (
char
)
{
},
};
/**
* @class AgentManager
*/
anysdk.AgentManager = {
/**
* @method unloadAllPlugins
*/
unloadAllPlugins : function (
)
{
},
/**
* @method getSocialPlugin
* @return {anysdk::framework::ProtocolSocial}
*/
getSocialPlugin : function (
)
{
return anysdk::framework::ProtocolSocial;
},
/**
* @method getPushPlugin
* @return {anysdk::framework::ProtocolPush}
*/
getPushPlugin : function (
)
{
return anysdk::framework::ProtocolPush;
},
/**
* @method getUserPlugin
* @return {anysdk::framework::ProtocolUser}
*/
getUserPlugin : function (
)
{
return anysdk::framework::ProtocolUser;
},
/**
* @method getAdTrackingPlugin
* @return {anysdk::framework::ProtocolAdTracking}
*/
getAdTrackingPlugin : function (
)
{
return anysdk::framework::ProtocolAdTracking;
},
/**
* @method getCustomPlugin
* @return {anysdk::framework::ProtocolCustom}
*/
getCustomPlugin : function (
)
{
return anysdk::framework::ProtocolCustom;
},
/**
* @method getCustomParam
* @return {String}
*/
getCustomParam : function (
)
{
return ;
},
/**
* @method getAnalyticsPlugin
* @return {anysdk::framework::ProtocolAnalytics}
*/
getAnalyticsPlugin : function (
)
{
return anysdk::framework::ProtocolAnalytics;
},
/**
* @method loadAllPlugins
*/
loadAllPlugins : function (
)
{
},
/**
* @method init
* @param {String} arg0
* @param {String} arg1
* @param {String} arg2
* @param {String} arg3
*/
init : function (
str,
str,
str,
str
)
{
},
/**
* @method isAnaylticsEnabled
* @return {bool}
*/
isAnaylticsEnabled : function (
)
{
return false;
},
/**
* @method getChannelId
* @return {String}
*/
getChannelId : function (
)
{
return ;
},
/**
* @method setIsAnaylticsEnabled
* @param {bool} arg0
*/
setIsAnaylticsEnabled : function (
bool
)
{
},
/**
* @method getSharePlugin
* @return {anysdk::framework::ProtocolShare}
*/
getSharePlugin : function (
)
{
return anysdk::framework::ProtocolShare;
},
/**
* @method getAdsPlugin
* @return {anysdk::framework::ProtocolAds}
*/
getAdsPlugin : function (
)
{
return anysdk::framework::ProtocolAds;
},
/**
* @method getRECPlugin
* @return {anysdk::framework::ProtocolREC}
*/
getRECPlugin : function (
)
{
return anysdk::framework::ProtocolREC;
},
/**
* @method getCrashPlugin
* @return {anysdk::framework::ProtocolCrash}
*/
getCrashPlugin : function (
)
{
return anysdk::framework::ProtocolCrash;
},
/**
* @method end
*/
end : function (
)
{
},
/**
* @method getInstance
* @return {anysdk::framework::AgentManager}
*/
getInstance : function (
)
{
return anysdk::framework::AgentManager;
},
};
/**
* @class JSBRelation
*/
anysdk.JSBRelation = {
/**
* @method getMethodsOfPlugin
* @param {anysdk::framework::PluginProtocol} arg0
* @return {String}
*/
getMethodsOfPlugin : function (
pluginprotocol
)
{
return ;
},
};
File diff suppressed because it is too large Load Diff
@@ -1,197 +1,164 @@
#pragma once
#include "base/ccConfig.h"
#ifndef __anysdk_framework_h__
#define __anysdk_framework_h__
#include "jsapi.h"
#include "jsfriendapi.h"
#include "cocos/scripting/js-bindings/jswrapper/SeApi.h"
extern JSClass *jsb_anysdk_framework_PluginProtocol_class;
extern JSObject *jsb_anysdk_framework_PluginProtocol_prototype;
extern se::Object* __jsb_anysdk_framework_PluginProtocol_proto;
extern se::Class* __jsb_anysdk_framework_PluginProtocol_class;
bool js_anysdk_framework_PluginProtocol_constructor(JSContext *cx, uint32_t argc, JS::Value *vp);
void js_anysdk_framework_PluginProtocol_finalize(JSContext *cx, JSObject *obj);
void js_register_anysdk_framework_PluginProtocol(JSContext *cx, JS::HandleObject global);
void register_all_anysdk_framework(JSContext* cx, JS::HandleObject obj);
bool js_anysdk_framework_PluginProtocol_isFunctionSupported(JSContext *cx, uint32_t argc, JS::Value *vp);
bool js_anysdk_framework_PluginProtocol_getPluginName(JSContext *cx, uint32_t argc, JS::Value *vp);
bool js_anysdk_framework_PluginProtocol_getPluginVersion(JSContext *cx, uint32_t argc, JS::Value *vp);
bool js_anysdk_framework_PluginProtocol_setPluginName(JSContext *cx, uint32_t argc, JS::Value *vp);
bool js_anysdk_framework_PluginProtocol_getSDKVersion(JSContext *cx, uint32_t argc, JS::Value *vp);
bool js_register_anysdk_framework_PluginProtocol(se::Object* obj);
bool register_all_anysdk_framework(se::Object* obj);
SE_DECLARE_FUNC(js_anysdk_framework_PluginProtocol_isFunctionSupported);
SE_DECLARE_FUNC(js_anysdk_framework_PluginProtocol_getPluginName);
SE_DECLARE_FUNC(js_anysdk_framework_PluginProtocol_getPluginVersion);
SE_DECLARE_FUNC(js_anysdk_framework_PluginProtocol_setPluginName);
SE_DECLARE_FUNC(js_anysdk_framework_PluginProtocol_getSDKVersion);
extern JSClass *jsb_anysdk_framework_PluginFactory_class;
extern JSObject *jsb_anysdk_framework_PluginFactory_prototype;
extern se::Object* __jsb_anysdk_framework_PluginFactory_proto;
extern se::Class* __jsb_anysdk_framework_PluginFactory_class;
bool js_anysdk_framework_PluginFactory_constructor(JSContext *cx, uint32_t argc, JS::Value *vp);
void js_anysdk_framework_PluginFactory_finalize(JSContext *cx, JSObject *obj);
void js_register_anysdk_framework_PluginFactory(JSContext *cx, JS::HandleObject global);
void register_all_anysdk_framework(JSContext* cx, JS::HandleObject obj);
bool js_anysdk_framework_PluginFactory_purgeFactory(JSContext *cx, uint32_t argc, JS::Value *vp);
bool js_anysdk_framework_PluginFactory_getInstance(JSContext *cx, uint32_t argc, JS::Value *vp);
bool js_register_anysdk_framework_PluginFactory(se::Object* obj);
bool register_all_anysdk_framework(se::Object* obj);
SE_DECLARE_FUNC(js_anysdk_framework_PluginFactory_purgeFactory);
SE_DECLARE_FUNC(js_anysdk_framework_PluginFactory_getInstance);
extern JSClass *jsb_anysdk_framework_PluginManager_class;
extern JSObject *jsb_anysdk_framework_PluginManager_prototype;
extern se::Object* __jsb_anysdk_framework_PluginManager_proto;
extern se::Class* __jsb_anysdk_framework_PluginManager_class;
bool js_anysdk_framework_PluginManager_constructor(JSContext *cx, uint32_t argc, JS::Value *vp);
void js_anysdk_framework_PluginManager_finalize(JSContext *cx, JSObject *obj);
void js_register_anysdk_framework_PluginManager(JSContext *cx, JS::HandleObject global);
void register_all_anysdk_framework(JSContext* cx, JS::HandleObject obj);
bool js_anysdk_framework_PluginManager_unloadPlugin(JSContext *cx, uint32_t argc, JS::Value *vp);
bool js_anysdk_framework_PluginManager_loadPlugin(JSContext *cx, uint32_t argc, JS::Value *vp);
bool js_anysdk_framework_PluginManager_end(JSContext *cx, uint32_t argc, JS::Value *vp);
bool js_anysdk_framework_PluginManager_getInstance(JSContext *cx, uint32_t argc, JS::Value *vp);
bool js_register_anysdk_framework_PluginManager(se::Object* obj);
bool register_all_anysdk_framework(se::Object* obj);
SE_DECLARE_FUNC(js_anysdk_framework_PluginManager_unloadPlugin);
SE_DECLARE_FUNC(js_anysdk_framework_PluginManager_loadPlugin);
SE_DECLARE_FUNC(js_anysdk_framework_PluginManager_end);
SE_DECLARE_FUNC(js_anysdk_framework_PluginManager_getInstance);
extern JSClass *jsb_anysdk_framework_ProtocolAnalytics_class;
extern JSObject *jsb_anysdk_framework_ProtocolAnalytics_prototype;
extern se::Object* __jsb_anysdk_framework_ProtocolAnalytics_proto;
extern se::Class* __jsb_anysdk_framework_ProtocolAnalytics_class;
bool js_anysdk_framework_ProtocolAnalytics_constructor(JSContext *cx, uint32_t argc, JS::Value *vp);
void js_anysdk_framework_ProtocolAnalytics_finalize(JSContext *cx, JSObject *obj);
void js_register_anysdk_framework_ProtocolAnalytics(JSContext *cx, JS::HandleObject global);
void register_all_anysdk_framework(JSContext* cx, JS::HandleObject obj);
bool js_anysdk_framework_ProtocolAnalytics_logTimedEventBegin(JSContext *cx, uint32_t argc, JS::Value *vp);
bool js_anysdk_framework_ProtocolAnalytics_logError(JSContext *cx, uint32_t argc, JS::Value *vp);
bool js_anysdk_framework_ProtocolAnalytics_setCaptureUncaughtException(JSContext *cx, uint32_t argc, JS::Value *vp);
bool js_anysdk_framework_ProtocolAnalytics_setSessionContinueMillis(JSContext *cx, uint32_t argc, JS::Value *vp);
bool js_anysdk_framework_ProtocolAnalytics_startSession(JSContext *cx, uint32_t argc, JS::Value *vp);
bool js_anysdk_framework_ProtocolAnalytics_stopSession(JSContext *cx, uint32_t argc, JS::Value *vp);
bool js_anysdk_framework_ProtocolAnalytics_logTimedEventEnd(JSContext *cx, uint32_t argc, JS::Value *vp);
bool js_register_anysdk_framework_ProtocolAnalytics(se::Object* obj);
bool register_all_anysdk_framework(se::Object* obj);
SE_DECLARE_FUNC(js_anysdk_framework_ProtocolAnalytics_logTimedEventBegin);
SE_DECLARE_FUNC(js_anysdk_framework_ProtocolAnalytics_logError);
SE_DECLARE_FUNC(js_anysdk_framework_ProtocolAnalytics_setCaptureUncaughtException);
SE_DECLARE_FUNC(js_anysdk_framework_ProtocolAnalytics_setSessionContinueMillis);
SE_DECLARE_FUNC(js_anysdk_framework_ProtocolAnalytics_startSession);
SE_DECLARE_FUNC(js_anysdk_framework_ProtocolAnalytics_stopSession);
SE_DECLARE_FUNC(js_anysdk_framework_ProtocolAnalytics_logTimedEventEnd);
extern JSClass *jsb_anysdk_framework_ProtocolYAP_class;
extern JSObject *jsb_anysdk_framework_ProtocolYAP_prototype;
extern se::Object* __jsb_anysdk_framework_ProtocolYAP_proto;
extern se::Class* __jsb_anysdk_framework_ProtocolYAP_class;
bool js_anysdk_framework_ProtocolYAP_constructor(JSContext *cx, uint32_t argc, JS::Value *vp);
void js_anysdk_framework_ProtocolYAP_finalize(JSContext *cx, JSObject *obj);
void js_register_anysdk_framework_ProtocolYAP(JSContext *cx, JS::HandleObject global);
void register_all_anysdk_framework(JSContext* cx, JS::HandleObject obj);
bool js_anysdk_framework_ProtocolYAP_getPluginId(JSContext *cx, uint32_t argc, JS::Value *vp);
bool js_anysdk_framework_ProtocolYAP_getOrderId(JSContext *cx, uint32_t argc, JS::Value *vp);
bool js_anysdk_framework_ProtocolYAP_resetYapState(JSContext *cx, uint32_t argc, JS::Value *vp);
bool js_register_anysdk_framework_ProtocolYAP(se::Object* obj);
bool register_all_anysdk_framework(se::Object* obj);
SE_DECLARE_FUNC(js_anysdk_framework_ProtocolYAP_getOrderId);
SE_DECLARE_FUNC(js_anysdk_framework_ProtocolYAP_getPluginId);
SE_DECLARE_FUNC(js_anysdk_framework_ProtocolYAP_resetYapState);
extern JSClass *jsb_anysdk_framework_ProtocolAds_class;
extern JSObject *jsb_anysdk_framework_ProtocolAds_prototype;
extern se::Object* __jsb_anysdk_framework_ProtocolAds_proto;
extern se::Class* __jsb_anysdk_framework_ProtocolAds_class;
bool js_anysdk_framework_ProtocolAds_constructor(JSContext *cx, uint32_t argc, JS::Value *vp);
void js_anysdk_framework_ProtocolAds_finalize(JSContext *cx, JSObject *obj);
void js_register_anysdk_framework_ProtocolAds(JSContext *cx, JS::HandleObject global);
void register_all_anysdk_framework(JSContext* cx, JS::HandleObject obj);
bool js_anysdk_framework_ProtocolAds_showAds(JSContext *cx, uint32_t argc, JS::Value *vp);
bool js_anysdk_framework_ProtocolAds_hideAds(JSContext *cx, uint32_t argc, JS::Value *vp);
bool js_anysdk_framework_ProtocolAds_queryPoints(JSContext *cx, uint32_t argc, JS::Value *vp);
bool js_anysdk_framework_ProtocolAds_isAdTypeSupported(JSContext *cx, uint32_t argc, JS::Value *vp);
bool js_anysdk_framework_ProtocolAds_preloadAds(JSContext *cx, uint32_t argc, JS::Value *vp);
bool js_anysdk_framework_ProtocolAds_spendPoints(JSContext *cx, uint32_t argc, JS::Value *vp);
bool js_register_anysdk_framework_ProtocolAds(se::Object* obj);
bool register_all_anysdk_framework(se::Object* obj);
SE_DECLARE_FUNC(js_anysdk_framework_ProtocolAds_showAds);
SE_DECLARE_FUNC(js_anysdk_framework_ProtocolAds_hideAds);
SE_DECLARE_FUNC(js_anysdk_framework_ProtocolAds_queryPoints);
SE_DECLARE_FUNC(js_anysdk_framework_ProtocolAds_isAdTypeSupported);
SE_DECLARE_FUNC(js_anysdk_framework_ProtocolAds_preloadAds);
SE_DECLARE_FUNC(js_anysdk_framework_ProtocolAds_spendPoints);
extern JSClass *jsb_anysdk_framework_ProtocolSocial_class;
extern JSObject *jsb_anysdk_framework_ProtocolSocial_prototype;
extern se::Object* __jsb_anysdk_framework_ProtocolSocial_proto;
extern se::Class* __jsb_anysdk_framework_ProtocolSocial_class;
bool js_anysdk_framework_ProtocolSocial_constructor(JSContext *cx, uint32_t argc, JS::Value *vp);
void js_anysdk_framework_ProtocolSocial_finalize(JSContext *cx, JSObject *obj);
void js_register_anysdk_framework_ProtocolSocial(JSContext *cx, JS::HandleObject global);
void register_all_anysdk_framework(JSContext* cx, JS::HandleObject obj);
bool js_anysdk_framework_ProtocolSocial_showLeaderboard(JSContext *cx, uint32_t argc, JS::Value *vp);
bool js_anysdk_framework_ProtocolSocial_signOut(JSContext *cx, uint32_t argc, JS::Value *vp);
bool js_anysdk_framework_ProtocolSocial_showAchievements(JSContext *cx, uint32_t argc, JS::Value *vp);
bool js_anysdk_framework_ProtocolSocial_signIn(JSContext *cx, uint32_t argc, JS::Value *vp);
bool js_anysdk_framework_ProtocolSocial_submitScore(JSContext *cx, uint32_t argc, JS::Value *vp);
bool js_register_anysdk_framework_ProtocolSocial(se::Object* obj);
bool register_all_anysdk_framework(se::Object* obj);
SE_DECLARE_FUNC(js_anysdk_framework_ProtocolSocial_showLeaderboard);
SE_DECLARE_FUNC(js_anysdk_framework_ProtocolSocial_signOut);
SE_DECLARE_FUNC(js_anysdk_framework_ProtocolSocial_showAchievements);
SE_DECLARE_FUNC(js_anysdk_framework_ProtocolSocial_signIn);
SE_DECLARE_FUNC(js_anysdk_framework_ProtocolSocial_submitScore);
extern JSClass *jsb_anysdk_framework_ProtocolUser_class;
extern JSObject *jsb_anysdk_framework_ProtocolUser_prototype;
extern se::Object* __jsb_anysdk_framework_ProtocolUser_proto;
extern se::Class* __jsb_anysdk_framework_ProtocolUser_class;
bool js_anysdk_framework_ProtocolUser_constructor(JSContext *cx, uint32_t argc, JS::Value *vp);
void js_anysdk_framework_ProtocolUser_finalize(JSContext *cx, JSObject *obj);
void js_register_anysdk_framework_ProtocolUser(JSContext *cx, JS::HandleObject global);
void register_all_anysdk_framework(JSContext* cx, JS::HandleObject obj);
bool js_anysdk_framework_ProtocolUser_isLogined(JSContext *cx, uint32_t argc, JS::Value *vp);
bool js_anysdk_framework_ProtocolUser_getUserID(JSContext *cx, uint32_t argc, JS::Value *vp);
bool js_anysdk_framework_ProtocolUser_login(JSContext *cx, uint32_t argc, JS::Value *vp);
bool js_anysdk_framework_ProtocolUser_getPluginId(JSContext *cx, uint32_t argc, JS::Value *vp);
bool js_register_anysdk_framework_ProtocolUser(se::Object* obj);
bool register_all_anysdk_framework(se::Object* obj);
SE_DECLARE_FUNC(js_anysdk_framework_ProtocolUser_isLogined);
SE_DECLARE_FUNC(js_anysdk_framework_ProtocolUser_getUserID);
SE_DECLARE_FUNC(js_anysdk_framework_ProtocolUser_login);
SE_DECLARE_FUNC(js_anysdk_framework_ProtocolUser_getPluginId);
extern JSClass *jsb_anysdk_framework_ProtocolPush_class;
extern JSObject *jsb_anysdk_framework_ProtocolPush_prototype;
extern se::Object* __jsb_anysdk_framework_ProtocolPush_proto;
extern se::Class* __jsb_anysdk_framework_ProtocolPush_class;
bool js_anysdk_framework_ProtocolPush_constructor(JSContext *cx, uint32_t argc, JS::Value *vp);
void js_anysdk_framework_ProtocolPush_finalize(JSContext *cx, JSObject *obj);
void js_register_anysdk_framework_ProtocolPush(JSContext *cx, JS::HandleObject global);
void register_all_anysdk_framework(JSContext* cx, JS::HandleObject obj);
bool js_anysdk_framework_ProtocolPush_startPush(JSContext *cx, uint32_t argc, JS::Value *vp);
bool js_anysdk_framework_ProtocolPush_closePush(JSContext *cx, uint32_t argc, JS::Value *vp);
bool js_anysdk_framework_ProtocolPush_delAlias(JSContext *cx, uint32_t argc, JS::Value *vp);
bool js_anysdk_framework_ProtocolPush_setAlias(JSContext *cx, uint32_t argc, JS::Value *vp);
bool js_register_anysdk_framework_ProtocolPush(se::Object* obj);
bool register_all_anysdk_framework(se::Object* obj);
SE_DECLARE_FUNC(js_anysdk_framework_ProtocolPush_startPush);
SE_DECLARE_FUNC(js_anysdk_framework_ProtocolPush_closePush);
SE_DECLARE_FUNC(js_anysdk_framework_ProtocolPush_delAlias);
SE_DECLARE_FUNC(js_anysdk_framework_ProtocolPush_setAlias);
extern JSClass *jsb_anysdk_framework_ProtocolCrash_class;
extern JSObject *jsb_anysdk_framework_ProtocolCrash_prototype;
extern se::Object* __jsb_anysdk_framework_ProtocolCrash_proto;
extern se::Class* __jsb_anysdk_framework_ProtocolCrash_class;
bool js_anysdk_framework_ProtocolCrash_constructor(JSContext *cx, uint32_t argc, JS::Value *vp);
void js_anysdk_framework_ProtocolCrash_finalize(JSContext *cx, JSObject *obj);
void js_register_anysdk_framework_ProtocolCrash(JSContext *cx, JS::HandleObject global);
void register_all_anysdk_framework(JSContext* cx, JS::HandleObject obj);
bool js_anysdk_framework_ProtocolCrash_setUserIdentifier(JSContext *cx, uint32_t argc, JS::Value *vp);
bool js_anysdk_framework_ProtocolCrash_reportException(JSContext *cx, uint32_t argc, JS::Value *vp);
bool js_anysdk_framework_ProtocolCrash_leaveBreadcrumb(JSContext *cx, uint32_t argc, JS::Value *vp);
bool js_register_anysdk_framework_ProtocolCrash(se::Object* obj);
bool register_all_anysdk_framework(se::Object* obj);
SE_DECLARE_FUNC(js_anysdk_framework_ProtocolCrash_setUserIdentifier);
SE_DECLARE_FUNC(js_anysdk_framework_ProtocolCrash_reportException);
SE_DECLARE_FUNC(js_anysdk_framework_ProtocolCrash_leaveBreadcrumb);
extern JSClass *jsb_anysdk_framework_ProtocolREC_class;
extern JSObject *jsb_anysdk_framework_ProtocolREC_prototype;
extern se::Object* __jsb_anysdk_framework_ProtocolREC_proto;
extern se::Class* __jsb_anysdk_framework_ProtocolREC_class;
bool js_anysdk_framework_ProtocolREC_constructor(JSContext *cx, uint32_t argc, JS::Value *vp);
void js_anysdk_framework_ProtocolREC_finalize(JSContext *cx, JSObject *obj);
void js_register_anysdk_framework_ProtocolREC(JSContext *cx, JS::HandleObject global);
void register_all_anysdk_framework(JSContext* cx, JS::HandleObject obj);
bool js_anysdk_framework_ProtocolREC_share(JSContext *cx, uint32_t argc, JS::Value *vp);
bool js_anysdk_framework_ProtocolREC_startRecording(JSContext *cx, uint32_t argc, JS::Value *vp);
bool js_anysdk_framework_ProtocolREC_stopRecording(JSContext *cx, uint32_t argc, JS::Value *vp);
bool js_register_anysdk_framework_ProtocolREC(se::Object* obj);
bool register_all_anysdk_framework(se::Object* obj);
SE_DECLARE_FUNC(js_anysdk_framework_ProtocolREC_share);
SE_DECLARE_FUNC(js_anysdk_framework_ProtocolREC_startRecording);
SE_DECLARE_FUNC(js_anysdk_framework_ProtocolREC_stopRecording);
extern JSClass *jsb_anysdk_framework_ProtocolCustom_class;
extern JSObject *jsb_anysdk_framework_ProtocolCustom_prototype;
extern se::Object* __jsb_anysdk_framework_ProtocolCustom_proto;
extern se::Class* __jsb_anysdk_framework_ProtocolCustom_class;
bool js_anysdk_framework_ProtocolCustom_constructor(JSContext *cx, uint32_t argc, JS::Value *vp);
void js_anysdk_framework_ProtocolCustom_finalize(JSContext *cx, JSObject *obj);
void js_register_anysdk_framework_ProtocolCustom(JSContext *cx, JS::HandleObject global);
void register_all_anysdk_framework(JSContext* cx, JS::HandleObject obj);
bool js_register_anysdk_framework_ProtocolCustom(se::Object* obj);
bool register_all_anysdk_framework(se::Object* obj);
extern JSClass *jsb_anysdk_framework_ProtocolAdTracking_class;
extern JSObject *jsb_anysdk_framework_ProtocolAdTracking_prototype;
extern se::Object* __jsb_anysdk_framework_ProtocolAdTracking_proto;
extern se::Class* __jsb_anysdk_framework_ProtocolAdTracking_class;
bool js_anysdk_framework_ProtocolAdTracking_constructor(JSContext *cx, uint32_t argc, JS::Value *vp);
void js_anysdk_framework_ProtocolAdTracking_finalize(JSContext *cx, JSObject *obj);
void js_register_anysdk_framework_ProtocolAdTracking(JSContext *cx, JS::HandleObject global);
void register_all_anysdk_framework(JSContext* cx, JS::HandleObject obj);
bool js_anysdk_framework_ProtocolAdTracking_onYap(JSContext *cx, uint32_t argc, JS::Value *vp);
bool js_anysdk_framework_ProtocolAdTracking_onLogin(JSContext *cx, uint32_t argc, JS::Value *vp);
bool js_anysdk_framework_ProtocolAdTracking_onRegister(JSContext *cx, uint32_t argc, JS::Value *vp);
bool js_register_anysdk_framework_ProtocolAdTracking(se::Object* obj);
bool register_all_anysdk_framework(se::Object* obj);
SE_DECLARE_FUNC(js_anysdk_framework_ProtocolAdTracking_onYap);
SE_DECLARE_FUNC(js_anysdk_framework_ProtocolAdTracking_onLogin);
SE_DECLARE_FUNC(js_anysdk_framework_ProtocolAdTracking_onRegister);
extern JSClass *jsb_anysdk_framework_AgentManager_class;
extern JSObject *jsb_anysdk_framework_AgentManager_prototype;
extern se::Object* __jsb_anysdk_framework_AgentManager_proto;
extern se::Class* __jsb_anysdk_framework_AgentManager_class;
bool js_anysdk_framework_AgentManager_constructor(JSContext *cx, uint32_t argc, JS::Value *vp);
void js_anysdk_framework_AgentManager_finalize(JSContext *cx, JSObject *obj);
void js_register_anysdk_framework_AgentManager(JSContext *cx, JS::HandleObject global);
void register_all_anysdk_framework(JSContext* cx, JS::HandleObject obj);
bool js_anysdk_framework_AgentManager_unloadAllPlugins(JSContext *cx, uint32_t argc, JS::Value *vp);
bool js_anysdk_framework_AgentManager_getSocialPlugin(JSContext *cx, uint32_t argc, JS::Value *vp);
bool js_anysdk_framework_AgentManager_getPushPlugin(JSContext *cx, uint32_t argc, JS::Value *vp);
bool js_anysdk_framework_AgentManager_getUserPlugin(JSContext *cx, uint32_t argc, JS::Value *vp);
bool js_anysdk_framework_AgentManager_getAdTrackingPlugin(JSContext *cx, uint32_t argc, JS::Value *vp);
bool js_anysdk_framework_AgentManager_getCustomPlugin(JSContext *cx, uint32_t argc, JS::Value *vp);
bool js_anysdk_framework_AgentManager_getCustomParam(JSContext *cx, uint32_t argc, JS::Value *vp);
bool js_anysdk_framework_AgentManager_loadAllPlugins(JSContext *cx, uint32_t argc, JS::Value *vp);
bool js_anysdk_framework_AgentManager_init(JSContext *cx, uint32_t argc, JS::Value *vp);
bool js_anysdk_framework_AgentManager_isAnaylticsEnabled(JSContext *cx, uint32_t argc, JS::Value *vp);
bool js_anysdk_framework_AgentManager_getChannelId(JSContext *cx, uint32_t argc, JS::Value *vp);
bool js_anysdk_framework_AgentManager_getAdsPlugin(JSContext *cx, uint32_t argc, JS::Value *vp);
bool js_anysdk_framework_AgentManager_setIsAnaylticsEnabled(JSContext *cx, uint32_t argc, JS::Value *vp);
bool js_anysdk_framework_AgentManager_getSharePlugin(JSContext *cx, uint32_t argc, JS::Value *vp);
bool js_anysdk_framework_AgentManager_getAnalyticsPlugin(JSContext *cx, uint32_t argc, JS::Value *vp);
bool js_anysdk_framework_AgentManager_getRECPlugin(JSContext *cx, uint32_t argc, JS::Value *vp);
bool js_anysdk_framework_AgentManager_getCrashPlugin(JSContext *cx, uint32_t argc, JS::Value *vp);
bool js_anysdk_framework_AgentManager_end(JSContext *cx, uint32_t argc, JS::Value *vp);
bool js_anysdk_framework_AgentManager_getInstance(JSContext *cx, uint32_t argc, JS::Value *vp);
bool js_register_anysdk_framework_AgentManager(se::Object* obj);
bool register_all_anysdk_framework(se::Object* obj);
SE_DECLARE_FUNC(js_anysdk_framework_AgentManager_unloadAllPlugins);
SE_DECLARE_FUNC(js_anysdk_framework_AgentManager_getSocialPlugin);
SE_DECLARE_FUNC(js_anysdk_framework_AgentManager_getPushPlugin);
SE_DECLARE_FUNC(js_anysdk_framework_AgentManager_getUserPlugin);
SE_DECLARE_FUNC(js_anysdk_framework_AgentManager_getAdTrackingPlugin);
SE_DECLARE_FUNC(js_anysdk_framework_AgentManager_getCustomPlugin);
SE_DECLARE_FUNC(js_anysdk_framework_AgentManager_getCustomParam);
SE_DECLARE_FUNC(js_anysdk_framework_AgentManager_getAnalyticsPlugin);
SE_DECLARE_FUNC(js_anysdk_framework_AgentManager_loadAllPlugins);
SE_DECLARE_FUNC(js_anysdk_framework_AgentManager_init);
SE_DECLARE_FUNC(js_anysdk_framework_AgentManager_isAnaylticsEnabled);
SE_DECLARE_FUNC(js_anysdk_framework_AgentManager_getChannelId);
SE_DECLARE_FUNC(js_anysdk_framework_AgentManager_setIsAnaylticsEnabled);
SE_DECLARE_FUNC(js_anysdk_framework_AgentManager_getSharePlugin);
SE_DECLARE_FUNC(js_anysdk_framework_AgentManager_getAdsPlugin);
SE_DECLARE_FUNC(js_anysdk_framework_AgentManager_getRECPlugin);
SE_DECLARE_FUNC(js_anysdk_framework_AgentManager_getCrashPlugin);
SE_DECLARE_FUNC(js_anysdk_framework_AgentManager_end);
SE_DECLARE_FUNC(js_anysdk_framework_AgentManager_getInstance);
extern JSClass *jsb_anysdk_framework_JSBRelation_class;
extern JSObject *jsb_anysdk_framework_JSBRelation_prototype;
extern se::Object* __jsb_anysdk_framework_JSBRelation_proto;
extern se::Class* __jsb_anysdk_framework_JSBRelation_class;
bool js_anysdk_framework_JSBRelation_constructor(JSContext *cx, uint32_t argc, JS::Value *vp);
void js_anysdk_framework_JSBRelation_finalize(JSContext *cx, JSObject *obj);
void js_register_anysdk_framework_JSBRelation(JSContext *cx, JS::HandleObject global);
void register_all_anysdk_framework(JSContext* cx, JS::HandleObject obj);
bool js_anysdk_framework_JSBRelation_getMethodsOfPlugin(JSContext *cx, uint32_t argc, JS::Value *vp);
bool js_register_anysdk_framework_JSBRelation(se::Object* obj);
bool register_all_anysdk_framework(se::Object* obj);
SE_DECLARE_FUNC(js_anysdk_framework_JSBRelation_getMethodsOfPlugin);
#endif // __anysdk_framework_h__