#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 comadjustsdkAdjustConfigWrap { public static void __Register(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); System.Type type = typeof(com.adjust.sdk.AdjustConfig); Utils.BeginObjectRegister(type, L, translator, 0, 39, 0, 0); Utils.RegisterFunc(L, Utils.METHOD_IDX, "setLogLevel", _m_setLogLevel); Utils.RegisterFunc(L, Utils.METHOD_IDX, "setDefaultTracker", _m_setDefaultTracker); Utils.RegisterFunc(L, Utils.METHOD_IDX, "setExternalDeviceId", _m_setExternalDeviceId); Utils.RegisterFunc(L, Utils.METHOD_IDX, "setLaunchDeferredDeeplink", _m_setLaunchDeferredDeeplink); Utils.RegisterFunc(L, Utils.METHOD_IDX, "setSendInBackground", _m_setSendInBackground); Utils.RegisterFunc(L, Utils.METHOD_IDX, "setEventBufferingEnabled", _m_setEventBufferingEnabled); Utils.RegisterFunc(L, Utils.METHOD_IDX, "setCoppaCompliantEnabled", _m_setCoppaCompliantEnabled); Utils.RegisterFunc(L, Utils.METHOD_IDX, "setPlayStoreKidsAppEnabled", _m_setPlayStoreKidsAppEnabled); Utils.RegisterFunc(L, Utils.METHOD_IDX, "setNeedsCost", _m_setNeedsCost); Utils.RegisterFunc(L, Utils.METHOD_IDX, "setDelayStart", _m_setDelayStart); Utils.RegisterFunc(L, Utils.METHOD_IDX, "setUserAgent", _m_setUserAgent); Utils.RegisterFunc(L, Utils.METHOD_IDX, "setIsDeviceKnown", _m_setIsDeviceKnown); Utils.RegisterFunc(L, Utils.METHOD_IDX, "setUrlStrategy", _m_setUrlStrategy); Utils.RegisterFunc(L, Utils.METHOD_IDX, "deactivateSKAdNetworkHandling", _m_deactivateSKAdNetworkHandling); Utils.RegisterFunc(L, Utils.METHOD_IDX, "setLinkMeEnabled", _m_setLinkMeEnabled); Utils.RegisterFunc(L, Utils.METHOD_IDX, "setDeferredDeeplinkDelegate", _m_setDeferredDeeplinkDelegate); Utils.RegisterFunc(L, Utils.METHOD_IDX, "getDeferredDeeplinkDelegate", _m_getDeferredDeeplinkDelegate); Utils.RegisterFunc(L, Utils.METHOD_IDX, "setAttributionChangedDelegate", _m_setAttributionChangedDelegate); Utils.RegisterFunc(L, Utils.METHOD_IDX, "getAttributionChangedDelegate", _m_getAttributionChangedDelegate); Utils.RegisterFunc(L, Utils.METHOD_IDX, "setEventSuccessDelegate", _m_setEventSuccessDelegate); Utils.RegisterFunc(L, Utils.METHOD_IDX, "getEventSuccessDelegate", _m_getEventSuccessDelegate); Utils.RegisterFunc(L, Utils.METHOD_IDX, "setEventFailureDelegate", _m_setEventFailureDelegate); Utils.RegisterFunc(L, Utils.METHOD_IDX, "getEventFailureDelegate", _m_getEventFailureDelegate); Utils.RegisterFunc(L, Utils.METHOD_IDX, "setSessionSuccessDelegate", _m_setSessionSuccessDelegate); Utils.RegisterFunc(L, Utils.METHOD_IDX, "getSessionSuccessDelegate", _m_getSessionSuccessDelegate); Utils.RegisterFunc(L, Utils.METHOD_IDX, "setSessionFailureDelegate", _m_setSessionFailureDelegate); Utils.RegisterFunc(L, Utils.METHOD_IDX, "getSessionFailureDelegate", _m_getSessionFailureDelegate); Utils.RegisterFunc(L, Utils.METHOD_IDX, "setConversionValueUpdatedDelegate", _m_setConversionValueUpdatedDelegate); Utils.RegisterFunc(L, Utils.METHOD_IDX, "setSkad4ConversionValueUpdatedDelegate", _m_setSkad4ConversionValueUpdatedDelegate); Utils.RegisterFunc(L, Utils.METHOD_IDX, "getConversionValueUpdatedDelegate", _m_getConversionValueUpdatedDelegate); Utils.RegisterFunc(L, Utils.METHOD_IDX, "getSkad4ConversionValueUpdatedDelegate", _m_getSkad4ConversionValueUpdatedDelegate); Utils.RegisterFunc(L, Utils.METHOD_IDX, "setAppSecret", _m_setAppSecret); Utils.RegisterFunc(L, Utils.METHOD_IDX, "setAllowiAdInfoReading", _m_setAllowiAdInfoReading); Utils.RegisterFunc(L, Utils.METHOD_IDX, "setAllowAdServicesInfoReading", _m_setAllowAdServicesInfoReading); Utils.RegisterFunc(L, Utils.METHOD_IDX, "setAllowIdfaReading", _m_setAllowIdfaReading); Utils.RegisterFunc(L, Utils.METHOD_IDX, "setProcessName", _m_setProcessName); Utils.RegisterFunc(L, Utils.METHOD_IDX, "setPreinstallTrackingEnabled", _m_setPreinstallTrackingEnabled); Utils.RegisterFunc(L, Utils.METHOD_IDX, "setPreinstallFilePath", _m_setPreinstallFilePath); Utils.RegisterFunc(L, Utils.METHOD_IDX, "setLogDelegate", _m_setLogDelegate); Utils.EndObjectRegister(type, L, translator, null, null, null, null, null); Utils.BeginClassRegister(type, L, __CreateInstance, 15, 0, 0); Utils.RegisterObject(L, translator, Utils.CLS_IDX, "AdjustUrlStrategyChina", com.adjust.sdk.AdjustConfig.AdjustUrlStrategyChina); Utils.RegisterObject(L, translator, Utils.CLS_IDX, "AdjustUrlStrategyIndia", com.adjust.sdk.AdjustConfig.AdjustUrlStrategyIndia); Utils.RegisterObject(L, translator, Utils.CLS_IDX, "AdjustUrlStrategyCn", com.adjust.sdk.AdjustConfig.AdjustUrlStrategyCn); Utils.RegisterObject(L, translator, Utils.CLS_IDX, "AdjustDataResidencyEU", com.adjust.sdk.AdjustConfig.AdjustDataResidencyEU); Utils.RegisterObject(L, translator, Utils.CLS_IDX, "AdjustDataResidencyTR", com.adjust.sdk.AdjustConfig.AdjustDataResidencyTR); Utils.RegisterObject(L, translator, Utils.CLS_IDX, "AdjustDataResidencyUS", com.adjust.sdk.AdjustConfig.AdjustDataResidencyUS); Utils.RegisterObject(L, translator, Utils.CLS_IDX, "AdjustAdRevenueSourceAppLovinMAX", com.adjust.sdk.AdjustConfig.AdjustAdRevenueSourceAppLovinMAX); Utils.RegisterObject(L, translator, Utils.CLS_IDX, "AdjustAdRevenueSourceMopub", com.adjust.sdk.AdjustConfig.AdjustAdRevenueSourceMopub); Utils.RegisterObject(L, translator, Utils.CLS_IDX, "AdjustAdRevenueSourceAdMob", com.adjust.sdk.AdjustConfig.AdjustAdRevenueSourceAdMob); Utils.RegisterObject(L, translator, Utils.CLS_IDX, "AdjustAdRevenueSourceIronSource", com.adjust.sdk.AdjustConfig.AdjustAdRevenueSourceIronSource); Utils.RegisterObject(L, translator, Utils.CLS_IDX, "AdjustAdRevenueSourceAdmost", com.adjust.sdk.AdjustConfig.AdjustAdRevenueSourceAdmost); Utils.RegisterObject(L, translator, Utils.CLS_IDX, "AdjustAdRevenueSourceUnity", com.adjust.sdk.AdjustConfig.AdjustAdRevenueSourceUnity); Utils.RegisterObject(L, translator, Utils.CLS_IDX, "AdjustAdRevenueSourceHeliumChartboost", com.adjust.sdk.AdjustConfig.AdjustAdRevenueSourceHeliumChartboost); Utils.RegisterObject(L, translator, Utils.CLS_IDX, "AdjustAdRevenueSourcePublisher", com.adjust.sdk.AdjustConfig.AdjustAdRevenueSourcePublisher); 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) == 3 && (LuaAPI.lua_isnil(L, 2) || LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TSTRING) && translator.Assignable(L, 3)) { string _appToken = LuaAPI.lua_tostring(L, 2); com.adjust.sdk.AdjustEnvironment _environment;translator.Get(L, 3, out _environment); var gen_ret = new com.adjust.sdk.AdjustConfig(_appToken, _environment); translator.Push(L, gen_ret); return 1; } if(LuaAPI.lua_gettop(L) == 4 && (LuaAPI.lua_isnil(L, 2) || LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TSTRING) && translator.Assignable(L, 3) && LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 4)) { string _appToken = LuaAPI.lua_tostring(L, 2); com.adjust.sdk.AdjustEnvironment _environment;translator.Get(L, 3, out _environment); bool _allowSuppressLogLevel = LuaAPI.lua_toboolean(L, 4); var gen_ret = new com.adjust.sdk.AdjustConfig(_appToken, _environment, _allowSuppressLogLevel); 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.AdjustConfig constructor!"); } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_setLogLevel(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); com.adjust.sdk.AdjustConfig gen_to_be_invoked = (com.adjust.sdk.AdjustConfig)translator.FastGetCSObj(L, 1); { com.adjust.sdk.AdjustLogLevel _logLevel;translator.Get(L, 2, out _logLevel); gen_to_be_invoked.setLogLevel( _logLevel ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_setDefaultTracker(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); com.adjust.sdk.AdjustConfig gen_to_be_invoked = (com.adjust.sdk.AdjustConfig)translator.FastGetCSObj(L, 1); { string _defaultTracker = LuaAPI.lua_tostring(L, 2); gen_to_be_invoked.setDefaultTracker( _defaultTracker ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_setExternalDeviceId(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); com.adjust.sdk.AdjustConfig gen_to_be_invoked = (com.adjust.sdk.AdjustConfig)translator.FastGetCSObj(L, 1); { string _externalDeviceId = LuaAPI.lua_tostring(L, 2); gen_to_be_invoked.setExternalDeviceId( _externalDeviceId ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_setLaunchDeferredDeeplink(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); com.adjust.sdk.AdjustConfig gen_to_be_invoked = (com.adjust.sdk.AdjustConfig)translator.FastGetCSObj(L, 1); { bool _launchDeferredDeeplink = LuaAPI.lua_toboolean(L, 2); gen_to_be_invoked.setLaunchDeferredDeeplink( _launchDeferredDeeplink ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_setSendInBackground(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); com.adjust.sdk.AdjustConfig gen_to_be_invoked = (com.adjust.sdk.AdjustConfig)translator.FastGetCSObj(L, 1); { bool _sendInBackground = LuaAPI.lua_toboolean(L, 2); gen_to_be_invoked.setSendInBackground( _sendInBackground ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_setEventBufferingEnabled(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); com.adjust.sdk.AdjustConfig gen_to_be_invoked = (com.adjust.sdk.AdjustConfig)translator.FastGetCSObj(L, 1); { bool _eventBufferingEnabled = LuaAPI.lua_toboolean(L, 2); gen_to_be_invoked.setEventBufferingEnabled( _eventBufferingEnabled ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_setCoppaCompliantEnabled(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); com.adjust.sdk.AdjustConfig gen_to_be_invoked = (com.adjust.sdk.AdjustConfig)translator.FastGetCSObj(L, 1); { bool _coppaCompliantEnabled = LuaAPI.lua_toboolean(L, 2); gen_to_be_invoked.setCoppaCompliantEnabled( _coppaCompliantEnabled ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_setPlayStoreKidsAppEnabled(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); com.adjust.sdk.AdjustConfig gen_to_be_invoked = (com.adjust.sdk.AdjustConfig)translator.FastGetCSObj(L, 1); { bool _playStoreKidsAppEnabled = LuaAPI.lua_toboolean(L, 2); gen_to_be_invoked.setPlayStoreKidsAppEnabled( _playStoreKidsAppEnabled ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_setNeedsCost(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); com.adjust.sdk.AdjustConfig gen_to_be_invoked = (com.adjust.sdk.AdjustConfig)translator.FastGetCSObj(L, 1); { bool _needsCost = LuaAPI.lua_toboolean(L, 2); gen_to_be_invoked.setNeedsCost( _needsCost ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_setDelayStart(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); com.adjust.sdk.AdjustConfig gen_to_be_invoked = (com.adjust.sdk.AdjustConfig)translator.FastGetCSObj(L, 1); { double _delayStart = LuaAPI.lua_tonumber(L, 2); gen_to_be_invoked.setDelayStart( _delayStart ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_setUserAgent(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); com.adjust.sdk.AdjustConfig gen_to_be_invoked = (com.adjust.sdk.AdjustConfig)translator.FastGetCSObj(L, 1); { string _userAgent = LuaAPI.lua_tostring(L, 2); gen_to_be_invoked.setUserAgent( _userAgent ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_setIsDeviceKnown(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); com.adjust.sdk.AdjustConfig gen_to_be_invoked = (com.adjust.sdk.AdjustConfig)translator.FastGetCSObj(L, 1); { bool _isDeviceKnown = LuaAPI.lua_toboolean(L, 2); gen_to_be_invoked.setIsDeviceKnown( _isDeviceKnown ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_setUrlStrategy(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); com.adjust.sdk.AdjustConfig gen_to_be_invoked = (com.adjust.sdk.AdjustConfig)translator.FastGetCSObj(L, 1); { string _urlStrategy = LuaAPI.lua_tostring(L, 2); gen_to_be_invoked.setUrlStrategy( _urlStrategy ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_deactivateSKAdNetworkHandling(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); com.adjust.sdk.AdjustConfig gen_to_be_invoked = (com.adjust.sdk.AdjustConfig)translator.FastGetCSObj(L, 1); { gen_to_be_invoked.deactivateSKAdNetworkHandling( ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_setLinkMeEnabled(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); com.adjust.sdk.AdjustConfig gen_to_be_invoked = (com.adjust.sdk.AdjustConfig)translator.FastGetCSObj(L, 1); { bool _linkMeEnabled = LuaAPI.lua_toboolean(L, 2); gen_to_be_invoked.setLinkMeEnabled( _linkMeEnabled ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_setDeferredDeeplinkDelegate(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); com.adjust.sdk.AdjustConfig gen_to_be_invoked = (com.adjust.sdk.AdjustConfig)translator.FastGetCSObj(L, 1); int gen_param_count = LuaAPI.lua_gettop(L); if(gen_param_count == 3&& translator.Assignable>(L, 2)&& (LuaAPI.lua_isnil(L, 3) || LuaAPI.lua_type(L, 3) == LuaTypes.LUA_TSTRING)) { System.Action _deferredDeeplinkDelegate = translator.GetDelegate>(L, 2); string _sceneName = LuaAPI.lua_tostring(L, 3); gen_to_be_invoked.setDeferredDeeplinkDelegate( _deferredDeeplinkDelegate, _sceneName ); return 0; } if(gen_param_count == 2&& translator.Assignable>(L, 2)) { System.Action _deferredDeeplinkDelegate = translator.GetDelegate>(L, 2); gen_to_be_invoked.setDeferredDeeplinkDelegate( _deferredDeeplinkDelegate ); 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.AdjustConfig.setDeferredDeeplinkDelegate!"); } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_getDeferredDeeplinkDelegate(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); com.adjust.sdk.AdjustConfig gen_to_be_invoked = (com.adjust.sdk.AdjustConfig)translator.FastGetCSObj(L, 1); { var gen_ret = gen_to_be_invoked.getDeferredDeeplinkDelegate( ); 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_setAttributionChangedDelegate(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); com.adjust.sdk.AdjustConfig gen_to_be_invoked = (com.adjust.sdk.AdjustConfig)translator.FastGetCSObj(L, 1); int gen_param_count = LuaAPI.lua_gettop(L); if(gen_param_count == 3&& translator.Assignable>(L, 2)&& (LuaAPI.lua_isnil(L, 3) || LuaAPI.lua_type(L, 3) == LuaTypes.LUA_TSTRING)) { System.Action _attributionChangedDelegate = translator.GetDelegate>(L, 2); string _sceneName = LuaAPI.lua_tostring(L, 3); gen_to_be_invoked.setAttributionChangedDelegate( _attributionChangedDelegate, _sceneName ); return 0; } if(gen_param_count == 2&& translator.Assignable>(L, 2)) { System.Action _attributionChangedDelegate = translator.GetDelegate>(L, 2); gen_to_be_invoked.setAttributionChangedDelegate( _attributionChangedDelegate ); 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.AdjustConfig.setAttributionChangedDelegate!"); } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_getAttributionChangedDelegate(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); com.adjust.sdk.AdjustConfig gen_to_be_invoked = (com.adjust.sdk.AdjustConfig)translator.FastGetCSObj(L, 1); { var gen_ret = gen_to_be_invoked.getAttributionChangedDelegate( ); 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_setEventSuccessDelegate(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); com.adjust.sdk.AdjustConfig gen_to_be_invoked = (com.adjust.sdk.AdjustConfig)translator.FastGetCSObj(L, 1); int gen_param_count = LuaAPI.lua_gettop(L); if(gen_param_count == 3&& translator.Assignable>(L, 2)&& (LuaAPI.lua_isnil(L, 3) || LuaAPI.lua_type(L, 3) == LuaTypes.LUA_TSTRING)) { System.Action _eventSuccessDelegate = translator.GetDelegate>(L, 2); string _sceneName = LuaAPI.lua_tostring(L, 3); gen_to_be_invoked.setEventSuccessDelegate( _eventSuccessDelegate, _sceneName ); return 0; } if(gen_param_count == 2&& translator.Assignable>(L, 2)) { System.Action _eventSuccessDelegate = translator.GetDelegate>(L, 2); gen_to_be_invoked.setEventSuccessDelegate( _eventSuccessDelegate ); 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.AdjustConfig.setEventSuccessDelegate!"); } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_getEventSuccessDelegate(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); com.adjust.sdk.AdjustConfig gen_to_be_invoked = (com.adjust.sdk.AdjustConfig)translator.FastGetCSObj(L, 1); { var gen_ret = gen_to_be_invoked.getEventSuccessDelegate( ); 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_setEventFailureDelegate(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); com.adjust.sdk.AdjustConfig gen_to_be_invoked = (com.adjust.sdk.AdjustConfig)translator.FastGetCSObj(L, 1); int gen_param_count = LuaAPI.lua_gettop(L); if(gen_param_count == 3&& translator.Assignable>(L, 2)&& (LuaAPI.lua_isnil(L, 3) || LuaAPI.lua_type(L, 3) == LuaTypes.LUA_TSTRING)) { System.Action _eventFailureDelegate = translator.GetDelegate>(L, 2); string _sceneName = LuaAPI.lua_tostring(L, 3); gen_to_be_invoked.setEventFailureDelegate( _eventFailureDelegate, _sceneName ); return 0; } if(gen_param_count == 2&& translator.Assignable>(L, 2)) { System.Action _eventFailureDelegate = translator.GetDelegate>(L, 2); gen_to_be_invoked.setEventFailureDelegate( _eventFailureDelegate ); 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.AdjustConfig.setEventFailureDelegate!"); } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_getEventFailureDelegate(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); com.adjust.sdk.AdjustConfig gen_to_be_invoked = (com.adjust.sdk.AdjustConfig)translator.FastGetCSObj(L, 1); { var gen_ret = gen_to_be_invoked.getEventFailureDelegate( ); 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_setSessionSuccessDelegate(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); com.adjust.sdk.AdjustConfig gen_to_be_invoked = (com.adjust.sdk.AdjustConfig)translator.FastGetCSObj(L, 1); int gen_param_count = LuaAPI.lua_gettop(L); if(gen_param_count == 3&& translator.Assignable>(L, 2)&& (LuaAPI.lua_isnil(L, 3) || LuaAPI.lua_type(L, 3) == LuaTypes.LUA_TSTRING)) { System.Action _sessionSuccessDelegate = translator.GetDelegate>(L, 2); string _sceneName = LuaAPI.lua_tostring(L, 3); gen_to_be_invoked.setSessionSuccessDelegate( _sessionSuccessDelegate, _sceneName ); return 0; } if(gen_param_count == 2&& translator.Assignable>(L, 2)) { System.Action _sessionSuccessDelegate = translator.GetDelegate>(L, 2); gen_to_be_invoked.setSessionSuccessDelegate( _sessionSuccessDelegate ); 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.AdjustConfig.setSessionSuccessDelegate!"); } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_getSessionSuccessDelegate(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); com.adjust.sdk.AdjustConfig gen_to_be_invoked = (com.adjust.sdk.AdjustConfig)translator.FastGetCSObj(L, 1); { var gen_ret = gen_to_be_invoked.getSessionSuccessDelegate( ); 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_setSessionFailureDelegate(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); com.adjust.sdk.AdjustConfig gen_to_be_invoked = (com.adjust.sdk.AdjustConfig)translator.FastGetCSObj(L, 1); int gen_param_count = LuaAPI.lua_gettop(L); if(gen_param_count == 3&& translator.Assignable>(L, 2)&& (LuaAPI.lua_isnil(L, 3) || LuaAPI.lua_type(L, 3) == LuaTypes.LUA_TSTRING)) { System.Action _sessionFailureDelegate = translator.GetDelegate>(L, 2); string _sceneName = LuaAPI.lua_tostring(L, 3); gen_to_be_invoked.setSessionFailureDelegate( _sessionFailureDelegate, _sceneName ); return 0; } if(gen_param_count == 2&& translator.Assignable>(L, 2)) { System.Action _sessionFailureDelegate = translator.GetDelegate>(L, 2); gen_to_be_invoked.setSessionFailureDelegate( _sessionFailureDelegate ); 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.AdjustConfig.setSessionFailureDelegate!"); } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_getSessionFailureDelegate(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); com.adjust.sdk.AdjustConfig gen_to_be_invoked = (com.adjust.sdk.AdjustConfig)translator.FastGetCSObj(L, 1); { var gen_ret = gen_to_be_invoked.getSessionFailureDelegate( ); 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_setConversionValueUpdatedDelegate(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); com.adjust.sdk.AdjustConfig gen_to_be_invoked = (com.adjust.sdk.AdjustConfig)translator.FastGetCSObj(L, 1); int gen_param_count = LuaAPI.lua_gettop(L); if(gen_param_count == 3&& translator.Assignable>(L, 2)&& (LuaAPI.lua_isnil(L, 3) || LuaAPI.lua_type(L, 3) == LuaTypes.LUA_TSTRING)) { System.Action _conversionValueUpdatedDelegate = translator.GetDelegate>(L, 2); string _sceneName = LuaAPI.lua_tostring(L, 3); gen_to_be_invoked.setConversionValueUpdatedDelegate( _conversionValueUpdatedDelegate, _sceneName ); return 0; } if(gen_param_count == 2&& translator.Assignable>(L, 2)) { System.Action _conversionValueUpdatedDelegate = translator.GetDelegate>(L, 2); gen_to_be_invoked.setConversionValueUpdatedDelegate( _conversionValueUpdatedDelegate ); 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.AdjustConfig.setConversionValueUpdatedDelegate!"); } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_setSkad4ConversionValueUpdatedDelegate(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); com.adjust.sdk.AdjustConfig gen_to_be_invoked = (com.adjust.sdk.AdjustConfig)translator.FastGetCSObj(L, 1); int gen_param_count = LuaAPI.lua_gettop(L); if(gen_param_count == 3&& translator.Assignable>(L, 2)&& (LuaAPI.lua_isnil(L, 3) || LuaAPI.lua_type(L, 3) == LuaTypes.LUA_TSTRING)) { System.Action _skad4ConversionValueUpdatedDelegate = translator.GetDelegate>(L, 2); string _sceneName = LuaAPI.lua_tostring(L, 3); gen_to_be_invoked.setSkad4ConversionValueUpdatedDelegate( _skad4ConversionValueUpdatedDelegate, _sceneName ); return 0; } if(gen_param_count == 2&& translator.Assignable>(L, 2)) { System.Action _skad4ConversionValueUpdatedDelegate = translator.GetDelegate>(L, 2); gen_to_be_invoked.setSkad4ConversionValueUpdatedDelegate( _skad4ConversionValueUpdatedDelegate ); 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.AdjustConfig.setSkad4ConversionValueUpdatedDelegate!"); } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_getConversionValueUpdatedDelegate(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); com.adjust.sdk.AdjustConfig gen_to_be_invoked = (com.adjust.sdk.AdjustConfig)translator.FastGetCSObj(L, 1); { var gen_ret = gen_to_be_invoked.getConversionValueUpdatedDelegate( ); 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_getSkad4ConversionValueUpdatedDelegate(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); com.adjust.sdk.AdjustConfig gen_to_be_invoked = (com.adjust.sdk.AdjustConfig)translator.FastGetCSObj(L, 1); { var gen_ret = gen_to_be_invoked.getSkad4ConversionValueUpdatedDelegate( ); 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_setAppSecret(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); com.adjust.sdk.AdjustConfig gen_to_be_invoked = (com.adjust.sdk.AdjustConfig)translator.FastGetCSObj(L, 1); { long _secretId = LuaAPI.lua_toint64(L, 2); long _info1 = LuaAPI.lua_toint64(L, 3); long _info2 = LuaAPI.lua_toint64(L, 4); long _info3 = LuaAPI.lua_toint64(L, 5); long _info4 = LuaAPI.lua_toint64(L, 6); gen_to_be_invoked.setAppSecret( _secretId, _info1, _info2, _info3, _info4 ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_setAllowiAdInfoReading(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); com.adjust.sdk.AdjustConfig gen_to_be_invoked = (com.adjust.sdk.AdjustConfig)translator.FastGetCSObj(L, 1); { bool _allowiAdInfoReading = LuaAPI.lua_toboolean(L, 2); gen_to_be_invoked.setAllowiAdInfoReading( _allowiAdInfoReading ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_setAllowAdServicesInfoReading(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); com.adjust.sdk.AdjustConfig gen_to_be_invoked = (com.adjust.sdk.AdjustConfig)translator.FastGetCSObj(L, 1); { bool _allowAdServicesInfoReading = LuaAPI.lua_toboolean(L, 2); gen_to_be_invoked.setAllowAdServicesInfoReading( _allowAdServicesInfoReading ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_setAllowIdfaReading(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); com.adjust.sdk.AdjustConfig gen_to_be_invoked = (com.adjust.sdk.AdjustConfig)translator.FastGetCSObj(L, 1); { bool _allowIdfaReading = LuaAPI.lua_toboolean(L, 2); gen_to_be_invoked.setAllowIdfaReading( _allowIdfaReading ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_setProcessName(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); com.adjust.sdk.AdjustConfig gen_to_be_invoked = (com.adjust.sdk.AdjustConfig)translator.FastGetCSObj(L, 1); { string _processName = LuaAPI.lua_tostring(L, 2); gen_to_be_invoked.setProcessName( _processName ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_setPreinstallTrackingEnabled(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); com.adjust.sdk.AdjustConfig gen_to_be_invoked = (com.adjust.sdk.AdjustConfig)translator.FastGetCSObj(L, 1); { bool _preinstallTrackingEnabled = LuaAPI.lua_toboolean(L, 2); gen_to_be_invoked.setPreinstallTrackingEnabled( _preinstallTrackingEnabled ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_setPreinstallFilePath(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); com.adjust.sdk.AdjustConfig gen_to_be_invoked = (com.adjust.sdk.AdjustConfig)translator.FastGetCSObj(L, 1); { string _preinstallFilePath = LuaAPI.lua_tostring(L, 2); gen_to_be_invoked.setPreinstallFilePath( _preinstallFilePath ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_setLogDelegate(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); com.adjust.sdk.AdjustConfig gen_to_be_invoked = (com.adjust.sdk.AdjustConfig)translator.FastGetCSObj(L, 1); { System.Action _logDelegate = translator.GetDelegate>(L, 2); gen_to_be_invoked.setLogDelegate( _logDelegate ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } } }