static int Tangzx_ABSystem_AssetBundleInfo_OnUnloadedHandler(IntPtr L) { try { int count = LuaDLL.lua_gettop(L); LuaFunction func = ToLua.CheckLuaFunction(L, 1); if (count == 1) { Delegate arg1 = DelegateTraits <Tangzx.ABSystem.AssetBundleInfo.OnUnloadedHandler> .Create(func); ToLua.Push(L, arg1); } else { LuaTable self = ToLua.CheckLuaTable(L, 2); Delegate arg1 = DelegateTraits <Tangzx.ABSystem.AssetBundleInfo.OnUnloadedHandler> .Create(func, self); ToLua.Push(L, arg1); } return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int UnityEngine_AudioClip_PCMSetPositionCallback(IntPtr L) { try { int count = LuaDLL.lua_gettop(L); LuaFunction func = ToLua.CheckLuaFunction(L, 1); if (count == 1) { Delegate arg1 = DelegateTraits <UnityEngine.AudioClip.PCMSetPositionCallback> .Create(func); ToLua.Push(L, arg1); } else { LuaTable self = ToLua.CheckLuaTable(L, 2); Delegate arg1 = DelegateTraits <UnityEngine.AudioClip.PCMSetPositionCallback> .Create(func, self); ToLua.Push(L, arg1); } return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int UIWidget_HitCheck(IntPtr L) { try { int count = LuaDLL.lua_gettop(L); LuaFunction func = ToLua.CheckLuaFunction(L, 1); if (count == 1) { Delegate arg1 = DelegateTraits <UIWidget.HitCheck> .Create(func); ToLua.Push(L, arg1); } else { LuaTable self = ToLua.CheckLuaTable(L, 2); Delegate arg1 = DelegateTraits <UIWidget.HitCheck> .Create(func, self); ToLua.Push(L, arg1); } return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int TestExportScript_CustomDelegate(IntPtr L) { try { int count = LuaDLL.lua_gettop(L); LuaFunction func = ToLua.CheckLuaFunction(L, 1); if (count == 1) { Delegate arg1 = DelegateTraits <TestExportScript.CustomDelegate> .Create(func); ToLua.Push(L, arg1); } else { LuaTable self = ToLua.CheckLuaTable(L, 2); Delegate arg1 = DelegateTraits <TestExportScript.CustomDelegate> .Create(func, self); ToLua.Push(L, arg1); } return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int System_Comparison_UnityEngine_Transform(IntPtr L) { try { int count = LuaDLL.lua_gettop(L); LuaFunction func = ToLua.CheckLuaFunction(L, 1); if (count == 1) { Delegate arg1 = DelegateTraits <System.Comparison <UnityEngine.Transform> > .Create(func); ToLua.Push(L, arg1); } else { LuaTable self = ToLua.CheckLuaTable(L, 2); Delegate arg1 = DelegateTraits <System.Comparison <UnityEngine.Transform> > .Create(func, self); ToLua.Push(L, arg1); } return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int System_ComponentModel_ListChangedEventHandler(IntPtr L) { try { int count = LuaDLL.lua_gettop(L); LuaFunction func = ToLua.CheckLuaFunction(L, 1); if (count == 1) { Delegate arg1 = DelegateTraits <System.ComponentModel.ListChangedEventHandler> .Create(func); ToLua.Push(L, arg1); } else { LuaTable self = ToLua.CheckLuaTable(L, 2); Delegate arg1 = DelegateTraits <System.ComponentModel.ListChangedEventHandler> .Create(func, self); ToLua.Push(L, arg1); } return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int LoopScrollView_OnBaseNodeEvent(IntPtr L) { try { int count = LuaDLL.lua_gettop(L); LuaFunction func = ToLua.CheckLuaFunction(L, 1); if (count == 1) { Delegate arg1 = DelegateTraits <LoopScrollView.OnBaseNodeEvent> .Create(func); ToLua.Push(L, arg1); } else { LuaTable self = ToLua.CheckLuaTable(L, 2); Delegate arg1 = DelegateTraits <LoopScrollView.OnBaseNodeEvent> .Create(func, self); ToLua.Push(L, arg1); } return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int UnityEngine_UI_InputField_OnValidateInput(IntPtr L) { try { int count = LuaDLL.lua_gettop(L); LuaFunction func = ToLua.CheckLuaFunction(L, 1); if (count == 1) { Delegate arg1 = DelegateTraits <UnityEngine.UI.InputField.OnValidateInput> .Create(func); ToLua.Push(L, arg1); } else { LuaTable self = ToLua.CheckLuaTable(L, 2); Delegate arg1 = DelegateTraits <UnityEngine.UI.InputField.OnValidateInput> .Create(func, self); ToLua.Push(L, arg1); } return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int UnityEngine_AudioClip_PCMSetPositionCallback(IntPtr L) { #if UNITY_EDITOR ToluaProfiler.AddCallRecord("Framework.MonoSingleton<Framework.ResourceMgr>.UnityEngine_AudioClip_PCMSetPositionCallback"); #endif try { int count = LuaDLL.lua_gettop(L); LuaFunction func = ToLua.CheckLuaFunction(L, 1); if (count == 1) { Delegate arg1 = DelegateTraits <UnityEngine.AudioClip.PCMSetPositionCallback> .Create(func); ToLua.Push(L, arg1); } else { LuaTable self = ToLua.CheckLuaTable(L, 2); Delegate arg1 = DelegateTraits <UnityEngine.AudioClip.PCMSetPositionCallback> .Create(func, self); ToLua.Push(L, arg1); } return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int UIPanel_OnGeometryUpdated(IntPtr L) { try { int count = LuaDLL.lua_gettop(L); LuaFunction func = ToLua.CheckLuaFunction(L, 1); if (count == 1) { Delegate arg1 = DelegateTraits<UIPanel.OnGeometryUpdated>.Create(func); ToLua.Push(L, arg1); } else { LuaTable self = ToLua.CheckLuaTable(L, 2); Delegate arg1 = DelegateTraits<UIPanel.OnGeometryUpdated>.Create(func, self); ToLua.Push(L, arg1); } return 1; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e); } }
static int KBEngine_NetworkInterface_ConnectCallback(IntPtr L) { try { int count = LuaDLL.lua_gettop(L); LuaFunction func = ToLua.CheckLuaFunction(L, 1); if (count == 1) { Delegate arg1 = DelegateTraits <KBEngine.NetworkInterface.ConnectCallback> .Create(func); ToLua.Push(L, arg1); } else { LuaTable self = ToLua.CheckLuaTable(L, 2); Delegate arg1 = DelegateTraits <KBEngine.NetworkInterface.ConnectCallback> .Create(func, self); ToLua.Push(L, arg1); } return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int System_Action_string_UnityEngine_LogType(IntPtr L) { try { int count = LuaDLL.lua_gettop(L); LuaFunction func = ToLua.CheckLuaFunction(L, 1); if (count == 1) { Delegate arg1 = DelegateTraits <System.Action <string, UnityEngine.LogType> > .Create(func); ToLua.Push(L, arg1); } else { LuaTable self = ToLua.CheckLuaTable(L, 2); Delegate arg1 = DelegateTraits <System.Action <string, UnityEngine.LogType> > .Create(func, self); ToLua.Push(L, arg1); } return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int GameObjectPool_OnCreateGameObject(IntPtr L) { try { int count = LuaDLL.lua_gettop(L); LuaFunction func = ToLua.CheckLuaFunction(L, 1); if (count == 1) { Delegate arg1 = DelegateTraits <GameObjectPool.OnCreateGameObject> .Create(func); ToLua.Push(L, arg1); } else { LuaTable self = ToLua.CheckLuaTable(L, 2); Delegate arg1 = DelegateTraits <GameObjectPool.OnCreateGameObject> .Create(func, self); ToLua.Push(L, arg1); } return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int RequestLoadBundle_OnCreateAssetBundle(IntPtr L) { try { int count = LuaDLL.lua_gettop(L); LuaFunction func = ToLua.CheckLuaFunction(L, 1); if (count == 1) { Delegate arg1 = DelegateTraits <RequestLoadBundle.OnCreateAssetBundle> .Create(func); ToLua.Push(L, arg1); } else { LuaTable self = ToLua.CheckLuaTable(L, 2); Delegate arg1 = DelegateTraits <RequestLoadBundle.OnCreateAssetBundle> .Create(func, self); ToLua.Push(L, arg1); } return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int Spine_AnimationState_TrackEntryDelegate(IntPtr L) { try { int count = LuaDLL.lua_gettop(L); LuaFunction func = ToLua.CheckLuaFunction(L, 1); if (count == 1) { Delegate arg1 = DelegateTraits <Spine.AnimationState.TrackEntryDelegate> .Create(func); ToLua.Push(L, arg1); } else { LuaTable self = ToLua.CheckLuaTable(L, 2); Delegate arg1 = DelegateTraits <Spine.AnimationState.TrackEntryDelegate> .Create(func, self); ToLua.Push(L, arg1); } return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int UnityEngine_RectTransform_ReapplyDrivenProperties(IntPtr L) { #if UNITY_EDITOR ToluaProfiler.AddCallRecord("Framework.MonoSingleton<Framework.ResourceMgr>.UnityEngine_RectTransform_ReapplyDrivenProperties"); #endif try { int count = LuaDLL.lua_gettop(L); LuaFunction func = ToLua.CheckLuaFunction(L, 1); if (count == 1) { Delegate arg1 = DelegateTraits <UnityEngine.RectTransform.ReapplyDrivenProperties> .Create(func); ToLua.Push(L, arg1); } else { LuaTable self = ToLua.CheckLuaTable(L, 2); Delegate arg1 = DelegateTraits <UnityEngine.RectTransform.ReapplyDrivenProperties> .Create(func, self); ToLua.Push(L, arg1); } return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
public void Add(LuaFunction func, LuaTable self) { EventCallback1 callback = (EventCallback1)DelegateTraits <EventCallback1> .Create(func, self); _callback1 -= callback; _callback1 += callback; }
static int Framework_SceneLoadEventHandler(IntPtr L) { #if UNITY_EDITOR ToluaProfiler.AddCallRecord("Framework.MonoSingleton<Framework.ResourceMgr>.Framework_SceneLoadEventHandler"); #endif try { int count = LuaDLL.lua_gettop(L); LuaFunction func = ToLua.CheckLuaFunction(L, 1); if (count == 1) { Delegate arg1 = DelegateTraits <Framework.SceneLoadEventHandler> .Create(func); ToLua.Push(L, arg1); } else { LuaTable self = ToLua.CheckLuaTable(L, 2); Delegate arg1 = DelegateTraits <Framework.SceneLoadEventHandler> .Create(func, self); ToLua.Push(L, arg1); } return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int Newtonsoft_Json_ObservableSupport_AddingNewEventHandler(IntPtr L) { try { int count = LuaDLL.lua_gettop(L); LuaFunction func = ToLua.CheckLuaFunction(L, 1); if (count == 1) { Delegate arg1 = DelegateTraits <Newtonsoft.Json.ObservableSupport.AddingNewEventHandler> .Create(func); ToLua.Push(L, arg1); } else { LuaTable self = ToLua.CheckLuaTable(L, 2); Delegate arg1 = DelegateTraits <Newtonsoft.Json.ObservableSupport.AddingNewEventHandler> .Create(func, self); ToLua.Push(L, arg1); } return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int System_Action_UnityEngine_SceneManagement_Scene(IntPtr L) { #if UNITY_EDITOR ToluaProfiler.AddCallRecord("Framework.MonoSingleton<Framework.ResourceMgr>.System_Action_UnityEngine_SceneManagement_Scene"); #endif try { int count = LuaDLL.lua_gettop(L); LuaFunction func = ToLua.CheckLuaFunction(L, 1); if (count == 1) { Delegate arg1 = DelegateTraits <System.Action <UnityEngine.SceneManagement.Scene> > .Create(func); ToLua.Push(L, arg1); } else { LuaTable self = ToLua.CheckLuaTable(L, 2); Delegate arg1 = DelegateTraits <System.Action <UnityEngine.SceneManagement.Scene> > .Create(func, self); ToLua.Push(L, arg1); } return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int System_Comparison_System_Collections_Generic_List_UnityEngine_GameObject(IntPtr L) { try { int count = LuaDLL.lua_gettop(L); LuaFunction func = ToLua.CheckLuaFunction(L, 1); if (count == 1) { Delegate arg1 = DelegateTraits <System.Comparison <System.Collections.Generic.List <UnityEngine.GameObject> > > .Create(func); ToLua.Push(L, arg1); } else { LuaTable self = ToLua.CheckLuaTable(L, 2); Delegate arg1 = DelegateTraits <System.Comparison <System.Collections.Generic.List <UnityEngine.GameObject> > > .Create(func, self); ToLua.Push(L, arg1); } return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int Nova_AnimationEntry_EasingFunction(IntPtr L) { try { int count = LuaDLL.lua_gettop(L); LuaFunction func = ToLua.CheckLuaFunction(L, 1); if (count == 1) { Delegate arg1 = DelegateTraits <Nova.AnimationEntry.EasingFunction> .Create(func); ToLua.Push(L, arg1); } else { LuaTable self = ToLua.CheckLuaTable(L, 2); Delegate arg1 = DelegateTraits <Nova.AnimationEntry.EasingFunction> .Create(func, self); ToLua.Push(L, arg1); } return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int UnityEngine_RectTransform_ReapplyDrivenProperties(IntPtr L) { try { int count = LuaDLL.lua_gettop(L); LuaFunction func = ToLua.CheckLuaFunction(L, 1); if (count == 1) { Delegate arg1 = DelegateTraits <UnityEngine.RectTransform.ReapplyDrivenProperties> .Create(func); ToLua.Push(L, arg1); } else { LuaTable self = ToLua.CheckLuaTable(L, 2); Delegate arg1 = DelegateTraits <UnityEngine.RectTransform.ReapplyDrivenProperties> .Create(func, self); ToLua.Push(L, arg1); } return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int LuaFramework_LuaManager_OnBundleProgressChanged(IntPtr L) { try { int count = LuaDLL.lua_gettop(L); LuaFunction func = ToLua.CheckLuaFunction(L, 1); if (count == 1) { Delegate arg1 = DelegateTraits <LuaFramework.LuaManager.OnBundleProgressChanged> .Create(func); ToLua.Push(L, arg1); } else { LuaTable self = ToLua.CheckLuaTable(L, 2); Delegate arg1 = DelegateTraits <LuaFramework.LuaManager.OnBundleProgressChanged> .Create(func, self); ToLua.Push(L, arg1); } return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int UnityEngine_Application_AdvertisingIdentifierCallback(IntPtr L) { try { int count = LuaDLL.lua_gettop(L); LuaFunction func = ToLua.CheckLuaFunction(L, 1); if (count == 1) { Delegate arg1 = DelegateTraits <UnityEngine.Application.AdvertisingIdentifierCallback> .Create(func); ToLua.Push(L, arg1); } else { LuaTable self = ToLua.CheckLuaTable(L, 2); Delegate arg1 = DelegateTraits <UnityEngine.Application.AdvertisingIdentifierCallback> .Create(func, self); ToLua.Push(L, arg1); } return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int EventTriggerListener_VoidDelegate(IntPtr L) { try { int count = LuaDLL.lua_gettop(L); LuaFunction func = ToLua.CheckLuaFunction(L, 1); if (count == 1) { Delegate arg1 = DelegateTraits <EventTriggerListener.VoidDelegate> .Create(func); ToLua.Push(L, arg1); } else { LuaTable self = ToLua.CheckLuaTable(L, 2); Delegate arg1 = DelegateTraits <EventTriggerListener.VoidDelegate> .Create(func, self); ToLua.Push(L, arg1); } return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int System_Func_int_int(IntPtr L) { try { int count = LuaDLL.lua_gettop(L); LuaFunction func = ToLua.CheckLuaFunction(L, 1); if (count == 1) { Delegate arg1 = DelegateTraits <System.Func <int, int> > .Create(func); ToLua.Push(L, arg1); } else { LuaTable self = ToLua.CheckLuaTable(L, 2); Delegate arg1 = DelegateTraits <System.Func <int, int> > .Create(func, self); ToLua.Push(L, arg1); } return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int Framework_SceneLoadEventHandler(IntPtr L) { try { int count = LuaDLL.lua_gettop(L); LuaFunction func = ToLua.CheckLuaFunction(L, 1); if (count == 1) { Delegate arg1 = DelegateTraits <Framework.SceneLoadEventHandler> .Create(func); ToLua.Push(L, arg1); } else { LuaTable self = ToLua.CheckLuaTable(L, 2); Delegate arg1 = DelegateTraits <Framework.SceneLoadEventHandler> .Create(func, self); ToLua.Push(L, arg1); } return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int UnityEngine_Events_UnityAction(IntPtr L) { try { int count = LuaDLL.lua_gettop(L); LuaFunction func = ToLua.CheckLuaFunction(L, 1); if (count == 1) { Delegate arg1 = DelegateTraits <UnityEngine.Events.UnityAction> .Create(func); ToLua.Push(L, arg1); } else { LuaTable self = ToLua.CheckLuaTable(L, 2); Delegate arg1 = DelegateTraits <UnityEngine.Events.UnityAction> .Create(func, self); ToLua.Push(L, arg1); } return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int FairyGUI_UIPackage_CreateObjectCallback(IntPtr L) { try { int count = LuaDLL.lua_gettop(L); LuaFunction func = ToLua.CheckLuaFunction(L, 1); if (count == 1) { Delegate arg1 = DelegateTraits <FairyGUI.UIPackage.CreateObjectCallback> .Create(func); ToLua.Push(L, arg1); } else { LuaTable self = ToLua.CheckLuaTable(L, 2); Delegate arg1 = DelegateTraits <FairyGUI.UIPackage.CreateObjectCallback> .Create(func, self); ToLua.Push(L, arg1); } return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }