axmol/plugin/jsbindings/auto/jsb_pluginx_protocols_auto_...

221 lines
3.3 KiB
JavaScript
Raw Normal View History

2013-04-07 16:58:26 +08:00
/**
* @module pluginx_protocols
*/
var plugin = plugin || {};
/**
* @class PluginProtocol
*/
plugin.PluginProtocol = {
/**
* @method getPluginName
* @return A value converted from C/C++ "const char*"
*/
getPluginName : function () {},
/**
* @method getPluginVersion
* @return A value converted from C/C++ "const char*"
*/
getPluginVersion : function () {},
/**
* @method getSDKVersion
* @return A value converted from C/C++ "const char*"
2013-04-07 16:58:26 +08:00
*/
getSDKVersion : function () {},
2013-04-07 16:58:26 +08:00
/**
* @method setDebugMode
* @param {bool}
*/
setDebugMode : function () {},
};
/**
* @class PluginManager
*/
plugin.PluginManager = {
/**
* @method unloadPlugin
* @param {const char*}
*/
unloadPlugin : function () {},
/**
* @method loadPlugin
* @return A value converted from C/C++ "cocos2d::plugin::PluginProtocol*"
* @param {const char*}
*/
loadPlugin : function () {},
/**
* @method end
*/
end : function () {},
/**
* @method getInstance
* @return A value converted from C/C++ "cocos2d::plugin::PluginManager*"
*/
getInstance : function () {},
};
/**
* @class ProtocolAnalytics
*/
plugin.ProtocolAnalytics = {
/**
* @method logTimedEventBegin
* @param {const char*}
*/
logTimedEventBegin : function () {},
/**
* @method logError
* @param {const char*}
* @param {const char*}
*/
logError : function () {},
/**
* @method setCaptureUncaughtException
* @param {bool}
*/
setCaptureUncaughtException : function () {},
/**
* @method setSessionContinueMillis
* @param {long}
2013-04-07 16:58:26 +08:00
*/
setSessionContinueMillis : function () {},
2013-04-07 16:58:26 +08:00
/**
* @method logEvent
* @param {const char*}
* @param {LogEventParamMap*}
*/
logEvent : function () {},
/**
* @method startSession
* @param {const char*}
*/
startSession : function () {},
/**
* @method stopSession
*/
stopSession : function () {},
/**
* @method logTimedEventEnd
* @param {const char*}
*/
logTimedEventEnd : function () {},
};
/**
* @class ProtocolIAP
*/
plugin.ProtocolIAP = {
/**
* @method payForProduct
* @param {TProductInfo}
*/
payForProduct : function () {},
/**
2013-04-27 11:32:12 +08:00
* @method onPayResult
* @param {cocos2d::plugin::PayResultCode}
2013-04-07 16:58:26 +08:00
* @param {const char*}
*/
2013-04-27 11:32:12 +08:00
onPayResult : function () {},
/**
* @method configDeveloperInfo
* @param {TIAPDeveloperInfo}
2013-04-27 11:32:12 +08:00
*/
configDeveloperInfo : function () {},
2013-04-07 16:58:26 +08:00
};
/**
2013-04-24 09:43:40 +08:00
* @class ProtocolAds
2013-04-07 16:58:26 +08:00
*/
2013-04-24 09:43:40 +08:00
plugin.ProtocolAds = {
2013-04-07 16:58:26 +08:00
/**
2013-04-27 11:32:12 +08:00
* @method showAds
* @param {cocos2d::plugin::ProtocolAds::AdsType}
* @param {int}
* @param {cocos2d::plugin::ProtocolAds::AdsPos}
2013-04-07 16:58:26 +08:00
*/
2013-04-27 11:32:12 +08:00
showAds : function () {},
2013-04-24 09:43:40 +08:00
/**
2013-04-27 11:32:12 +08:00
* @method hideAds
* @param {cocos2d::plugin::ProtocolAds::AdsType}
2013-04-24 09:43:40 +08:00
*/
2013-04-27 11:32:12 +08:00
hideAds : function () {},
/**
* @method configDeveloperInfo
* @param {TAdsDeveloperInfo}
2013-04-27 11:32:12 +08:00
*/
configDeveloperInfo : function () {},
2013-04-24 09:43:40 +08:00
/**
* @method spendPoints
* @param {int}
2013-04-24 09:43:40 +08:00
*/
spendPoints : function () {},
2013-04-07 16:58:26 +08:00
/**
2013-04-27 11:32:12 +08:00
* @method onAdsResult
* @param {cocos2d::plugin::AdsResultCode}
* @param {const char*}
2013-04-07 16:58:26 +08:00
*/
2013-04-27 11:32:12 +08:00
onAdsResult : function () {},
2013-04-07 16:58:26 +08:00
2013-04-27 11:32:12 +08:00
/**
* @method onPlayerGetPoints
* @param {int}
*/
onPlayerGetPoints : function () {},
2013-04-07 16:58:26 +08:00
2013-04-27 11:32:12 +08:00
};
2013-04-07 16:58:26 +08:00
/**
2013-04-27 11:32:12 +08:00
* @class ProtocolSocial
2013-04-07 16:58:26 +08:00
*/
2013-04-27 11:32:12 +08:00
plugin.ProtocolSocial = {
2013-04-07 16:58:26 +08:00
2013-04-24 09:43:40 +08:00
/**
2013-04-27 11:32:12 +08:00
* @method onShareResult
* @param {cocos2d::plugin::ShareResultCode}
2013-04-07 16:58:26 +08:00
* @param {const char*}
*/
2013-04-27 11:32:12 +08:00
onShareResult : function () {},
/**
* @method share
* @param {TShareInfo}
*/
share : function () {},
/**
* @method configDeveloperInfo
* @param {TSocialDeveloperInfo}
*/
configDeveloperInfo : function () {},
2013-04-07 16:58:26 +08:00
};