1846 lines
69 KiB
C#
1846 lines
69 KiB
C#
#if USE_UNI_LUA
|
|
using LuaAPI = UniLua.Lua;
|
|
using RealStatePtr = UniLua.ILuaState;
|
|
using LuaCSFunction = UniLua.CSharpFunctionDelegate;
|
|
#else
|
|
using LuaAPI = XLua.LuaDLL.Lua;
|
|
using RealStatePtr = System.IntPtr;
|
|
using LuaCSFunction = XLua.LuaDLL.lua_CSFunction;
|
|
#endif
|
|
|
|
using XLua;
|
|
using System.Collections.Generic;
|
|
|
|
|
|
namespace XLua.CSObjectWrap
|
|
{
|
|
using Utils = XLua.Utils;
|
|
public class comadjustsdkAdjustWrap
|
|
{
|
|
public static void __Register(RealStatePtr L)
|
|
{
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
System.Type type = typeof(com.adjust.sdk.Adjust);
|
|
Utils.BeginObjectRegister(type, L, translator, 0, 0, 26, 26);
|
|
|
|
|
|
|
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "startManually", _g_get_startManually);
|
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "androidAppToken", _g_get_androidAppToken);
|
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "iosAppToken", _g_get_iosAppToken);
|
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "environment", _g_get_environment);
|
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "logLevel", _g_get_logLevel);
|
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "eventBuffering", _g_get_eventBuffering);
|
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "sendInBackground", _g_get_sendInBackground);
|
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "launchDeferredDeeplink", _g_get_launchDeferredDeeplink);
|
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "needsCost", _g_get_needsCost);
|
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "coppaCompliant", _g_get_coppaCompliant);
|
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "linkMe", _g_get_linkMe);
|
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "defaultTracker", _g_get_defaultTracker);
|
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "urlStrategy", _g_get_urlStrategy);
|
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "startDelay", _g_get_startDelay);
|
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "secretId", _g_get_secretId);
|
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "info1", _g_get_info1);
|
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "info2", _g_get_info2);
|
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "info3", _g_get_info3);
|
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "info4", _g_get_info4);
|
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "preinstallTracking", _g_get_preinstallTracking);
|
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "preinstallFilePath", _g_get_preinstallFilePath);
|
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "playStoreKidsApp", _g_get_playStoreKidsApp);
|
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "iadInfoReading", _g_get_iadInfoReading);
|
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "adServicesInfoReading", _g_get_adServicesInfoReading);
|
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "idfaInfoReading", _g_get_idfaInfoReading);
|
|
Utils.RegisterFunc(L, Utils.GETTER_IDX, "skAdNetworkHandling", _g_get_skAdNetworkHandling);
|
|
|
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "startManually", _s_set_startManually);
|
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "androidAppToken", _s_set_androidAppToken);
|
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "iosAppToken", _s_set_iosAppToken);
|
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "environment", _s_set_environment);
|
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "logLevel", _s_set_logLevel);
|
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "eventBuffering", _s_set_eventBuffering);
|
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "sendInBackground", _s_set_sendInBackground);
|
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "launchDeferredDeeplink", _s_set_launchDeferredDeeplink);
|
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "needsCost", _s_set_needsCost);
|
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "coppaCompliant", _s_set_coppaCompliant);
|
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "linkMe", _s_set_linkMe);
|
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "defaultTracker", _s_set_defaultTracker);
|
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "urlStrategy", _s_set_urlStrategy);
|
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "startDelay", _s_set_startDelay);
|
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "secretId", _s_set_secretId);
|
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "info1", _s_set_info1);
|
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "info2", _s_set_info2);
|
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "info3", _s_set_info3);
|
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "info4", _s_set_info4);
|
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "preinstallTracking", _s_set_preinstallTracking);
|
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "preinstallFilePath", _s_set_preinstallFilePath);
|
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "playStoreKidsApp", _s_set_playStoreKidsApp);
|
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "iadInfoReading", _s_set_iadInfoReading);
|
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "adServicesInfoReading", _s_set_adServicesInfoReading);
|
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "idfaInfoReading", _s_set_idfaInfoReading);
|
|
Utils.RegisterFunc(L, Utils.SETTER_IDX, "skAdNetworkHandling", _s_set_skAdNetworkHandling);
|
|
|
|
|
|
Utils.EndObjectRegister(type, L, translator, null, null,
|
|
null, null, null);
|
|
|
|
Utils.BeginClassRegister(type, L, __CreateInstance, 35, 0, 0);
|
|
Utils.RegisterFunc(L, Utils.CLS_IDX, "start", _m_start_xlua_st_);
|
|
Utils.RegisterFunc(L, Utils.CLS_IDX, "trackEvent", _m_trackEvent_xlua_st_);
|
|
Utils.RegisterFunc(L, Utils.CLS_IDX, "setEnabled", _m_setEnabled_xlua_st_);
|
|
Utils.RegisterFunc(L, Utils.CLS_IDX, "isEnabled", _m_isEnabled_xlua_st_);
|
|
Utils.RegisterFunc(L, Utils.CLS_IDX, "setOfflineMode", _m_setOfflineMode_xlua_st_);
|
|
Utils.RegisterFunc(L, Utils.CLS_IDX, "setDeviceToken", _m_setDeviceToken_xlua_st_);
|
|
Utils.RegisterFunc(L, Utils.CLS_IDX, "gdprForgetMe", _m_gdprForgetMe_xlua_st_);
|
|
Utils.RegisterFunc(L, Utils.CLS_IDX, "disableThirdPartySharing", _m_disableThirdPartySharing_xlua_st_);
|
|
Utils.RegisterFunc(L, Utils.CLS_IDX, "appWillOpenUrl", _m_appWillOpenUrl_xlua_st_);
|
|
Utils.RegisterFunc(L, Utils.CLS_IDX, "sendFirstPackages", _m_sendFirstPackages_xlua_st_);
|
|
Utils.RegisterFunc(L, Utils.CLS_IDX, "addSessionPartnerParameter", _m_addSessionPartnerParameter_xlua_st_);
|
|
Utils.RegisterFunc(L, Utils.CLS_IDX, "addSessionCallbackParameter", _m_addSessionCallbackParameter_xlua_st_);
|
|
Utils.RegisterFunc(L, Utils.CLS_IDX, "removeSessionPartnerParameter", _m_removeSessionPartnerParameter_xlua_st_);
|
|
Utils.RegisterFunc(L, Utils.CLS_IDX, "removeSessionCallbackParameter", _m_removeSessionCallbackParameter_xlua_st_);
|
|
Utils.RegisterFunc(L, Utils.CLS_IDX, "resetSessionPartnerParameters", _m_resetSessionPartnerParameters_xlua_st_);
|
|
Utils.RegisterFunc(L, Utils.CLS_IDX, "resetSessionCallbackParameters", _m_resetSessionCallbackParameters_xlua_st_);
|
|
Utils.RegisterFunc(L, Utils.CLS_IDX, "trackAdRevenue", _m_trackAdRevenue_xlua_st_);
|
|
Utils.RegisterFunc(L, Utils.CLS_IDX, "trackAppStoreSubscription", _m_trackAppStoreSubscription_xlua_st_);
|
|
Utils.RegisterFunc(L, Utils.CLS_IDX, "trackPlayStoreSubscription", _m_trackPlayStoreSubscription_xlua_st_);
|
|
Utils.RegisterFunc(L, Utils.CLS_IDX, "trackThirdPartySharing", _m_trackThirdPartySharing_xlua_st_);
|
|
Utils.RegisterFunc(L, Utils.CLS_IDX, "trackMeasurementConsent", _m_trackMeasurementConsent_xlua_st_);
|
|
Utils.RegisterFunc(L, Utils.CLS_IDX, "requestTrackingAuthorizationWithCompletionHandler", _m_requestTrackingAuthorizationWithCompletionHandler_xlua_st_);
|
|
Utils.RegisterFunc(L, Utils.CLS_IDX, "updateConversionValue", _m_updateConversionValue_xlua_st_);
|
|
Utils.RegisterFunc(L, Utils.CLS_IDX, "checkForNewAttStatus", _m_checkForNewAttStatus_xlua_st_);
|
|
Utils.RegisterFunc(L, Utils.CLS_IDX, "getAppTrackingAuthorizationStatus", _m_getAppTrackingAuthorizationStatus_xlua_st_);
|
|
Utils.RegisterFunc(L, Utils.CLS_IDX, "getAdid", _m_getAdid_xlua_st_);
|
|
Utils.RegisterFunc(L, Utils.CLS_IDX, "getAttribution", _m_getAttribution_xlua_st_);
|
|
Utils.RegisterFunc(L, Utils.CLS_IDX, "getWinAdid", _m_getWinAdid_xlua_st_);
|
|
Utils.RegisterFunc(L, Utils.CLS_IDX, "getIdfa", _m_getIdfa_xlua_st_);
|
|
Utils.RegisterFunc(L, Utils.CLS_IDX, "getSdkVersion", _m_getSdkVersion_xlua_st_);
|
|
Utils.RegisterFunc(L, Utils.CLS_IDX, "getGoogleAdId", _m_getGoogleAdId_xlua_st_);
|
|
Utils.RegisterFunc(L, Utils.CLS_IDX, "getAmazonAdId", _m_getAmazonAdId_xlua_st_);
|
|
Utils.RegisterFunc(L, Utils.CLS_IDX, "getLastDeeplink", _m_getLastDeeplink_xlua_st_);
|
|
Utils.RegisterFunc(L, Utils.CLS_IDX, "SetTestOptions", _m_SetTestOptions_xlua_st_);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Utils.EndClassRegister(type, L, translator);
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int __CreateInstance(RealStatePtr L)
|
|
{
|
|
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
if(LuaAPI.lua_gettop(L) == 1)
|
|
{
|
|
|
|
var gen_ret = new com.adjust.sdk.Adjust();
|
|
translator.Push(L, gen_ret);
|
|
|
|
return 1;
|
|
}
|
|
|
|
}
|
|
catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return LuaAPI.luaL_error(L, "invalid arguments to com.adjust.sdk.Adjust constructor!");
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _m_start_xlua_st_(RealStatePtr L)
|
|
{
|
|
try {
|
|
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
|
|
|
|
|
|
{
|
|
com.adjust.sdk.AdjustConfig _adjustConfig = (com.adjust.sdk.AdjustConfig)translator.GetObject(L, 1, typeof(com.adjust.sdk.AdjustConfig));
|
|
|
|
com.adjust.sdk.Adjust.start( _adjustConfig );
|
|
|
|
|
|
|
|
return 0;
|
|
}
|
|
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _m_trackEvent_xlua_st_(RealStatePtr L)
|
|
{
|
|
try {
|
|
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
|
|
|
|
|
|
{
|
|
com.adjust.sdk.AdjustEvent _adjustEvent = (com.adjust.sdk.AdjustEvent)translator.GetObject(L, 1, typeof(com.adjust.sdk.AdjustEvent));
|
|
|
|
com.adjust.sdk.Adjust.trackEvent( _adjustEvent );
|
|
|
|
|
|
|
|
return 0;
|
|
}
|
|
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _m_setEnabled_xlua_st_(RealStatePtr L)
|
|
{
|
|
try {
|
|
|
|
|
|
|
|
|
|
{
|
|
bool _enabled = LuaAPI.lua_toboolean(L, 1);
|
|
|
|
com.adjust.sdk.Adjust.setEnabled( _enabled );
|
|
|
|
|
|
|
|
return 0;
|
|
}
|
|
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _m_isEnabled_xlua_st_(RealStatePtr L)
|
|
{
|
|
try {
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
var gen_ret = com.adjust.sdk.Adjust.isEnabled( );
|
|
LuaAPI.lua_pushboolean(L, gen_ret);
|
|
|
|
|
|
|
|
return 1;
|
|
}
|
|
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _m_setOfflineMode_xlua_st_(RealStatePtr L)
|
|
{
|
|
try {
|
|
|
|
|
|
|
|
|
|
{
|
|
bool _enabled = LuaAPI.lua_toboolean(L, 1);
|
|
|
|
com.adjust.sdk.Adjust.setOfflineMode( _enabled );
|
|
|
|
|
|
|
|
return 0;
|
|
}
|
|
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _m_setDeviceToken_xlua_st_(RealStatePtr L)
|
|
{
|
|
try {
|
|
|
|
|
|
|
|
|
|
{
|
|
string _deviceToken = LuaAPI.lua_tostring(L, 1);
|
|
|
|
com.adjust.sdk.Adjust.setDeviceToken( _deviceToken );
|
|
|
|
|
|
|
|
return 0;
|
|
}
|
|
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _m_gdprForgetMe_xlua_st_(RealStatePtr L)
|
|
{
|
|
try {
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
com.adjust.sdk.Adjust.gdprForgetMe( );
|
|
|
|
|
|
|
|
return 0;
|
|
}
|
|
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _m_disableThirdPartySharing_xlua_st_(RealStatePtr L)
|
|
{
|
|
try {
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
com.adjust.sdk.Adjust.disableThirdPartySharing( );
|
|
|
|
|
|
|
|
return 0;
|
|
}
|
|
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _m_appWillOpenUrl_xlua_st_(RealStatePtr L)
|
|
{
|
|
try {
|
|
|
|
|
|
|
|
|
|
{
|
|
string _url = LuaAPI.lua_tostring(L, 1);
|
|
|
|
com.adjust.sdk.Adjust.appWillOpenUrl( _url );
|
|
|
|
|
|
|
|
return 0;
|
|
}
|
|
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _m_sendFirstPackages_xlua_st_(RealStatePtr L)
|
|
{
|
|
try {
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
com.adjust.sdk.Adjust.sendFirstPackages( );
|
|
|
|
|
|
|
|
return 0;
|
|
}
|
|
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _m_addSessionPartnerParameter_xlua_st_(RealStatePtr L)
|
|
{
|
|
try {
|
|
|
|
|
|
|
|
|
|
{
|
|
string _key = LuaAPI.lua_tostring(L, 1);
|
|
string _value = LuaAPI.lua_tostring(L, 2);
|
|
|
|
com.adjust.sdk.Adjust.addSessionPartnerParameter( _key, _value );
|
|
|
|
|
|
|
|
return 0;
|
|
}
|
|
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _m_addSessionCallbackParameter_xlua_st_(RealStatePtr L)
|
|
{
|
|
try {
|
|
|
|
|
|
|
|
|
|
{
|
|
string _key = LuaAPI.lua_tostring(L, 1);
|
|
string _value = LuaAPI.lua_tostring(L, 2);
|
|
|
|
com.adjust.sdk.Adjust.addSessionCallbackParameter( _key, _value );
|
|
|
|
|
|
|
|
return 0;
|
|
}
|
|
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _m_removeSessionPartnerParameter_xlua_st_(RealStatePtr L)
|
|
{
|
|
try {
|
|
|
|
|
|
|
|
|
|
{
|
|
string _key = LuaAPI.lua_tostring(L, 1);
|
|
|
|
com.adjust.sdk.Adjust.removeSessionPartnerParameter( _key );
|
|
|
|
|
|
|
|
return 0;
|
|
}
|
|
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _m_removeSessionCallbackParameter_xlua_st_(RealStatePtr L)
|
|
{
|
|
try {
|
|
|
|
|
|
|
|
|
|
{
|
|
string _key = LuaAPI.lua_tostring(L, 1);
|
|
|
|
com.adjust.sdk.Adjust.removeSessionCallbackParameter( _key );
|
|
|
|
|
|
|
|
return 0;
|
|
}
|
|
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _m_resetSessionPartnerParameters_xlua_st_(RealStatePtr L)
|
|
{
|
|
try {
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
com.adjust.sdk.Adjust.resetSessionPartnerParameters( );
|
|
|
|
|
|
|
|
return 0;
|
|
}
|
|
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _m_resetSessionCallbackParameters_xlua_st_(RealStatePtr L)
|
|
{
|
|
try {
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
com.adjust.sdk.Adjust.resetSessionCallbackParameters( );
|
|
|
|
|
|
|
|
return 0;
|
|
}
|
|
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _m_trackAdRevenue_xlua_st_(RealStatePtr L)
|
|
{
|
|
try {
|
|
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
|
|
|
|
int gen_param_count = LuaAPI.lua_gettop(L);
|
|
|
|
if(gen_param_count == 1&& translator.Assignable<com.adjust.sdk.AdjustAdRevenue>(L, 1))
|
|
{
|
|
com.adjust.sdk.AdjustAdRevenue _adRevenue = (com.adjust.sdk.AdjustAdRevenue)translator.GetObject(L, 1, typeof(com.adjust.sdk.AdjustAdRevenue));
|
|
|
|
com.adjust.sdk.Adjust.trackAdRevenue( _adRevenue );
|
|
|
|
|
|
|
|
return 0;
|
|
}
|
|
if(gen_param_count == 2&& (LuaAPI.lua_isnil(L, 1) || LuaAPI.lua_type(L, 1) == LuaTypes.LUA_TSTRING)&& (LuaAPI.lua_isnil(L, 2) || LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TSTRING))
|
|
{
|
|
string _source = LuaAPI.lua_tostring(L, 1);
|
|
string _payload = LuaAPI.lua_tostring(L, 2);
|
|
|
|
com.adjust.sdk.Adjust.trackAdRevenue( _source, _payload );
|
|
|
|
|
|
|
|
return 0;
|
|
}
|
|
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
|
|
return LuaAPI.luaL_error(L, "invalid arguments to com.adjust.sdk.Adjust.trackAdRevenue!");
|
|
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _m_trackAppStoreSubscription_xlua_st_(RealStatePtr L)
|
|
{
|
|
try {
|
|
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
|
|
|
|
|
|
{
|
|
com.adjust.sdk.AdjustAppStoreSubscription _subscription = (com.adjust.sdk.AdjustAppStoreSubscription)translator.GetObject(L, 1, typeof(com.adjust.sdk.AdjustAppStoreSubscription));
|
|
|
|
com.adjust.sdk.Adjust.trackAppStoreSubscription( _subscription );
|
|
|
|
|
|
|
|
return 0;
|
|
}
|
|
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _m_trackPlayStoreSubscription_xlua_st_(RealStatePtr L)
|
|
{
|
|
try {
|
|
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
|
|
|
|
|
|
{
|
|
com.adjust.sdk.AdjustPlayStoreSubscription _subscription = (com.adjust.sdk.AdjustPlayStoreSubscription)translator.GetObject(L, 1, typeof(com.adjust.sdk.AdjustPlayStoreSubscription));
|
|
|
|
com.adjust.sdk.Adjust.trackPlayStoreSubscription( _subscription );
|
|
|
|
|
|
|
|
return 0;
|
|
}
|
|
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _m_trackThirdPartySharing_xlua_st_(RealStatePtr L)
|
|
{
|
|
try {
|
|
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
|
|
|
|
|
|
{
|
|
com.adjust.sdk.AdjustThirdPartySharing _thirdPartySharing = (com.adjust.sdk.AdjustThirdPartySharing)translator.GetObject(L, 1, typeof(com.adjust.sdk.AdjustThirdPartySharing));
|
|
|
|
com.adjust.sdk.Adjust.trackThirdPartySharing( _thirdPartySharing );
|
|
|
|
|
|
|
|
return 0;
|
|
}
|
|
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _m_trackMeasurementConsent_xlua_st_(RealStatePtr L)
|
|
{
|
|
try {
|
|
|
|
|
|
|
|
|
|
{
|
|
bool _measurementConsent = LuaAPI.lua_toboolean(L, 1);
|
|
|
|
com.adjust.sdk.Adjust.trackMeasurementConsent( _measurementConsent );
|
|
|
|
|
|
|
|
return 0;
|
|
}
|
|
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _m_requestTrackingAuthorizationWithCompletionHandler_xlua_st_(RealStatePtr L)
|
|
{
|
|
try {
|
|
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
|
|
|
|
int gen_param_count = LuaAPI.lua_gettop(L);
|
|
|
|
if(gen_param_count == 2&& translator.Assignable<System.Action<int>>(L, 1)&& (LuaAPI.lua_isnil(L, 2) || LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TSTRING))
|
|
{
|
|
System.Action<int> _statusCallback = translator.GetDelegate<System.Action<int>>(L, 1);
|
|
string _sceneName = LuaAPI.lua_tostring(L, 2);
|
|
|
|
com.adjust.sdk.Adjust.requestTrackingAuthorizationWithCompletionHandler( _statusCallback, _sceneName );
|
|
|
|
|
|
|
|
return 0;
|
|
}
|
|
if(gen_param_count == 1&& translator.Assignable<System.Action<int>>(L, 1))
|
|
{
|
|
System.Action<int> _statusCallback = translator.GetDelegate<System.Action<int>>(L, 1);
|
|
|
|
com.adjust.sdk.Adjust.requestTrackingAuthorizationWithCompletionHandler( _statusCallback );
|
|
|
|
|
|
|
|
return 0;
|
|
}
|
|
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
|
|
return LuaAPI.luaL_error(L, "invalid arguments to com.adjust.sdk.Adjust.requestTrackingAuthorizationWithCompletionHandler!");
|
|
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _m_updateConversionValue_xlua_st_(RealStatePtr L)
|
|
{
|
|
try {
|
|
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
|
|
|
|
int gen_param_count = LuaAPI.lua_gettop(L);
|
|
|
|
if(gen_param_count == 1&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1))
|
|
{
|
|
int _conversionValue = LuaAPI.xlua_tointeger(L, 1);
|
|
|
|
com.adjust.sdk.Adjust.updateConversionValue( _conversionValue );
|
|
|
|
|
|
|
|
return 0;
|
|
}
|
|
if(gen_param_count == 3&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& translator.Assignable<System.Action<string>>(L, 2)&& (LuaAPI.lua_isnil(L, 3) || LuaAPI.lua_type(L, 3) == LuaTypes.LUA_TSTRING))
|
|
{
|
|
int _conversionValue = LuaAPI.xlua_tointeger(L, 1);
|
|
System.Action<string> _completionCallback = translator.GetDelegate<System.Action<string>>(L, 2);
|
|
string _sceneName = LuaAPI.lua_tostring(L, 3);
|
|
|
|
com.adjust.sdk.Adjust.updateConversionValue( _conversionValue, _completionCallback, _sceneName );
|
|
|
|
|
|
|
|
return 0;
|
|
}
|
|
if(gen_param_count == 2&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& translator.Assignable<System.Action<string>>(L, 2))
|
|
{
|
|
int _conversionValue = LuaAPI.xlua_tointeger(L, 1);
|
|
System.Action<string> _completionCallback = translator.GetDelegate<System.Action<string>>(L, 2);
|
|
|
|
com.adjust.sdk.Adjust.updateConversionValue( _conversionValue, _completionCallback );
|
|
|
|
|
|
|
|
return 0;
|
|
}
|
|
if(gen_param_count == 5&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& (LuaAPI.lua_isnil(L, 2) || LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TSTRING)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 3)&& translator.Assignable<System.Action<string>>(L, 4)&& (LuaAPI.lua_isnil(L, 5) || LuaAPI.lua_type(L, 5) == LuaTypes.LUA_TSTRING))
|
|
{
|
|
int _conversionValue = LuaAPI.xlua_tointeger(L, 1);
|
|
string _coarseValue = LuaAPI.lua_tostring(L, 2);
|
|
bool _lockWindow = LuaAPI.lua_toboolean(L, 3);
|
|
System.Action<string> _completionCallback = translator.GetDelegate<System.Action<string>>(L, 4);
|
|
string _sceneName = LuaAPI.lua_tostring(L, 5);
|
|
|
|
com.adjust.sdk.Adjust.updateConversionValue( _conversionValue, _coarseValue, _lockWindow, _completionCallback, _sceneName );
|
|
|
|
|
|
|
|
return 0;
|
|
}
|
|
if(gen_param_count == 4&& LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 1)&& (LuaAPI.lua_isnil(L, 2) || LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TSTRING)&& LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 3)&& translator.Assignable<System.Action<string>>(L, 4))
|
|
{
|
|
int _conversionValue = LuaAPI.xlua_tointeger(L, 1);
|
|
string _coarseValue = LuaAPI.lua_tostring(L, 2);
|
|
bool _lockWindow = LuaAPI.lua_toboolean(L, 3);
|
|
System.Action<string> _completionCallback = translator.GetDelegate<System.Action<string>>(L, 4);
|
|
|
|
com.adjust.sdk.Adjust.updateConversionValue( _conversionValue, _coarseValue, _lockWindow, _completionCallback );
|
|
|
|
|
|
|
|
return 0;
|
|
}
|
|
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
|
|
return LuaAPI.luaL_error(L, "invalid arguments to com.adjust.sdk.Adjust.updateConversionValue!");
|
|
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _m_checkForNewAttStatus_xlua_st_(RealStatePtr L)
|
|
{
|
|
try {
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
com.adjust.sdk.Adjust.checkForNewAttStatus( );
|
|
|
|
|
|
|
|
return 0;
|
|
}
|
|
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _m_getAppTrackingAuthorizationStatus_xlua_st_(RealStatePtr L)
|
|
{
|
|
try {
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
var gen_ret = com.adjust.sdk.Adjust.getAppTrackingAuthorizationStatus( );
|
|
LuaAPI.xlua_pushinteger(L, gen_ret);
|
|
|
|
|
|
|
|
return 1;
|
|
}
|
|
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _m_getAdid_xlua_st_(RealStatePtr L)
|
|
{
|
|
try {
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
var gen_ret = com.adjust.sdk.Adjust.getAdid( );
|
|
LuaAPI.lua_pushstring(L, gen_ret);
|
|
|
|
|
|
|
|
return 1;
|
|
}
|
|
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _m_getAttribution_xlua_st_(RealStatePtr L)
|
|
{
|
|
try {
|
|
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
var gen_ret = com.adjust.sdk.Adjust.getAttribution( );
|
|
translator.Push(L, gen_ret);
|
|
|
|
|
|
|
|
return 1;
|
|
}
|
|
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _m_getWinAdid_xlua_st_(RealStatePtr L)
|
|
{
|
|
try {
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
var gen_ret = com.adjust.sdk.Adjust.getWinAdid( );
|
|
LuaAPI.lua_pushstring(L, gen_ret);
|
|
|
|
|
|
|
|
return 1;
|
|
}
|
|
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _m_getIdfa_xlua_st_(RealStatePtr L)
|
|
{
|
|
try {
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
var gen_ret = com.adjust.sdk.Adjust.getIdfa( );
|
|
LuaAPI.lua_pushstring(L, gen_ret);
|
|
|
|
|
|
|
|
return 1;
|
|
}
|
|
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _m_getSdkVersion_xlua_st_(RealStatePtr L)
|
|
{
|
|
try {
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
var gen_ret = com.adjust.sdk.Adjust.getSdkVersion( );
|
|
LuaAPI.lua_pushstring(L, gen_ret);
|
|
|
|
|
|
|
|
return 1;
|
|
}
|
|
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _m_getGoogleAdId_xlua_st_(RealStatePtr L)
|
|
{
|
|
try {
|
|
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
|
|
|
|
|
|
{
|
|
System.Action<string> _onDeviceIdsRead = translator.GetDelegate<System.Action<string>>(L, 1);
|
|
|
|
com.adjust.sdk.Adjust.getGoogleAdId( _onDeviceIdsRead );
|
|
|
|
|
|
|
|
return 0;
|
|
}
|
|
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _m_getAmazonAdId_xlua_st_(RealStatePtr L)
|
|
{
|
|
try {
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
var gen_ret = com.adjust.sdk.Adjust.getAmazonAdId( );
|
|
LuaAPI.lua_pushstring(L, gen_ret);
|
|
|
|
|
|
|
|
return 1;
|
|
}
|
|
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _m_getLastDeeplink_xlua_st_(RealStatePtr L)
|
|
{
|
|
try {
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
var gen_ret = com.adjust.sdk.Adjust.getLastDeeplink( );
|
|
LuaAPI.lua_pushstring(L, gen_ret);
|
|
|
|
|
|
|
|
return 1;
|
|
}
|
|
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _m_SetTestOptions_xlua_st_(RealStatePtr L)
|
|
{
|
|
try {
|
|
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
|
|
|
|
|
|
{
|
|
System.Collections.Generic.Dictionary<string, string> _testOptions = (System.Collections.Generic.Dictionary<string, string>)translator.GetObject(L, 1, typeof(System.Collections.Generic.Dictionary<string, string>));
|
|
|
|
com.adjust.sdk.Adjust.SetTestOptions( _testOptions );
|
|
|
|
|
|
|
|
return 0;
|
|
}
|
|
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _g_get_startManually(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
com.adjust.sdk.Adjust gen_to_be_invoked = (com.adjust.sdk.Adjust)translator.FastGetCSObj(L, 1);
|
|
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.startManually);
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 1;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _g_get_androidAppToken(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
com.adjust.sdk.Adjust gen_to_be_invoked = (com.adjust.sdk.Adjust)translator.FastGetCSObj(L, 1);
|
|
LuaAPI.lua_pushstring(L, gen_to_be_invoked.androidAppToken);
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 1;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _g_get_iosAppToken(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
com.adjust.sdk.Adjust gen_to_be_invoked = (com.adjust.sdk.Adjust)translator.FastGetCSObj(L, 1);
|
|
LuaAPI.lua_pushstring(L, gen_to_be_invoked.iosAppToken);
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 1;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _g_get_environment(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
com.adjust.sdk.Adjust gen_to_be_invoked = (com.adjust.sdk.Adjust)translator.FastGetCSObj(L, 1);
|
|
translator.Push(L, gen_to_be_invoked.environment);
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 1;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _g_get_logLevel(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
com.adjust.sdk.Adjust gen_to_be_invoked = (com.adjust.sdk.Adjust)translator.FastGetCSObj(L, 1);
|
|
translator.Push(L, gen_to_be_invoked.logLevel);
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 1;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _g_get_eventBuffering(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
com.adjust.sdk.Adjust gen_to_be_invoked = (com.adjust.sdk.Adjust)translator.FastGetCSObj(L, 1);
|
|
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.eventBuffering);
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 1;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _g_get_sendInBackground(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
com.adjust.sdk.Adjust gen_to_be_invoked = (com.adjust.sdk.Adjust)translator.FastGetCSObj(L, 1);
|
|
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.sendInBackground);
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 1;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _g_get_launchDeferredDeeplink(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
com.adjust.sdk.Adjust gen_to_be_invoked = (com.adjust.sdk.Adjust)translator.FastGetCSObj(L, 1);
|
|
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.launchDeferredDeeplink);
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 1;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _g_get_needsCost(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
com.adjust.sdk.Adjust gen_to_be_invoked = (com.adjust.sdk.Adjust)translator.FastGetCSObj(L, 1);
|
|
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.needsCost);
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 1;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _g_get_coppaCompliant(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
com.adjust.sdk.Adjust gen_to_be_invoked = (com.adjust.sdk.Adjust)translator.FastGetCSObj(L, 1);
|
|
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.coppaCompliant);
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 1;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _g_get_linkMe(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
com.adjust.sdk.Adjust gen_to_be_invoked = (com.adjust.sdk.Adjust)translator.FastGetCSObj(L, 1);
|
|
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.linkMe);
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 1;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _g_get_defaultTracker(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
com.adjust.sdk.Adjust gen_to_be_invoked = (com.adjust.sdk.Adjust)translator.FastGetCSObj(L, 1);
|
|
LuaAPI.lua_pushstring(L, gen_to_be_invoked.defaultTracker);
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 1;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _g_get_urlStrategy(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
com.adjust.sdk.Adjust gen_to_be_invoked = (com.adjust.sdk.Adjust)translator.FastGetCSObj(L, 1);
|
|
translator.Push(L, gen_to_be_invoked.urlStrategy);
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 1;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _g_get_startDelay(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
com.adjust.sdk.Adjust gen_to_be_invoked = (com.adjust.sdk.Adjust)translator.FastGetCSObj(L, 1);
|
|
LuaAPI.lua_pushnumber(L, gen_to_be_invoked.startDelay);
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 1;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _g_get_secretId(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
com.adjust.sdk.Adjust gen_to_be_invoked = (com.adjust.sdk.Adjust)translator.FastGetCSObj(L, 1);
|
|
LuaAPI.lua_pushint64(L, gen_to_be_invoked.secretId);
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 1;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _g_get_info1(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
com.adjust.sdk.Adjust gen_to_be_invoked = (com.adjust.sdk.Adjust)translator.FastGetCSObj(L, 1);
|
|
LuaAPI.lua_pushint64(L, gen_to_be_invoked.info1);
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 1;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _g_get_info2(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
com.adjust.sdk.Adjust gen_to_be_invoked = (com.adjust.sdk.Adjust)translator.FastGetCSObj(L, 1);
|
|
LuaAPI.lua_pushint64(L, gen_to_be_invoked.info2);
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 1;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _g_get_info3(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
com.adjust.sdk.Adjust gen_to_be_invoked = (com.adjust.sdk.Adjust)translator.FastGetCSObj(L, 1);
|
|
LuaAPI.lua_pushint64(L, gen_to_be_invoked.info3);
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 1;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _g_get_info4(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
com.adjust.sdk.Adjust gen_to_be_invoked = (com.adjust.sdk.Adjust)translator.FastGetCSObj(L, 1);
|
|
LuaAPI.lua_pushint64(L, gen_to_be_invoked.info4);
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 1;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _g_get_preinstallTracking(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
com.adjust.sdk.Adjust gen_to_be_invoked = (com.adjust.sdk.Adjust)translator.FastGetCSObj(L, 1);
|
|
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.preinstallTracking);
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 1;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _g_get_preinstallFilePath(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
com.adjust.sdk.Adjust gen_to_be_invoked = (com.adjust.sdk.Adjust)translator.FastGetCSObj(L, 1);
|
|
LuaAPI.lua_pushstring(L, gen_to_be_invoked.preinstallFilePath);
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 1;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _g_get_playStoreKidsApp(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
com.adjust.sdk.Adjust gen_to_be_invoked = (com.adjust.sdk.Adjust)translator.FastGetCSObj(L, 1);
|
|
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.playStoreKidsApp);
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 1;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _g_get_iadInfoReading(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
com.adjust.sdk.Adjust gen_to_be_invoked = (com.adjust.sdk.Adjust)translator.FastGetCSObj(L, 1);
|
|
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.iadInfoReading);
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 1;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _g_get_adServicesInfoReading(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
com.adjust.sdk.Adjust gen_to_be_invoked = (com.adjust.sdk.Adjust)translator.FastGetCSObj(L, 1);
|
|
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.adServicesInfoReading);
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 1;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _g_get_idfaInfoReading(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
com.adjust.sdk.Adjust gen_to_be_invoked = (com.adjust.sdk.Adjust)translator.FastGetCSObj(L, 1);
|
|
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.idfaInfoReading);
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 1;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _g_get_skAdNetworkHandling(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
com.adjust.sdk.Adjust gen_to_be_invoked = (com.adjust.sdk.Adjust)translator.FastGetCSObj(L, 1);
|
|
LuaAPI.lua_pushboolean(L, gen_to_be_invoked.skAdNetworkHandling);
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 1;
|
|
}
|
|
|
|
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _s_set_startManually(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
com.adjust.sdk.Adjust gen_to_be_invoked = (com.adjust.sdk.Adjust)translator.FastGetCSObj(L, 1);
|
|
gen_to_be_invoked.startManually = LuaAPI.lua_toboolean(L, 2);
|
|
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 0;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _s_set_androidAppToken(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
com.adjust.sdk.Adjust gen_to_be_invoked = (com.adjust.sdk.Adjust)translator.FastGetCSObj(L, 1);
|
|
gen_to_be_invoked.androidAppToken = LuaAPI.lua_tostring(L, 2);
|
|
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 0;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _s_set_iosAppToken(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
com.adjust.sdk.Adjust gen_to_be_invoked = (com.adjust.sdk.Adjust)translator.FastGetCSObj(L, 1);
|
|
gen_to_be_invoked.iosAppToken = LuaAPI.lua_tostring(L, 2);
|
|
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 0;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _s_set_environment(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
com.adjust.sdk.Adjust gen_to_be_invoked = (com.adjust.sdk.Adjust)translator.FastGetCSObj(L, 1);
|
|
com.adjust.sdk.AdjustEnvironment gen_value;translator.Get(L, 2, out gen_value);
|
|
gen_to_be_invoked.environment = gen_value;
|
|
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 0;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _s_set_logLevel(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
com.adjust.sdk.Adjust gen_to_be_invoked = (com.adjust.sdk.Adjust)translator.FastGetCSObj(L, 1);
|
|
com.adjust.sdk.AdjustLogLevel gen_value;translator.Get(L, 2, out gen_value);
|
|
gen_to_be_invoked.logLevel = gen_value;
|
|
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 0;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _s_set_eventBuffering(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
com.adjust.sdk.Adjust gen_to_be_invoked = (com.adjust.sdk.Adjust)translator.FastGetCSObj(L, 1);
|
|
gen_to_be_invoked.eventBuffering = LuaAPI.lua_toboolean(L, 2);
|
|
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 0;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _s_set_sendInBackground(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
com.adjust.sdk.Adjust gen_to_be_invoked = (com.adjust.sdk.Adjust)translator.FastGetCSObj(L, 1);
|
|
gen_to_be_invoked.sendInBackground = LuaAPI.lua_toboolean(L, 2);
|
|
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 0;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _s_set_launchDeferredDeeplink(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
com.adjust.sdk.Adjust gen_to_be_invoked = (com.adjust.sdk.Adjust)translator.FastGetCSObj(L, 1);
|
|
gen_to_be_invoked.launchDeferredDeeplink = LuaAPI.lua_toboolean(L, 2);
|
|
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 0;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _s_set_needsCost(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
com.adjust.sdk.Adjust gen_to_be_invoked = (com.adjust.sdk.Adjust)translator.FastGetCSObj(L, 1);
|
|
gen_to_be_invoked.needsCost = LuaAPI.lua_toboolean(L, 2);
|
|
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 0;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _s_set_coppaCompliant(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
com.adjust.sdk.Adjust gen_to_be_invoked = (com.adjust.sdk.Adjust)translator.FastGetCSObj(L, 1);
|
|
gen_to_be_invoked.coppaCompliant = LuaAPI.lua_toboolean(L, 2);
|
|
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 0;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _s_set_linkMe(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
com.adjust.sdk.Adjust gen_to_be_invoked = (com.adjust.sdk.Adjust)translator.FastGetCSObj(L, 1);
|
|
gen_to_be_invoked.linkMe = LuaAPI.lua_toboolean(L, 2);
|
|
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 0;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _s_set_defaultTracker(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
com.adjust.sdk.Adjust gen_to_be_invoked = (com.adjust.sdk.Adjust)translator.FastGetCSObj(L, 1);
|
|
gen_to_be_invoked.defaultTracker = LuaAPI.lua_tostring(L, 2);
|
|
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 0;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _s_set_urlStrategy(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
com.adjust.sdk.Adjust gen_to_be_invoked = (com.adjust.sdk.Adjust)translator.FastGetCSObj(L, 1);
|
|
com.adjust.sdk.AdjustUrlStrategy gen_value;translator.Get(L, 2, out gen_value);
|
|
gen_to_be_invoked.urlStrategy = gen_value;
|
|
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 0;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _s_set_startDelay(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
com.adjust.sdk.Adjust gen_to_be_invoked = (com.adjust.sdk.Adjust)translator.FastGetCSObj(L, 1);
|
|
gen_to_be_invoked.startDelay = LuaAPI.lua_tonumber(L, 2);
|
|
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 0;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _s_set_secretId(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
com.adjust.sdk.Adjust gen_to_be_invoked = (com.adjust.sdk.Adjust)translator.FastGetCSObj(L, 1);
|
|
gen_to_be_invoked.secretId = LuaAPI.lua_toint64(L, 2);
|
|
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 0;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _s_set_info1(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
com.adjust.sdk.Adjust gen_to_be_invoked = (com.adjust.sdk.Adjust)translator.FastGetCSObj(L, 1);
|
|
gen_to_be_invoked.info1 = LuaAPI.lua_toint64(L, 2);
|
|
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 0;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _s_set_info2(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
com.adjust.sdk.Adjust gen_to_be_invoked = (com.adjust.sdk.Adjust)translator.FastGetCSObj(L, 1);
|
|
gen_to_be_invoked.info2 = LuaAPI.lua_toint64(L, 2);
|
|
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 0;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _s_set_info3(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
com.adjust.sdk.Adjust gen_to_be_invoked = (com.adjust.sdk.Adjust)translator.FastGetCSObj(L, 1);
|
|
gen_to_be_invoked.info3 = LuaAPI.lua_toint64(L, 2);
|
|
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 0;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _s_set_info4(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
com.adjust.sdk.Adjust gen_to_be_invoked = (com.adjust.sdk.Adjust)translator.FastGetCSObj(L, 1);
|
|
gen_to_be_invoked.info4 = LuaAPI.lua_toint64(L, 2);
|
|
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 0;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _s_set_preinstallTracking(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
com.adjust.sdk.Adjust gen_to_be_invoked = (com.adjust.sdk.Adjust)translator.FastGetCSObj(L, 1);
|
|
gen_to_be_invoked.preinstallTracking = LuaAPI.lua_toboolean(L, 2);
|
|
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 0;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _s_set_preinstallFilePath(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
com.adjust.sdk.Adjust gen_to_be_invoked = (com.adjust.sdk.Adjust)translator.FastGetCSObj(L, 1);
|
|
gen_to_be_invoked.preinstallFilePath = LuaAPI.lua_tostring(L, 2);
|
|
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 0;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _s_set_playStoreKidsApp(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
com.adjust.sdk.Adjust gen_to_be_invoked = (com.adjust.sdk.Adjust)translator.FastGetCSObj(L, 1);
|
|
gen_to_be_invoked.playStoreKidsApp = LuaAPI.lua_toboolean(L, 2);
|
|
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 0;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _s_set_iadInfoReading(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
com.adjust.sdk.Adjust gen_to_be_invoked = (com.adjust.sdk.Adjust)translator.FastGetCSObj(L, 1);
|
|
gen_to_be_invoked.iadInfoReading = LuaAPI.lua_toboolean(L, 2);
|
|
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 0;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _s_set_adServicesInfoReading(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
com.adjust.sdk.Adjust gen_to_be_invoked = (com.adjust.sdk.Adjust)translator.FastGetCSObj(L, 1);
|
|
gen_to_be_invoked.adServicesInfoReading = LuaAPI.lua_toboolean(L, 2);
|
|
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 0;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _s_set_idfaInfoReading(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
com.adjust.sdk.Adjust gen_to_be_invoked = (com.adjust.sdk.Adjust)translator.FastGetCSObj(L, 1);
|
|
gen_to_be_invoked.idfaInfoReading = LuaAPI.lua_toboolean(L, 2);
|
|
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 0;
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int _s_set_skAdNetworkHandling(RealStatePtr L)
|
|
{
|
|
try {
|
|
ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
|
|
|
|
com.adjust.sdk.Adjust gen_to_be_invoked = (com.adjust.sdk.Adjust)translator.FastGetCSObj(L, 1);
|
|
gen_to_be_invoked.skAdNetworkHandling = LuaAPI.lua_toboolean(L, 2);
|
|
|
|
} catch(System.Exception gen_e) {
|
|
return LuaAPI.luaL_error(L, "c# exception:" + gen_e);
|
|
}
|
|
return 0;
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
}
|