#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 BFLaunchRequesterWrap { public static void __Register(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); System.Type type = typeof(BF.LaunchRequester); Utils.BeginObjectRegister(type, L, translator, 0, 14, 32, 22); Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetLanguageName", _m_SetLanguageName); Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetFirstRequestAction", _m_SetFirstRequestAction); Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetVersionInfo", _m_SetVersionInfo); Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetShowDialogAction", _m_SetShowDialogAction); Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetShowDialogComplexAction", _m_SetShowDialogComplexAction); Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetHideDialogAction", _m_SetHideDialogAction); Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetUpdateSliderAction", _m_SetUpdateSliderAction); Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetHideSliderAction", _m_SetHideSliderAction); Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetPreCheckEndCallback", _m_SetPreCheckEndCallback); Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetGetTotalLengthCallback", _m_SetGetTotalLengthCallback); Utils.RegisterFunc(L, Utils.METHOD_IDX, "SetDownloadingCallback", _m_SetDownloadingCallback); Utils.RegisterFunc(L, Utils.METHOD_IDX, "AddLaunchSuccCallback", _m_AddLaunchSuccCallback); Utils.RegisterFunc(L, Utils.METHOD_IDX, "ClearLaunchSuccCallback", _m_ClearLaunchSuccCallback); Utils.RegisterFunc(L, Utils.METHOD_IDX, "PreCheckNextProcess", _m_PreCheckNextProcess); Utils.RegisterFunc(L, Utils.GETTER_IDX, "FirstRequestAction", _g_get_FirstRequestAction); Utils.RegisterFunc(L, Utils.GETTER_IDX, "DialogAction", _g_get_DialogAction); Utils.RegisterFunc(L, Utils.GETTER_IDX, "DialogComplexAction", _g_get_DialogComplexAction); Utils.RegisterFunc(L, Utils.GETTER_IDX, "HideDialogAction", _g_get_HideDialogAction); Utils.RegisterFunc(L, Utils.GETTER_IDX, "UpdateSilderAction", _g_get_UpdateSilderAction); Utils.RegisterFunc(L, Utils.GETTER_IDX, "HideSliderAction", _g_get_HideSliderAction); Utils.RegisterFunc(L, Utils.GETTER_IDX, "OnPreCheckEnd", _g_get_OnPreCheckEnd); Utils.RegisterFunc(L, Utils.GETTER_IDX, "OnGetTotalLength", _g_get_OnGetTotalLength); Utils.RegisterFunc(L, Utils.GETTER_IDX, "OnDownloading", _g_get_OnDownloading); Utils.RegisterFunc(L, Utils.GETTER_IDX, "OnLaunchSucc", _g_get_OnLaunchSucc); Utils.RegisterFunc(L, Utils.GETTER_IDX, "isNewPackage", _g_get_isNewPackage); Utils.RegisterFunc(L, Utils.GETTER_IDX, "isHotUpdate", _g_get_isHotUpdate); Utils.RegisterFunc(L, Utils.GETTER_IDX, "isAutoRepair", _g_get_isAutoRepair); Utils.RegisterFunc(L, Utils.GETTER_IDX, "firstAb", _g_get_firstAb); Utils.RegisterFunc(L, Utils.GETTER_IDX, "languageName", _g_get_languageName); Utils.RegisterFunc(L, Utils.GETTER_IDX, "downloadLanguage", _g_get_downloadLanguage); Utils.RegisterFunc(L, Utils.GETTER_IDX, "persistentAbccVersion", _g_get_persistentAbccVersion); Utils.RegisterFunc(L, Utils.GETTER_IDX, "curVersionTempDir", _g_get_curVersionTempDir); Utils.RegisterFunc(L, Utils.GETTER_IDX, "versionInfo", _g_get_versionInfo); Utils.RegisterFunc(L, Utils.GETTER_IDX, "firstChoiceCDN", _g_get_firstChoiceCDN); Utils.RegisterFunc(L, Utils.GETTER_IDX, "backupCDN", _g_get_backupCDN); Utils.RegisterFunc(L, Utils.GETTER_IDX, "launchSucceed", _g_get_launchSucceed); Utils.RegisterFunc(L, Utils.GETTER_IDX, "streamingAbcc", _g_get_streamingAbcc); Utils.RegisterFunc(L, Utils.GETTER_IDX, "persistentAbcc", _g_get_persistentAbcc); Utils.RegisterFunc(L, Utils.GETTER_IDX, "versionAbcc", _g_get_versionAbcc); Utils.RegisterFunc(L, Utils.GETTER_IDX, "streamingData", _g_get_streamingData); Utils.RegisterFunc(L, Utils.GETTER_IDX, "versionData", _g_get_versionData); Utils.RegisterFunc(L, Utils.GETTER_IDX, "preCheckMissingList", _g_get_preCheckMissingList); Utils.RegisterFunc(L, Utils.GETTER_IDX, "preCheckOverList", _g_get_preCheckOverList); Utils.RegisterFunc(L, Utils.GETTER_IDX, "downloadList", _g_get_downloadList); Utils.RegisterFunc(L, Utils.GETTER_IDX, "deleteList", _g_get_deleteList); Utils.RegisterFunc(L, Utils.GETTER_IDX, "preCheckNextProcessAction", _g_get_preCheckNextProcessAction); Utils.RegisterFunc(L, Utils.SETTER_IDX, "isNewPackage", _s_set_isNewPackage); Utils.RegisterFunc(L, Utils.SETTER_IDX, "isHotUpdate", _s_set_isHotUpdate); Utils.RegisterFunc(L, Utils.SETTER_IDX, "isAutoRepair", _s_set_isAutoRepair); Utils.RegisterFunc(L, Utils.SETTER_IDX, "firstAb", _s_set_firstAb); Utils.RegisterFunc(L, Utils.SETTER_IDX, "languageName", _s_set_languageName); Utils.RegisterFunc(L, Utils.SETTER_IDX, "downloadLanguage", _s_set_downloadLanguage); Utils.RegisterFunc(L, Utils.SETTER_IDX, "persistentAbccVersion", _s_set_persistentAbccVersion); Utils.RegisterFunc(L, Utils.SETTER_IDX, "curVersionTempDir", _s_set_curVersionTempDir); Utils.RegisterFunc(L, Utils.SETTER_IDX, "versionInfo", _s_set_versionInfo); Utils.RegisterFunc(L, Utils.SETTER_IDX, "firstChoiceCDN", _s_set_firstChoiceCDN); Utils.RegisterFunc(L, Utils.SETTER_IDX, "backupCDN", _s_set_backupCDN); Utils.RegisterFunc(L, Utils.SETTER_IDX, "launchSucceed", _s_set_launchSucceed); Utils.RegisterFunc(L, Utils.SETTER_IDX, "streamingAbcc", _s_set_streamingAbcc); Utils.RegisterFunc(L, Utils.SETTER_IDX, "persistentAbcc", _s_set_persistentAbcc); Utils.RegisterFunc(L, Utils.SETTER_IDX, "versionAbcc", _s_set_versionAbcc); Utils.RegisterFunc(L, Utils.SETTER_IDX, "streamingData", _s_set_streamingData); Utils.RegisterFunc(L, Utils.SETTER_IDX, "versionData", _s_set_versionData); Utils.RegisterFunc(L, Utils.SETTER_IDX, "preCheckMissingList", _s_set_preCheckMissingList); Utils.RegisterFunc(L, Utils.SETTER_IDX, "preCheckOverList", _s_set_preCheckOverList); Utils.RegisterFunc(L, Utils.SETTER_IDX, "downloadList", _s_set_downloadList); Utils.RegisterFunc(L, Utils.SETTER_IDX, "deleteList", _s_set_deleteList); Utils.RegisterFunc(L, Utils.SETTER_IDX, "preCheckNextProcessAction", _s_set_preCheckNextProcessAction); Utils.EndObjectRegister(type, L, translator, null, null, null, null, null); Utils.BeginClassRegister(type, L, __CreateInstance, 1, 0, 0); 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 BF.LaunchRequester(); 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 BF.LaunchRequester constructor!"); } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_SetLanguageName(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); BF.LaunchRequester gen_to_be_invoked = (BF.LaunchRequester)translator.FastGetCSObj(L, 1); { string _languageName = LuaAPI.lua_tostring(L, 2); gen_to_be_invoked.SetLanguageName( _languageName ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_SetFirstRequestAction(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); BF.LaunchRequester gen_to_be_invoked = (BF.LaunchRequester)translator.FastGetCSObj(L, 1); { System.Action> _action = translator.GetDelegate>>(L, 2); gen_to_be_invoked.SetFirstRequestAction( _action ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_SetVersionInfo(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); BF.LaunchRequester gen_to_be_invoked = (BF.LaunchRequester)translator.FastGetCSObj(L, 1); { string _json = LuaAPI.lua_tostring(L, 2); gen_to_be_invoked.SetVersionInfo( _json ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_SetShowDialogAction(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); BF.LaunchRequester gen_to_be_invoked = (BF.LaunchRequester)translator.FastGetCSObj(L, 1); { System.Action _action = translator.GetDelegate>(L, 2); gen_to_be_invoked.SetShowDialogAction( _action ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_SetShowDialogComplexAction(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); BF.LaunchRequester gen_to_be_invoked = (BF.LaunchRequester)translator.FastGetCSObj(L, 1); { System.Action _action = translator.GetDelegate>(L, 2); gen_to_be_invoked.SetShowDialogComplexAction( _action ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_SetHideDialogAction(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); BF.LaunchRequester gen_to_be_invoked = (BF.LaunchRequester)translator.FastGetCSObj(L, 1); { System.Action _action = translator.GetDelegate(L, 2); gen_to_be_invoked.SetHideDialogAction( _action ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_SetUpdateSliderAction(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); BF.LaunchRequester gen_to_be_invoked = (BF.LaunchRequester)translator.FastGetCSObj(L, 1); { System.Action _action = translator.GetDelegate>(L, 2); gen_to_be_invoked.SetUpdateSliderAction( _action ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_SetHideSliderAction(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); BF.LaunchRequester gen_to_be_invoked = (BF.LaunchRequester)translator.FastGetCSObj(L, 1); { System.Action _action = translator.GetDelegate(L, 2); gen_to_be_invoked.SetHideSliderAction( _action ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_SetPreCheckEndCallback(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); BF.LaunchRequester gen_to_be_invoked = (BF.LaunchRequester)translator.FastGetCSObj(L, 1); { System.Action _action = translator.GetDelegate(L, 2); gen_to_be_invoked.SetPreCheckEndCallback( _action ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_SetGetTotalLengthCallback(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); BF.LaunchRequester gen_to_be_invoked = (BF.LaunchRequester)translator.FastGetCSObj(L, 1); { System.Action _action = translator.GetDelegate>(L, 2); gen_to_be_invoked.SetGetTotalLengthCallback( _action ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_SetDownloadingCallback(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); BF.LaunchRequester gen_to_be_invoked = (BF.LaunchRequester)translator.FastGetCSObj(L, 1); { System.Action _action = translator.GetDelegate>(L, 2); gen_to_be_invoked.SetDownloadingCallback( _action ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_AddLaunchSuccCallback(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); BF.LaunchRequester gen_to_be_invoked = (BF.LaunchRequester)translator.FastGetCSObj(L, 1); { System.Action _action = translator.GetDelegate(L, 2); gen_to_be_invoked.AddLaunchSuccCallback( _action ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_ClearLaunchSuccCallback(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); BF.LaunchRequester gen_to_be_invoked = (BF.LaunchRequester)translator.FastGetCSObj(L, 1); { gen_to_be_invoked.ClearLaunchSuccCallback( ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _m_PreCheckNextProcess(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); BF.LaunchRequester gen_to_be_invoked = (BF.LaunchRequester)translator.FastGetCSObj(L, 1); { gen_to_be_invoked.PreCheckNextProcess( ); return 0; } } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_FirstRequestAction(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); BF.LaunchRequester gen_to_be_invoked = (BF.LaunchRequester)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.FirstRequestAction); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_DialogAction(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); BF.LaunchRequester gen_to_be_invoked = (BF.LaunchRequester)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.DialogAction); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_DialogComplexAction(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); BF.LaunchRequester gen_to_be_invoked = (BF.LaunchRequester)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.DialogComplexAction); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_HideDialogAction(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); BF.LaunchRequester gen_to_be_invoked = (BF.LaunchRequester)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.HideDialogAction); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_UpdateSilderAction(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); BF.LaunchRequester gen_to_be_invoked = (BF.LaunchRequester)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.UpdateSilderAction); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_HideSliderAction(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); BF.LaunchRequester gen_to_be_invoked = (BF.LaunchRequester)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.HideSliderAction); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_OnPreCheckEnd(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); BF.LaunchRequester gen_to_be_invoked = (BF.LaunchRequester)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.OnPreCheckEnd); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_OnGetTotalLength(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); BF.LaunchRequester gen_to_be_invoked = (BF.LaunchRequester)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.OnGetTotalLength); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_OnDownloading(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); BF.LaunchRequester gen_to_be_invoked = (BF.LaunchRequester)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.OnDownloading); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_OnLaunchSucc(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); BF.LaunchRequester gen_to_be_invoked = (BF.LaunchRequester)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.OnLaunchSucc); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_isNewPackage(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); BF.LaunchRequester gen_to_be_invoked = (BF.LaunchRequester)translator.FastGetCSObj(L, 1); LuaAPI.lua_pushboolean(L, gen_to_be_invoked.isNewPackage); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_isHotUpdate(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); BF.LaunchRequester gen_to_be_invoked = (BF.LaunchRequester)translator.FastGetCSObj(L, 1); LuaAPI.lua_pushboolean(L, gen_to_be_invoked.isHotUpdate); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_isAutoRepair(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); BF.LaunchRequester gen_to_be_invoked = (BF.LaunchRequester)translator.FastGetCSObj(L, 1); LuaAPI.lua_pushboolean(L, gen_to_be_invoked.isAutoRepair); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_firstAb(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); BF.LaunchRequester gen_to_be_invoked = (BF.LaunchRequester)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.firstAb); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_languageName(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); BF.LaunchRequester gen_to_be_invoked = (BF.LaunchRequester)translator.FastGetCSObj(L, 1); LuaAPI.lua_pushstring(L, gen_to_be_invoked.languageName); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_downloadLanguage(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); BF.LaunchRequester gen_to_be_invoked = (BF.LaunchRequester)translator.FastGetCSObj(L, 1); LuaAPI.lua_pushboolean(L, gen_to_be_invoked.downloadLanguage); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_persistentAbccVersion(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); BF.LaunchRequester gen_to_be_invoked = (BF.LaunchRequester)translator.FastGetCSObj(L, 1); LuaAPI.lua_pushstring(L, gen_to_be_invoked.persistentAbccVersion); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_curVersionTempDir(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); BF.LaunchRequester gen_to_be_invoked = (BF.LaunchRequester)translator.FastGetCSObj(L, 1); LuaAPI.lua_pushstring(L, gen_to_be_invoked.curVersionTempDir); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_versionInfo(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); BF.LaunchRequester gen_to_be_invoked = (BF.LaunchRequester)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.versionInfo); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_firstChoiceCDN(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); BF.LaunchRequester gen_to_be_invoked = (BF.LaunchRequester)translator.FastGetCSObj(L, 1); LuaAPI.lua_pushstring(L, gen_to_be_invoked.firstChoiceCDN); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_backupCDN(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); BF.LaunchRequester gen_to_be_invoked = (BF.LaunchRequester)translator.FastGetCSObj(L, 1); LuaAPI.lua_pushstring(L, gen_to_be_invoked.backupCDN); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_launchSucceed(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); BF.LaunchRequester gen_to_be_invoked = (BF.LaunchRequester)translator.FastGetCSObj(L, 1); LuaAPI.lua_pushboolean(L, gen_to_be_invoked.launchSucceed); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_streamingAbcc(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); BF.LaunchRequester gen_to_be_invoked = (BF.LaunchRequester)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.streamingAbcc); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_persistentAbcc(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); BF.LaunchRequester gen_to_be_invoked = (BF.LaunchRequester)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.persistentAbcc); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_versionAbcc(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); BF.LaunchRequester gen_to_be_invoked = (BF.LaunchRequester)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.versionAbcc); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_streamingData(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); BF.LaunchRequester gen_to_be_invoked = (BF.LaunchRequester)translator.FastGetCSObj(L, 1); LuaAPI.lua_pushstring(L, gen_to_be_invoked.streamingData); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_versionData(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); BF.LaunchRequester gen_to_be_invoked = (BF.LaunchRequester)translator.FastGetCSObj(L, 1); LuaAPI.lua_pushstring(L, gen_to_be_invoked.versionData); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_preCheckMissingList(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); BF.LaunchRequester gen_to_be_invoked = (BF.LaunchRequester)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.preCheckMissingList); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_preCheckOverList(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); BF.LaunchRequester gen_to_be_invoked = (BF.LaunchRequester)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.preCheckOverList); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_downloadList(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); BF.LaunchRequester gen_to_be_invoked = (BF.LaunchRequester)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.downloadList); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_deleteList(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); BF.LaunchRequester gen_to_be_invoked = (BF.LaunchRequester)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.deleteList); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _g_get_preCheckNextProcessAction(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); BF.LaunchRequester gen_to_be_invoked = (BF.LaunchRequester)translator.FastGetCSObj(L, 1); translator.Push(L, gen_to_be_invoked.preCheckNextProcessAction); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_isNewPackage(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); BF.LaunchRequester gen_to_be_invoked = (BF.LaunchRequester)translator.FastGetCSObj(L, 1); gen_to_be_invoked.isNewPackage = 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_isHotUpdate(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); BF.LaunchRequester gen_to_be_invoked = (BF.LaunchRequester)translator.FastGetCSObj(L, 1); gen_to_be_invoked.isHotUpdate = 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_isAutoRepair(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); BF.LaunchRequester gen_to_be_invoked = (BF.LaunchRequester)translator.FastGetCSObj(L, 1); gen_to_be_invoked.isAutoRepair = 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_firstAb(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); BF.LaunchRequester gen_to_be_invoked = (BF.LaunchRequester)translator.FastGetCSObj(L, 1); gen_to_be_invoked.firstAb = (UnityEngine.AssetBundle)translator.GetObject(L, 2, typeof(UnityEngine.AssetBundle)); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_languageName(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); BF.LaunchRequester gen_to_be_invoked = (BF.LaunchRequester)translator.FastGetCSObj(L, 1); gen_to_be_invoked.languageName = 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_downloadLanguage(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); BF.LaunchRequester gen_to_be_invoked = (BF.LaunchRequester)translator.FastGetCSObj(L, 1); gen_to_be_invoked.downloadLanguage = 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_persistentAbccVersion(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); BF.LaunchRequester gen_to_be_invoked = (BF.LaunchRequester)translator.FastGetCSObj(L, 1); gen_to_be_invoked.persistentAbccVersion = 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_curVersionTempDir(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); BF.LaunchRequester gen_to_be_invoked = (BF.LaunchRequester)translator.FastGetCSObj(L, 1); gen_to_be_invoked.curVersionTempDir = 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_versionInfo(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); BF.LaunchRequester gen_to_be_invoked = (BF.LaunchRequester)translator.FastGetCSObj(L, 1); gen_to_be_invoked.versionInfo = (BF.BFVersionInfo)translator.GetObject(L, 2, typeof(BF.BFVersionInfo)); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_firstChoiceCDN(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); BF.LaunchRequester gen_to_be_invoked = (BF.LaunchRequester)translator.FastGetCSObj(L, 1); gen_to_be_invoked.firstChoiceCDN = 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_backupCDN(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); BF.LaunchRequester gen_to_be_invoked = (BF.LaunchRequester)translator.FastGetCSObj(L, 1); gen_to_be_invoked.backupCDN = 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_launchSucceed(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); BF.LaunchRequester gen_to_be_invoked = (BF.LaunchRequester)translator.FastGetCSObj(L, 1); gen_to_be_invoked.launchSucceed = 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_streamingAbcc(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); BF.LaunchRequester gen_to_be_invoked = (BF.LaunchRequester)translator.FastGetCSObj(L, 1); gen_to_be_invoked.streamingAbcc = (BF.AssetBundleConfigCollection)translator.GetObject(L, 2, typeof(BF.AssetBundleConfigCollection)); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_persistentAbcc(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); BF.LaunchRequester gen_to_be_invoked = (BF.LaunchRequester)translator.FastGetCSObj(L, 1); gen_to_be_invoked.persistentAbcc = (BF.AssetBundleConfigCollection)translator.GetObject(L, 2, typeof(BF.AssetBundleConfigCollection)); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_versionAbcc(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); BF.LaunchRequester gen_to_be_invoked = (BF.LaunchRequester)translator.FastGetCSObj(L, 1); gen_to_be_invoked.versionAbcc = (BF.AssetBundleConfigCollection)translator.GetObject(L, 2, typeof(BF.AssetBundleConfigCollection)); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_streamingData(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); BF.LaunchRequester gen_to_be_invoked = (BF.LaunchRequester)translator.FastGetCSObj(L, 1); gen_to_be_invoked.streamingData = LuaAPI.lua_tobytes(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_versionData(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); BF.LaunchRequester gen_to_be_invoked = (BF.LaunchRequester)translator.FastGetCSObj(L, 1); gen_to_be_invoked.versionData = LuaAPI.lua_tobytes(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_preCheckMissingList(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); BF.LaunchRequester gen_to_be_invoked = (BF.LaunchRequester)translator.FastGetCSObj(L, 1); gen_to_be_invoked.preCheckMissingList = (System.Collections.Generic.List)translator.GetObject(L, 2, typeof(System.Collections.Generic.List)); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_preCheckOverList(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); BF.LaunchRequester gen_to_be_invoked = (BF.LaunchRequester)translator.FastGetCSObj(L, 1); gen_to_be_invoked.preCheckOverList = (System.Collections.Generic.List)translator.GetObject(L, 2, typeof(System.Collections.Generic.List)); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_downloadList(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); BF.LaunchRequester gen_to_be_invoked = (BF.LaunchRequester)translator.FastGetCSObj(L, 1); gen_to_be_invoked.downloadList = (System.Collections.Generic.List)translator.GetObject(L, 2, typeof(System.Collections.Generic.List)); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_deleteList(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); BF.LaunchRequester gen_to_be_invoked = (BF.LaunchRequester)translator.FastGetCSObj(L, 1); gen_to_be_invoked.deleteList = (System.Collections.Generic.List)translator.GetObject(L, 2, typeof(System.Collections.Generic.List)); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 0; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _s_set_preCheckNextProcessAction(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); BF.LaunchRequester gen_to_be_invoked = (BF.LaunchRequester)translator.FastGetCSObj(L, 1); gen_to_be_invoked.preCheckNextProcessAction = translator.GetDelegate(L, 2); } catch(System.Exception gen_e) { return LuaAPI.luaL_error(L, "c# exception:" + gen_e); } return 0; } } }