//this source code was auto-generated by tolua#, do not modify it
|
|
using System;
|
|
using UnityEngine;
|
|
using LuaInterface;
|
|
|
|
public static class LuaBinder
|
|
{
|
|
public static void Bind(LuaState L)
|
|
{
|
|
float t = Time.realtimeSinceStartup;
|
|
L.BeginModule(null);
|
|
LuaInterface_DebuggerWrap.Register(L);
|
|
TextSpacingWrap.Register(L);
|
|
UIDepthWrap.Register(L);
|
|
InlieTextWrap.Register(L);
|
|
SocketClientWrap.Register(L);
|
|
SDKManagerWrap.Register(L);
|
|
EffectMaskWrap.Register(L);
|
|
ResolutionWrap.Register(L);
|
|
VHScrollRectWrap.Register(L);
|
|
OptimizerWrap.Register(L);
|
|
ScreenEffectWrap.Register(L);
|
|
PartBloomWrap.Register(L);
|
|
RenderBloomTextureWrap.Register(L);
|
|
RoleCameraBloomWrap.Register(L);
|
|
ChangeShaderRenderWrap.Register(L);
|
|
RadarWrap.Register(L);
|
|
FXAAEffectWrap.Register(L);
|
|
PostEffectWrap.Register(L);
|
|
ButtonExtendWrap.Register(L);
|
|
ExtendButtonScaleWrap.Register(L);
|
|
EraseHandlerWrap.Register(L);
|
|
RadiusBlurWrap.Register(L);
|
|
ManagerWrap.Register(L);
|
|
BaseWrap.Register(L);
|
|
ViewWrap.Register(L);
|
|
L.BeginModule("UnityEngine");
|
|
UnityEngine_ComponentWrap.Register(L);
|
|
UnityEngine_TransformWrap.Register(L);
|
|
UnityEngine_MaterialWrap.Register(L);
|
|
UnityEngine_RigidbodyWrap.Register(L);
|
|
UnityEngine_Rigidbody2DWrap.Register(L);
|
|
UnityEngine_CameraWrap.Register(L);
|
|
UnityEngine_AudioSourceWrap.Register(L);
|
|
UnityEngine_CanvasWrap.Register(L);
|
|
UnityEngine_CanvasGroupWrap.Register(L);
|
|
UnityEngine_LineRendererWrap.Register(L);
|
|
UnityEngine_TrailRendererWrap.Register(L);
|
|
UnityEngine_BehaviourWrap.Register(L);
|
|
UnityEngine_MonoBehaviourWrap.Register(L);
|
|
UnityEngine_GameObjectWrap.Register(L);
|
|
UnityEngine_TrackedReferenceWrap.Register(L);
|
|
UnityEngine_ApplicationWrap.Register(L);
|
|
UnityEngine_PhysicsWrap.Register(L);
|
|
UnityEngine_ColliderWrap.Register(L);
|
|
UnityEngine_TimeWrap.Register(L);
|
|
UnityEngine_ResourcesWrap.Register(L);
|
|
UnityEngine_TextureWrap.Register(L);
|
|
UnityEngine_Texture2DWrap.Register(L);
|
|
UnityEngine_ShaderWrap.Register(L);
|
|
UnityEngine_RendererWrap.Register(L);
|
|
UnityEngine_WWWWrap.Register(L);
|
|
UnityEngine_ScreenWrap.Register(L);
|
|
UnityEngine_CameraClearFlagsWrap.Register(L);
|
|
UnityEngine_AudioClipWrap.Register(L);
|
|
UnityEngine_AssetBundleWrap.Register(L);
|
|
UnityEngine_ParticleSystemWrap.Register(L);
|
|
UnityEngine_AsyncOperationWrap.Register(L);
|
|
UnityEngine_LightTypeWrap.Register(L);
|
|
UnityEngine_SleepTimeoutWrap.Register(L);
|
|
UnityEngine_AnimatorWrap.Register(L);
|
|
UnityEngine_InputWrap.Register(L);
|
|
UnityEngine_KeyCodeWrap.Register(L);
|
|
UnityEngine_SkinnedMeshRendererWrap.Register(L);
|
|
UnityEngine_SpriteRendererWrap.Register(L);
|
|
UnityEngine_TextMeshWrap.Register(L);
|
|
UnityEngine_TextAssetWrap.Register(L);
|
|
UnityEngine_SpaceWrap.Register(L);
|
|
UnityEngine_RuntimePlatformWrap.Register(L);
|
|
UnityEngine_TextAnchorWrap.Register(L);
|
|
UnityEngine_MeshRendererWrap.Register(L);
|
|
UnityEngine_MeshWrap.Register(L);
|
|
UnityEngine_MeshFilterWrap.Register(L);
|
|
UnityEngine_BoxColliderWrap.Register(L);
|
|
UnityEngine_MeshColliderWrap.Register(L);
|
|
UnityEngine_SphereColliderWrap.Register(L);
|
|
UnityEngine_CharacterControllerWrap.Register(L);
|
|
UnityEngine_CapsuleColliderWrap.Register(L);
|
|
UnityEngine_AnimationWrap.Register(L);
|
|
UnityEngine_AnimationClipWrap.Register(L);
|
|
UnityEngine_AnimatorClipInfoWrap.Register(L);
|
|
UnityEngine_AnimationStateWrap.Register(L);
|
|
UnityEngine_AnimatorCullingModeWrap.Register(L);
|
|
UnityEngine_AnimatorStateInfoWrap.Register(L);
|
|
UnityEngine_AnimationBlendModeWrap.Register(L);
|
|
UnityEngine_QueueModeWrap.Register(L);
|
|
UnityEngine_PlayModeWrap.Register(L);
|
|
UnityEngine_WrapModeWrap.Register(L);
|
|
UnityEngine_QualitySettingsWrap.Register(L);
|
|
UnityEngine_RenderSettingsWrap.Register(L);
|
|
UnityEngine_BlendWeightsWrap.Register(L);
|
|
UnityEngine_RenderTextureWrap.Register(L);
|
|
UnityEngine_RectTransformWrap.Register(L);
|
|
UnityEngine_FontWrap.Register(L);
|
|
UnityEngine_SpriteWrap.Register(L);
|
|
UnityEngine_ParticleSystemRendererWrap.Register(L);
|
|
UnityEngine_LogTypeWrap.Register(L);
|
|
UnityEngine_ParticleSystemScalingModeWrap.Register(L);
|
|
UnityEngine_TextureWrapModeWrap.Register(L);
|
|
UnityEngine_RectWrap.Register(L);
|
|
UnityEngine_GraphicsWrap.Register(L);
|
|
UnityEngine_NetworkReachabilityWrap.Register(L);
|
|
UnityEngine_SystemInfoWrap.Register(L);
|
|
UnityEngine_DebugWrap.Register(L);
|
|
UnityEngine_TerrainWrap.Register(L);
|
|
UnityEngine_Matrix4x4Wrap.Register(L);
|
|
UnityEngine_ScreenCaptureWrap.Register(L);
|
|
UnityEngine_VerticalWrapModeWrap.Register(L);
|
|
UnityEngine_HorizontalWrapModeWrap.Register(L);
|
|
UnityEngine_MaterialPropertyBlockWrap.Register(L);
|
|
UnityEngine_GLWrap.Register(L);
|
|
UnityEngine_RenderTextureFormatWrap.Register(L);
|
|
UnityEngine_AudioBehaviourWrap.Register(L);
|
|
UnityEngine_CustomYieldInstructionWrap.Register(L);
|
|
L.BeginModule("UI");
|
|
UnityEngine_UI_TextWrap.Register(L);
|
|
UnityEngine_UI_OutlineWrap.Register(L);
|
|
UnityEngine_UI_InputFieldWrap.Register(L);
|
|
UnityEngine_UI_ButtonWrap.Register(L);
|
|
UnityEngine_UI_ToggleWrap.Register(L);
|
|
UnityEngine_UI_SliderWrap.Register(L);
|
|
UnityEngine_UI_ImageWrap.Register(L);
|
|
UnityEngine_UI_RawImageWrap.Register(L);
|
|
UnityEngine_UI_ScrollRectWrap.Register(L);
|
|
UnityEngine_UI_LayoutElementWrap.Register(L);
|
|
UnityEngine_UI_MaskWrap.Register(L);
|
|
UnityEngine_UI_LayoutGroupWrap.Register(L);
|
|
UnityEngine_UI_GridLayoutGroupWrap.Register(L);
|
|
UnityEngine_UI_ToggleGroupWrap.Register(L);
|
|
UnityEngine_UI_BaseMeshEffectWrap.Register(L);
|
|
UnityEngine_UI_MaskableGraphicWrap.Register(L);
|
|
UnityEngine_UI_GraphicWrap.Register(L);
|
|
UnityEngine_UI_ShadowWrap.Register(L);
|
|
UnityEngine_UI_SelectableWrap.Register(L);
|
|
L.BeginModule("Image");
|
|
UnityEngine_UI_Image_TypeWrap.Register(L);
|
|
UnityEngine_UI_Image_FillMethodWrap.Register(L);
|
|
L.EndModule();
|
|
L.BeginModule("ScrollRect");
|
|
UnityEngine_UI_ScrollRect_ScrollRectEventWrap.Register(L);
|
|
L.EndModule();
|
|
L.BeginModule("Toggle");
|
|
UnityEngine_UI_Toggle_ToggleEventWrap.Register(L);
|
|
L.EndModule();
|
|
L.BeginModule("InputField");
|
|
UnityEngine_UI_InputField_SubmitEventWrap.Register(L);
|
|
UnityEngine_UI_InputField_OnChangeEventWrap.Register(L);
|
|
L.RegFunction("OnValidateInput", UnityEngine_UI_InputField_OnValidateInput);
|
|
L.EndModule();
|
|
L.BeginModule("Slider");
|
|
UnityEngine_UI_Slider_SliderEventWrap.Register(L);
|
|
L.EndModule();
|
|
L.EndModule();
|
|
L.BeginModule("SceneManagement");
|
|
UnityEngine_SceneManagement_SceneManagerWrap.Register(L);
|
|
L.EndModule();
|
|
L.BeginModule("ParticleSystem");
|
|
UnityEngine_ParticleSystem_MainModuleWrap.Register(L);
|
|
L.EndModule();
|
|
L.BeginModule("Video");
|
|
UnityEngine_Video_VideoPlayerWrap.Register(L);
|
|
UnityEngine_Video_VideoRenderModeWrap.Register(L);
|
|
L.BeginModule("VideoPlayer");
|
|
L.RegFunction("EventHandler", UnityEngine_Video_VideoPlayer_EventHandler);
|
|
L.RegFunction("ErrorEventHandler", UnityEngine_Video_VideoPlayer_ErrorEventHandler);
|
|
L.RegFunction("TimeEventHandler", UnityEngine_Video_VideoPlayer_TimeEventHandler);
|
|
L.RegFunction("FrameReadyEventHandler", UnityEngine_Video_VideoPlayer_FrameReadyEventHandler);
|
|
L.EndModule();
|
|
L.EndModule();
|
|
L.BeginModule("EventSystems");
|
|
UnityEngine_EventSystems_UIBehaviourWrap.Register(L);
|
|
UnityEngine_EventSystems_EventTriggerWrap.Register(L);
|
|
L.EndModule();
|
|
L.BeginModule("Events");
|
|
UnityEngine_Events_UnityEvent_UnityEngine_Vector2Wrap.Register(L);
|
|
UnityEngine_Events_UnityEventBaseWrap.Register(L);
|
|
UnityEngine_Events_UnityEvent_boolWrap.Register(L);
|
|
UnityEngine_Events_UnityEvent_stringWrap.Register(L);
|
|
UnityEngine_Events_UnityEvent_floatWrap.Register(L);
|
|
L.RegFunction("UnityAction", UnityEngine_Events_UnityAction);
|
|
L.RegFunction("UnityAction_UnityEngine_Vector2", UnityEngine_Events_UnityAction_UnityEngine_Vector2);
|
|
L.RegFunction("UnityAction_bool", UnityEngine_Events_UnityAction_bool);
|
|
L.RegFunction("UnityAction_string", UnityEngine_Events_UnityAction_string);
|
|
L.RegFunction("UnityAction_UnityEngine_SceneManagement_Scene_UnityEngine_SceneManagement_LoadSceneMode", UnityEngine_Events_UnityAction_UnityEngine_SceneManagement_Scene_UnityEngine_SceneManagement_LoadSceneMode);
|
|
L.RegFunction("UnityAction_UnityEngine_SceneManagement_Scene", UnityEngine_Events_UnityAction_UnityEngine_SceneManagement_Scene);
|
|
L.RegFunction("UnityAction_UnityEngine_SceneManagement_Scene_UnityEngine_SceneManagement_Scene", UnityEngine_Events_UnityAction_UnityEngine_SceneManagement_Scene_UnityEngine_SceneManagement_Scene);
|
|
L.RegFunction("UnityAction_float", UnityEngine_Events_UnityAction_float);
|
|
L.EndModule();
|
|
L.BeginModule("Camera");
|
|
L.RegFunction("CameraCallback", UnityEngine_Camera_CameraCallback);
|
|
L.EndModule();
|
|
L.BeginModule("Canvas");
|
|
L.RegFunction("WillRenderCanvases", UnityEngine_Canvas_WillRenderCanvases);
|
|
L.EndModule();
|
|
L.BeginModule("Application");
|
|
L.RegFunction("AdvertisingIdentifierCallback", UnityEngine_Application_AdvertisingIdentifierCallback);
|
|
L.RegFunction("LowMemoryCallback", UnityEngine_Application_LowMemoryCallback);
|
|
L.RegFunction("LogCallback", UnityEngine_Application_LogCallback);
|
|
L.EndModule();
|
|
L.BeginModule("AudioClip");
|
|
L.RegFunction("PCMReaderCallback", UnityEngine_AudioClip_PCMReaderCallback);
|
|
L.RegFunction("PCMSetPositionCallback", UnityEngine_AudioClip_PCMSetPositionCallback);
|
|
L.EndModule();
|
|
L.BeginModule("RectTransform");
|
|
L.RegFunction("ReapplyDrivenProperties", UnityEngine_RectTransform_ReapplyDrivenProperties);
|
|
L.EndModule();
|
|
L.BeginModule("Font");
|
|
L.RegFunction("FontTextureRebuildCallback", UnityEngine_Font_FontTextureRebuildCallback);
|
|
L.EndModule();
|
|
L.EndModule();
|
|
L.BeginModule("LuaFramework");
|
|
LuaFramework_InlineSpriteManagerWrap.Register(L);
|
|
LuaFramework_ImageExtendWrap.Register(L);
|
|
LuaFramework_RawImageExtendWrap.Register(L);
|
|
LuaFramework_UtilWrap.Register(L);
|
|
LuaFramework_AppConstWrap.Register(L);
|
|
LuaFramework_EnglineVersionWrap.Register(L);
|
|
LuaFramework_LuaHelperWrap.Register(L);
|
|
LuaFramework_FileToolsWrap.Register(L);
|
|
LuaFramework_ByteBufferWrap.Register(L);
|
|
LuaFramework_LuaBehaviourWrap.Register(L);
|
|
LuaFramework_LuaEventListenerWrap.Register(L);
|
|
LuaFramework_LuaClickListenerWrap.Register(L);
|
|
LuaFramework_LuaDragListenerWrap.Register(L);
|
|
LuaFramework_LuaDragExtendListenerWrap.Register(L);
|
|
LuaFramework_DBParserManagerWrap.Register(L);
|
|
LuaFramework_AfterImageManagerWrap.Register(L);
|
|
LuaFramework_LuaManagerWrap.Register(L);
|
|
LuaFramework_PanelManagerWrap.Register(L);
|
|
LuaFramework_SoundManagerWrap.Register(L);
|
|
LuaFramework_TimerManagerWrap.Register(L);
|
|
LuaFramework_DownLoadResManagerWrap.Register(L);
|
|
LuaFramework_NetworkManagerWrap.Register(L);
|
|
LuaFramework_ResourceManagerWrap.Register(L);
|
|
LuaFramework_OutsideResourceManagerWrap.Register(L);
|
|
LuaFramework_OutSideFileTypeWrap.Register(L);
|
|
LuaFramework_ParticleManagerWrap.Register(L);
|
|
LuaFramework_MapManagerWrap.Register(L);
|
|
LuaFramework_CookiesManagerWrap.Register(L);
|
|
LuaFramework_MapWrap.Register(L);
|
|
LuaFramework_GameStateMachineWrap.Register(L);
|
|
LuaFramework_GameMachineManagerWrap.Register(L);
|
|
LuaFramework_GameStateWrap.Register(L);
|
|
LuaFramework_LogManagerWrap.Register(L);
|
|
LuaFramework_DBParserWrap.Register(L);
|
|
LuaFramework_HTTPRequestWrap.Register(L);
|
|
LuaFramework_HTTPResponseWrap.Register(L);
|
|
LuaFramework_HTTPManagerWrap.Register(L);
|
|
LuaFramework_EmptyRaycastWrap.Register(L);
|
|
LuaFramework_GameConfigWrap.Register(L);
|
|
LuaFramework_CompressHelperWrap.Register(L);
|
|
LuaFramework_LuaOverClickListenerWrap.Register(L);
|
|
LuaFramework_AdaptiveTextWrap.Register(L);
|
|
LuaFramework_RecordManagerWrap.Register(L);
|
|
LuaFramework_ParticleCollideWrap.Register(L);
|
|
LuaFramework_EmptyRaycastExtendWrap.Register(L);
|
|
L.BeginModule("LuaEventListener");
|
|
L.RegFunction("VoidDelegate", LuaFramework_LuaEventListener_VoidDelegate);
|
|
L.EndModule();
|
|
L.BeginModule("LuaClickListener");
|
|
L.RegFunction("VoidDelegate", LuaFramework_LuaClickListener_VoidDelegate);
|
|
L.EndModule();
|
|
L.BeginModule("LuaDragListener");
|
|
L.RegFunction("VoidDelegate", LuaFramework_LuaDragListener_VoidDelegate);
|
|
L.EndModule();
|
|
L.BeginModule("LuaDragExtendListener");
|
|
L.RegFunction("VoidDelegate", LuaFramework_LuaDragExtendListener_VoidDelegate);
|
|
L.EndModule();
|
|
L.BeginModule("LuaOverClickListener");
|
|
L.RegFunction("VoidDelegate", LuaFramework_LuaOverClickListener_VoidDelegate);
|
|
L.EndModule();
|
|
L.EndModule();
|
|
L.BeginModule("Spine");
|
|
L.BeginModule("Unity");
|
|
Spine_Unity_SkeletonAnimationWrap.Register(L);
|
|
Spine_Unity_SkeletonRendererWrap.Register(L);
|
|
L.RegFunction("UpdateBonesDelegate", Spine_Unity_UpdateBonesDelegate);
|
|
L.RegFunction("MeshGeneratorDelegate", Spine_Unity_MeshGeneratorDelegate);
|
|
L.BeginModule("SkeletonRenderer");
|
|
L.RegFunction("SkeletonRendererDelegate", Spine_Unity_SkeletonRenderer_SkeletonRendererDelegate);
|
|
L.RegFunction("InstructionDelegate", Spine_Unity_SkeletonRenderer_InstructionDelegate);
|
|
L.EndModule();
|
|
L.EndModule();
|
|
L.EndModule();
|
|
L.BeginModule("System");
|
|
System_DateTimeWrap.Register(L);
|
|
L.RegFunction("Action", System_Action);
|
|
L.RegFunction("Action_bool", System_Action_bool);
|
|
L.RegFunction("Func_bool", System_Func_bool);
|
|
L.RegFunction("Action_UnityEngine_AsyncOperation", System_Action_UnityEngine_AsyncOperation);
|
|
L.RegFunction("Action_UnityEngine_Font", System_Action_UnityEngine_Font);
|
|
L.RegFunction("Action_UnityEngine_Objects", System_Action_UnityEngine_Objects);
|
|
L.RegFunction("Action_bool_strings", System_Action_bool_strings);
|
|
L.RegFunction("Action_string", System_Action_string);
|
|
L.RegFunction("Action_UnityEngine_Object", System_Action_UnityEngine_Object);
|
|
L.RegFunction("Action_string_UnityEngine_LogType", System_Action_string_UnityEngine_LogType);
|
|
L.RegFunction("Action_LuaFramework_HTTPResponse", System_Action_LuaFramework_HTTPResponse);
|
|
L.EndModule();
|
|
L.BeginModule("UnityStandardAssets");
|
|
L.BeginModule("ImageEffects");
|
|
UnityStandardAssets_ImageEffects_BloomOptimizedWrap.Register(L);
|
|
UnityStandardAssets_ImageEffects_PostEffectsBaseWrap.Register(L);
|
|
L.EndModule();
|
|
L.EndModule();
|
|
L.BeginModule("TMPro");
|
|
TMPro_TextMeshProUGUIWrap.Register(L);
|
|
TMPro_TMP_InputFieldWrap.Register(L);
|
|
TMPro_TMP_TextWrap.Register(L);
|
|
L.BeginModule("TMP_InputField");
|
|
L.RegFunction("OnValidateInput", TMPro_TMP_InputField_OnValidateInput);
|
|
L.EndModule();
|
|
L.EndModule();
|
|
L.EndModule();
|
|
Debugger.Log("Register lua type cost time: {0}", Time.realtimeSinceStartup - t);
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
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 = DelegateFactory.CreateDelegate(typeof(UnityEngine.UI.InputField.OnValidateInput), func);
|
|
ToLua.Push(L, arg1);
|
|
}
|
|
else
|
|
{
|
|
LuaTable self = ToLua.CheckLuaTable(L, 2);
|
|
Delegate arg1 = DelegateFactory.CreateDelegate(typeof(UnityEngine.UI.InputField.OnValidateInput), func, self);
|
|
ToLua.Push(L, arg1);
|
|
}
|
|
return 1;
|
|
}
|
|
catch(Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int UnityEngine_Video_VideoPlayer_EventHandler(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
int count = LuaDLL.lua_gettop(L);
|
|
LuaFunction func = ToLua.CheckLuaFunction(L, 1);
|
|
|
|
if (count == 1)
|
|
{
|
|
Delegate arg1 = DelegateFactory.CreateDelegate(typeof(UnityEngine.Video.VideoPlayer.EventHandler), func);
|
|
ToLua.Push(L, arg1);
|
|
}
|
|
else
|
|
{
|
|
LuaTable self = ToLua.CheckLuaTable(L, 2);
|
|
Delegate arg1 = DelegateFactory.CreateDelegate(typeof(UnityEngine.Video.VideoPlayer.EventHandler), func, self);
|
|
ToLua.Push(L, arg1);
|
|
}
|
|
return 1;
|
|
}
|
|
catch(Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int UnityEngine_Video_VideoPlayer_ErrorEventHandler(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
int count = LuaDLL.lua_gettop(L);
|
|
LuaFunction func = ToLua.CheckLuaFunction(L, 1);
|
|
|
|
if (count == 1)
|
|
{
|
|
Delegate arg1 = DelegateFactory.CreateDelegate(typeof(UnityEngine.Video.VideoPlayer.ErrorEventHandler), func);
|
|
ToLua.Push(L, arg1);
|
|
}
|
|
else
|
|
{
|
|
LuaTable self = ToLua.CheckLuaTable(L, 2);
|
|
Delegate arg1 = DelegateFactory.CreateDelegate(typeof(UnityEngine.Video.VideoPlayer.ErrorEventHandler), func, self);
|
|
ToLua.Push(L, arg1);
|
|
}
|
|
return 1;
|
|
}
|
|
catch(Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int UnityEngine_Video_VideoPlayer_TimeEventHandler(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
int count = LuaDLL.lua_gettop(L);
|
|
LuaFunction func = ToLua.CheckLuaFunction(L, 1);
|
|
|
|
if (count == 1)
|
|
{
|
|
Delegate arg1 = DelegateFactory.CreateDelegate(typeof(UnityEngine.Video.VideoPlayer.TimeEventHandler), func);
|
|
ToLua.Push(L, arg1);
|
|
}
|
|
else
|
|
{
|
|
LuaTable self = ToLua.CheckLuaTable(L, 2);
|
|
Delegate arg1 = DelegateFactory.CreateDelegate(typeof(UnityEngine.Video.VideoPlayer.TimeEventHandler), func, self);
|
|
ToLua.Push(L, arg1);
|
|
}
|
|
return 1;
|
|
}
|
|
catch(Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int UnityEngine_Video_VideoPlayer_FrameReadyEventHandler(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
int count = LuaDLL.lua_gettop(L);
|
|
LuaFunction func = ToLua.CheckLuaFunction(L, 1);
|
|
|
|
if (count == 1)
|
|
{
|
|
Delegate arg1 = DelegateFactory.CreateDelegate(typeof(UnityEngine.Video.VideoPlayer.FrameReadyEventHandler), func);
|
|
ToLua.Push(L, arg1);
|
|
}
|
|
else
|
|
{
|
|
LuaTable self = ToLua.CheckLuaTable(L, 2);
|
|
Delegate arg1 = DelegateFactory.CreateDelegate(typeof(UnityEngine.Video.VideoPlayer.FrameReadyEventHandler), func, self);
|
|
ToLua.Push(L, arg1);
|
|
}
|
|
return 1;
|
|
}
|
|
catch(Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
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 = DelegateFactory.CreateDelegate(typeof(UnityEngine.Events.UnityAction), func);
|
|
ToLua.Push(L, arg1);
|
|
}
|
|
else
|
|
{
|
|
LuaTable self = ToLua.CheckLuaTable(L, 2);
|
|
Delegate arg1 = DelegateFactory.CreateDelegate(typeof(UnityEngine.Events.UnityAction), func, self);
|
|
ToLua.Push(L, arg1);
|
|
}
|
|
return 1;
|
|
}
|
|
catch(Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int UnityEngine_Events_UnityAction_UnityEngine_Vector2(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
int count = LuaDLL.lua_gettop(L);
|
|
LuaFunction func = ToLua.CheckLuaFunction(L, 1);
|
|
|
|
if (count == 1)
|
|
{
|
|
Delegate arg1 = DelegateFactory.CreateDelegate(typeof(UnityEngine.Events.UnityAction<UnityEngine.Vector2>), func);
|
|
ToLua.Push(L, arg1);
|
|
}
|
|
else
|
|
{
|
|
LuaTable self = ToLua.CheckLuaTable(L, 2);
|
|
Delegate arg1 = DelegateFactory.CreateDelegate(typeof(UnityEngine.Events.UnityAction<UnityEngine.Vector2>), func, self);
|
|
ToLua.Push(L, arg1);
|
|
}
|
|
return 1;
|
|
}
|
|
catch(Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int UnityEngine_Events_UnityAction_bool(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
int count = LuaDLL.lua_gettop(L);
|
|
LuaFunction func = ToLua.CheckLuaFunction(L, 1);
|
|
|
|
if (count == 1)
|
|
{
|
|
Delegate arg1 = DelegateFactory.CreateDelegate(typeof(UnityEngine.Events.UnityAction<bool>), func);
|
|
ToLua.Push(L, arg1);
|
|
}
|
|
else
|
|
{
|
|
LuaTable self = ToLua.CheckLuaTable(L, 2);
|
|
Delegate arg1 = DelegateFactory.CreateDelegate(typeof(UnityEngine.Events.UnityAction<bool>), func, self);
|
|
ToLua.Push(L, arg1);
|
|
}
|
|
return 1;
|
|
}
|
|
catch(Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int UnityEngine_Events_UnityAction_string(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
int count = LuaDLL.lua_gettop(L);
|
|
LuaFunction func = ToLua.CheckLuaFunction(L, 1);
|
|
|
|
if (count == 1)
|
|
{
|
|
Delegate arg1 = DelegateFactory.CreateDelegate(typeof(UnityEngine.Events.UnityAction<string>), func);
|
|
ToLua.Push(L, arg1);
|
|
}
|
|
else
|
|
{
|
|
LuaTable self = ToLua.CheckLuaTable(L, 2);
|
|
Delegate arg1 = DelegateFactory.CreateDelegate(typeof(UnityEngine.Events.UnityAction<string>), func, self);
|
|
ToLua.Push(L, arg1);
|
|
}
|
|
return 1;
|
|
}
|
|
catch(Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int UnityEngine_Events_UnityAction_UnityEngine_SceneManagement_Scene_UnityEngine_SceneManagement_LoadSceneMode(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
int count = LuaDLL.lua_gettop(L);
|
|
LuaFunction func = ToLua.CheckLuaFunction(L, 1);
|
|
|
|
if (count == 1)
|
|
{
|
|
Delegate arg1 = DelegateFactory.CreateDelegate(typeof(UnityEngine.Events.UnityAction<UnityEngine.SceneManagement.Scene,UnityEngine.SceneManagement.LoadSceneMode>), func);
|
|
ToLua.Push(L, arg1);
|
|
}
|
|
else
|
|
{
|
|
LuaTable self = ToLua.CheckLuaTable(L, 2);
|
|
Delegate arg1 = DelegateFactory.CreateDelegate(typeof(UnityEngine.Events.UnityAction<UnityEngine.SceneManagement.Scene,UnityEngine.SceneManagement.LoadSceneMode>), func, self);
|
|
ToLua.Push(L, arg1);
|
|
}
|
|
return 1;
|
|
}
|
|
catch(Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int UnityEngine_Events_UnityAction_UnityEngine_SceneManagement_Scene(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
int count = LuaDLL.lua_gettop(L);
|
|
LuaFunction func = ToLua.CheckLuaFunction(L, 1);
|
|
|
|
if (count == 1)
|
|
{
|
|
Delegate arg1 = DelegateFactory.CreateDelegate(typeof(UnityEngine.Events.UnityAction<UnityEngine.SceneManagement.Scene>), func);
|
|
ToLua.Push(L, arg1);
|
|
}
|
|
else
|
|
{
|
|
LuaTable self = ToLua.CheckLuaTable(L, 2);
|
|
Delegate arg1 = DelegateFactory.CreateDelegate(typeof(UnityEngine.Events.UnityAction<UnityEngine.SceneManagement.Scene>), func, self);
|
|
ToLua.Push(L, arg1);
|
|
}
|
|
return 1;
|
|
}
|
|
catch(Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int UnityEngine_Events_UnityAction_UnityEngine_SceneManagement_Scene_UnityEngine_SceneManagement_Scene(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
int count = LuaDLL.lua_gettop(L);
|
|
LuaFunction func = ToLua.CheckLuaFunction(L, 1);
|
|
|
|
if (count == 1)
|
|
{
|
|
Delegate arg1 = DelegateFactory.CreateDelegate(typeof(UnityEngine.Events.UnityAction<UnityEngine.SceneManagement.Scene,UnityEngine.SceneManagement.Scene>), func);
|
|
ToLua.Push(L, arg1);
|
|
}
|
|
else
|
|
{
|
|
LuaTable self = ToLua.CheckLuaTable(L, 2);
|
|
Delegate arg1 = DelegateFactory.CreateDelegate(typeof(UnityEngine.Events.UnityAction<UnityEngine.SceneManagement.Scene,UnityEngine.SceneManagement.Scene>), func, self);
|
|
ToLua.Push(L, arg1);
|
|
}
|
|
return 1;
|
|
}
|
|
catch(Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int UnityEngine_Events_UnityAction_float(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
int count = LuaDLL.lua_gettop(L);
|
|
LuaFunction func = ToLua.CheckLuaFunction(L, 1);
|
|
|
|
if (count == 1)
|
|
{
|
|
Delegate arg1 = DelegateFactory.CreateDelegate(typeof(UnityEngine.Events.UnityAction<float>), func);
|
|
ToLua.Push(L, arg1);
|
|
}
|
|
else
|
|
{
|
|
LuaTable self = ToLua.CheckLuaTable(L, 2);
|
|
Delegate arg1 = DelegateFactory.CreateDelegate(typeof(UnityEngine.Events.UnityAction<float>), func, self);
|
|
ToLua.Push(L, arg1);
|
|
}
|
|
return 1;
|
|
}
|
|
catch(Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int UnityEngine_Camera_CameraCallback(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
int count = LuaDLL.lua_gettop(L);
|
|
LuaFunction func = ToLua.CheckLuaFunction(L, 1);
|
|
|
|
if (count == 1)
|
|
{
|
|
Delegate arg1 = DelegateFactory.CreateDelegate(typeof(UnityEngine.Camera.CameraCallback), func);
|
|
ToLua.Push(L, arg1);
|
|
}
|
|
else
|
|
{
|
|
LuaTable self = ToLua.CheckLuaTable(L, 2);
|
|
Delegate arg1 = DelegateFactory.CreateDelegate(typeof(UnityEngine.Camera.CameraCallback), func, self);
|
|
ToLua.Push(L, arg1);
|
|
}
|
|
return 1;
|
|
}
|
|
catch(Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int UnityEngine_Canvas_WillRenderCanvases(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
int count = LuaDLL.lua_gettop(L);
|
|
LuaFunction func = ToLua.CheckLuaFunction(L, 1);
|
|
|
|
if (count == 1)
|
|
{
|
|
Delegate arg1 = DelegateFactory.CreateDelegate(typeof(UnityEngine.Canvas.WillRenderCanvases), func);
|
|
ToLua.Push(L, arg1);
|
|
}
|
|
else
|
|
{
|
|
LuaTable self = ToLua.CheckLuaTable(L, 2);
|
|
Delegate arg1 = DelegateFactory.CreateDelegate(typeof(UnityEngine.Canvas.WillRenderCanvases), func, self);
|
|
ToLua.Push(L, arg1);
|
|
}
|
|
return 1;
|
|
}
|
|
catch(Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
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 = DelegateFactory.CreateDelegate(typeof(UnityEngine.Application.AdvertisingIdentifierCallback), func);
|
|
ToLua.Push(L, arg1);
|
|
}
|
|
else
|
|
{
|
|
LuaTable self = ToLua.CheckLuaTable(L, 2);
|
|
Delegate arg1 = DelegateFactory.CreateDelegate(typeof(UnityEngine.Application.AdvertisingIdentifierCallback), func, self);
|
|
ToLua.Push(L, arg1);
|
|
}
|
|
return 1;
|
|
}
|
|
catch(Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int UnityEngine_Application_LowMemoryCallback(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
int count = LuaDLL.lua_gettop(L);
|
|
LuaFunction func = ToLua.CheckLuaFunction(L, 1);
|
|
|
|
if (count == 1)
|
|
{
|
|
Delegate arg1 = DelegateFactory.CreateDelegate(typeof(UnityEngine.Application.LowMemoryCallback), func);
|
|
ToLua.Push(L, arg1);
|
|
}
|
|
else
|
|
{
|
|
LuaTable self = ToLua.CheckLuaTable(L, 2);
|
|
Delegate arg1 = DelegateFactory.CreateDelegate(typeof(UnityEngine.Application.LowMemoryCallback), func, self);
|
|
ToLua.Push(L, arg1);
|
|
}
|
|
return 1;
|
|
}
|
|
catch(Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int UnityEngine_Application_LogCallback(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
int count = LuaDLL.lua_gettop(L);
|
|
LuaFunction func = ToLua.CheckLuaFunction(L, 1);
|
|
|
|
if (count == 1)
|
|
{
|
|
Delegate arg1 = DelegateFactory.CreateDelegate(typeof(UnityEngine.Application.LogCallback), func);
|
|
ToLua.Push(L, arg1);
|
|
}
|
|
else
|
|
{
|
|
LuaTable self = ToLua.CheckLuaTable(L, 2);
|
|
Delegate arg1 = DelegateFactory.CreateDelegate(typeof(UnityEngine.Application.LogCallback), func, self);
|
|
ToLua.Push(L, arg1);
|
|
}
|
|
return 1;
|
|
}
|
|
catch(Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int UnityEngine_AudioClip_PCMReaderCallback(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
int count = LuaDLL.lua_gettop(L);
|
|
LuaFunction func = ToLua.CheckLuaFunction(L, 1);
|
|
|
|
if (count == 1)
|
|
{
|
|
Delegate arg1 = DelegateFactory.CreateDelegate(typeof(UnityEngine.AudioClip.PCMReaderCallback), func);
|
|
ToLua.Push(L, arg1);
|
|
}
|
|
else
|
|
{
|
|
LuaTable self = ToLua.CheckLuaTable(L, 2);
|
|
Delegate arg1 = DelegateFactory.CreateDelegate(typeof(UnityEngine.AudioClip.PCMReaderCallback), func, self);
|
|
ToLua.Push(L, arg1);
|
|
}
|
|
return 1;
|
|
}
|
|
catch(Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
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 = DelegateFactory.CreateDelegate(typeof(UnityEngine.AudioClip.PCMSetPositionCallback), func);
|
|
ToLua.Push(L, arg1);
|
|
}
|
|
else
|
|
{
|
|
LuaTable self = ToLua.CheckLuaTable(L, 2);
|
|
Delegate arg1 = DelegateFactory.CreateDelegate(typeof(UnityEngine.AudioClip.PCMSetPositionCallback), func, self);
|
|
ToLua.Push(L, arg1);
|
|
}
|
|
return 1;
|
|
}
|
|
catch(Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
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 = DelegateFactory.CreateDelegate(typeof(UnityEngine.RectTransform.ReapplyDrivenProperties), func);
|
|
ToLua.Push(L, arg1);
|
|
}
|
|
else
|
|
{
|
|
LuaTable self = ToLua.CheckLuaTable(L, 2);
|
|
Delegate arg1 = DelegateFactory.CreateDelegate(typeof(UnityEngine.RectTransform.ReapplyDrivenProperties), func, self);
|
|
ToLua.Push(L, arg1);
|
|
}
|
|
return 1;
|
|
}
|
|
catch(Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int UnityEngine_Font_FontTextureRebuildCallback(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
int count = LuaDLL.lua_gettop(L);
|
|
LuaFunction func = ToLua.CheckLuaFunction(L, 1);
|
|
|
|
if (count == 1)
|
|
{
|
|
Delegate arg1 = DelegateFactory.CreateDelegate(typeof(UnityEngine.Font.FontTextureRebuildCallback), func);
|
|
ToLua.Push(L, arg1);
|
|
}
|
|
else
|
|
{
|
|
LuaTable self = ToLua.CheckLuaTable(L, 2);
|
|
Delegate arg1 = DelegateFactory.CreateDelegate(typeof(UnityEngine.Font.FontTextureRebuildCallback), func, self);
|
|
ToLua.Push(L, arg1);
|
|
}
|
|
return 1;
|
|
}
|
|
catch(Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int LuaFramework_LuaEventListener_VoidDelegate(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
int count = LuaDLL.lua_gettop(L);
|
|
LuaFunction func = ToLua.CheckLuaFunction(L, 1);
|
|
|
|
if (count == 1)
|
|
{
|
|
Delegate arg1 = DelegateFactory.CreateDelegate(typeof(LuaFramework.LuaEventListener.VoidDelegate), func);
|
|
ToLua.Push(L, arg1);
|
|
}
|
|
else
|
|
{
|
|
LuaTable self = ToLua.CheckLuaTable(L, 2);
|
|
Delegate arg1 = DelegateFactory.CreateDelegate(typeof(LuaFramework.LuaEventListener.VoidDelegate), func, self);
|
|
ToLua.Push(L, arg1);
|
|
}
|
|
return 1;
|
|
}
|
|
catch(Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int LuaFramework_LuaClickListener_VoidDelegate(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
int count = LuaDLL.lua_gettop(L);
|
|
LuaFunction func = ToLua.CheckLuaFunction(L, 1);
|
|
|
|
if (count == 1)
|
|
{
|
|
Delegate arg1 = DelegateFactory.CreateDelegate(typeof(LuaFramework.LuaClickListener.VoidDelegate), func);
|
|
ToLua.Push(L, arg1);
|
|
}
|
|
else
|
|
{
|
|
LuaTable self = ToLua.CheckLuaTable(L, 2);
|
|
Delegate arg1 = DelegateFactory.CreateDelegate(typeof(LuaFramework.LuaClickListener.VoidDelegate), func, self);
|
|
ToLua.Push(L, arg1);
|
|
}
|
|
return 1;
|
|
}
|
|
catch(Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int LuaFramework_LuaDragListener_VoidDelegate(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
int count = LuaDLL.lua_gettop(L);
|
|
LuaFunction func = ToLua.CheckLuaFunction(L, 1);
|
|
|
|
if (count == 1)
|
|
{
|
|
Delegate arg1 = DelegateFactory.CreateDelegate(typeof(LuaFramework.LuaDragListener.VoidDelegate), func);
|
|
ToLua.Push(L, arg1);
|
|
}
|
|
else
|
|
{
|
|
LuaTable self = ToLua.CheckLuaTable(L, 2);
|
|
Delegate arg1 = DelegateFactory.CreateDelegate(typeof(LuaFramework.LuaDragListener.VoidDelegate), func, self);
|
|
ToLua.Push(L, arg1);
|
|
}
|
|
return 1;
|
|
}
|
|
catch(Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int LuaFramework_LuaDragExtendListener_VoidDelegate(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
int count = LuaDLL.lua_gettop(L);
|
|
LuaFunction func = ToLua.CheckLuaFunction(L, 1);
|
|
|
|
if (count == 1)
|
|
{
|
|
Delegate arg1 = DelegateFactory.CreateDelegate(typeof(LuaFramework.LuaDragExtendListener.VoidDelegate), func);
|
|
ToLua.Push(L, arg1);
|
|
}
|
|
else
|
|
{
|
|
LuaTable self = ToLua.CheckLuaTable(L, 2);
|
|
Delegate arg1 = DelegateFactory.CreateDelegate(typeof(LuaFramework.LuaDragExtendListener.VoidDelegate), func, self);
|
|
ToLua.Push(L, arg1);
|
|
}
|
|
return 1;
|
|
}
|
|
catch(Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int LuaFramework_LuaOverClickListener_VoidDelegate(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
int count = LuaDLL.lua_gettop(L);
|
|
LuaFunction func = ToLua.CheckLuaFunction(L, 1);
|
|
|
|
if (count == 1)
|
|
{
|
|
Delegate arg1 = DelegateFactory.CreateDelegate(typeof(LuaFramework.LuaOverClickListener.VoidDelegate), func);
|
|
ToLua.Push(L, arg1);
|
|
}
|
|
else
|
|
{
|
|
LuaTable self = ToLua.CheckLuaTable(L, 2);
|
|
Delegate arg1 = DelegateFactory.CreateDelegate(typeof(LuaFramework.LuaOverClickListener.VoidDelegate), func, self);
|
|
ToLua.Push(L, arg1);
|
|
}
|
|
return 1;
|
|
}
|
|
catch(Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int Spine_Unity_UpdateBonesDelegate(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
int count = LuaDLL.lua_gettop(L);
|
|
LuaFunction func = ToLua.CheckLuaFunction(L, 1);
|
|
|
|
if (count == 1)
|
|
{
|
|
Delegate arg1 = DelegateFactory.CreateDelegate(typeof(Spine.Unity.UpdateBonesDelegate), func);
|
|
ToLua.Push(L, arg1);
|
|
}
|
|
else
|
|
{
|
|
LuaTable self = ToLua.CheckLuaTable(L, 2);
|
|
Delegate arg1 = DelegateFactory.CreateDelegate(typeof(Spine.Unity.UpdateBonesDelegate), func, self);
|
|
ToLua.Push(L, arg1);
|
|
}
|
|
return 1;
|
|
}
|
|
catch(Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int Spine_Unity_MeshGeneratorDelegate(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
int count = LuaDLL.lua_gettop(L);
|
|
LuaFunction func = ToLua.CheckLuaFunction(L, 1);
|
|
|
|
if (count == 1)
|
|
{
|
|
Delegate arg1 = DelegateFactory.CreateDelegate(typeof(Spine.Unity.MeshGeneratorDelegate), func);
|
|
ToLua.Push(L, arg1);
|
|
}
|
|
else
|
|
{
|
|
LuaTable self = ToLua.CheckLuaTable(L, 2);
|
|
Delegate arg1 = DelegateFactory.CreateDelegate(typeof(Spine.Unity.MeshGeneratorDelegate), func, self);
|
|
ToLua.Push(L, arg1);
|
|
}
|
|
return 1;
|
|
}
|
|
catch(Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int Spine_Unity_SkeletonRenderer_SkeletonRendererDelegate(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
int count = LuaDLL.lua_gettop(L);
|
|
LuaFunction func = ToLua.CheckLuaFunction(L, 1);
|
|
|
|
if (count == 1)
|
|
{
|
|
Delegate arg1 = DelegateFactory.CreateDelegate(typeof(Spine.Unity.SkeletonRenderer.SkeletonRendererDelegate), func);
|
|
ToLua.Push(L, arg1);
|
|
}
|
|
else
|
|
{
|
|
LuaTable self = ToLua.CheckLuaTable(L, 2);
|
|
Delegate arg1 = DelegateFactory.CreateDelegate(typeof(Spine.Unity.SkeletonRenderer.SkeletonRendererDelegate), func, self);
|
|
ToLua.Push(L, arg1);
|
|
}
|
|
return 1;
|
|
}
|
|
catch(Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int Spine_Unity_SkeletonRenderer_InstructionDelegate(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
int count = LuaDLL.lua_gettop(L);
|
|
LuaFunction func = ToLua.CheckLuaFunction(L, 1);
|
|
|
|
if (count == 1)
|
|
{
|
|
Delegate arg1 = DelegateFactory.CreateDelegate(typeof(Spine.Unity.SkeletonRenderer.InstructionDelegate), func);
|
|
ToLua.Push(L, arg1);
|
|
}
|
|
else
|
|
{
|
|
LuaTable self = ToLua.CheckLuaTable(L, 2);
|
|
Delegate arg1 = DelegateFactory.CreateDelegate(typeof(Spine.Unity.SkeletonRenderer.InstructionDelegate), func, self);
|
|
ToLua.Push(L, arg1);
|
|
}
|
|
return 1;
|
|
}
|
|
catch(Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int System_Action(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
int count = LuaDLL.lua_gettop(L);
|
|
LuaFunction func = ToLua.CheckLuaFunction(L, 1);
|
|
|
|
if (count == 1)
|
|
{
|
|
Delegate arg1 = DelegateFactory.CreateDelegate(typeof(System.Action), func);
|
|
ToLua.Push(L, arg1);
|
|
}
|
|
else
|
|
{
|
|
LuaTable self = ToLua.CheckLuaTable(L, 2);
|
|
Delegate arg1 = DelegateFactory.CreateDelegate(typeof(System.Action), func, self);
|
|
ToLua.Push(L, arg1);
|
|
}
|
|
return 1;
|
|
}
|
|
catch(Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int System_Action_bool(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
int count = LuaDLL.lua_gettop(L);
|
|
LuaFunction func = ToLua.CheckLuaFunction(L, 1);
|
|
|
|
if (count == 1)
|
|
{
|
|
Delegate arg1 = DelegateFactory.CreateDelegate(typeof(System.Action<bool>), func);
|
|
ToLua.Push(L, arg1);
|
|
}
|
|
else
|
|
{
|
|
LuaTable self = ToLua.CheckLuaTable(L, 2);
|
|
Delegate arg1 = DelegateFactory.CreateDelegate(typeof(System.Action<bool>), func, self);
|
|
ToLua.Push(L, arg1);
|
|
}
|
|
return 1;
|
|
}
|
|
catch(Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int System_Func_bool(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
int count = LuaDLL.lua_gettop(L);
|
|
LuaFunction func = ToLua.CheckLuaFunction(L, 1);
|
|
|
|
if (count == 1)
|
|
{
|
|
Delegate arg1 = DelegateFactory.CreateDelegate(typeof(System.Func<bool>), func);
|
|
ToLua.Push(L, arg1);
|
|
}
|
|
else
|
|
{
|
|
LuaTable self = ToLua.CheckLuaTable(L, 2);
|
|
Delegate arg1 = DelegateFactory.CreateDelegate(typeof(System.Func<bool>), func, self);
|
|
ToLua.Push(L, arg1);
|
|
}
|
|
return 1;
|
|
}
|
|
catch(Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int System_Action_UnityEngine_AsyncOperation(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
int count = LuaDLL.lua_gettop(L);
|
|
LuaFunction func = ToLua.CheckLuaFunction(L, 1);
|
|
|
|
if (count == 1)
|
|
{
|
|
Delegate arg1 = DelegateFactory.CreateDelegate(typeof(System.Action<UnityEngine.AsyncOperation>), func);
|
|
ToLua.Push(L, arg1);
|
|
}
|
|
else
|
|
{
|
|
LuaTable self = ToLua.CheckLuaTable(L, 2);
|
|
Delegate arg1 = DelegateFactory.CreateDelegate(typeof(System.Action<UnityEngine.AsyncOperation>), func, self);
|
|
ToLua.Push(L, arg1);
|
|
}
|
|
return 1;
|
|
}
|
|
catch(Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int System_Action_UnityEngine_Font(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
int count = LuaDLL.lua_gettop(L);
|
|
LuaFunction func = ToLua.CheckLuaFunction(L, 1);
|
|
|
|
if (count == 1)
|
|
{
|
|
Delegate arg1 = DelegateFactory.CreateDelegate(typeof(System.Action<UnityEngine.Font>), func);
|
|
ToLua.Push(L, arg1);
|
|
}
|
|
else
|
|
{
|
|
LuaTable self = ToLua.CheckLuaTable(L, 2);
|
|
Delegate arg1 = DelegateFactory.CreateDelegate(typeof(System.Action<UnityEngine.Font>), func, self);
|
|
ToLua.Push(L, arg1);
|
|
}
|
|
return 1;
|
|
}
|
|
catch(Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int System_Action_UnityEngine_Objects(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
int count = LuaDLL.lua_gettop(L);
|
|
LuaFunction func = ToLua.CheckLuaFunction(L, 1);
|
|
|
|
if (count == 1)
|
|
{
|
|
Delegate arg1 = DelegateFactory.CreateDelegate(typeof(System.Action<UnityEngine.Object[]>), func);
|
|
ToLua.Push(L, arg1);
|
|
}
|
|
else
|
|
{
|
|
LuaTable self = ToLua.CheckLuaTable(L, 2);
|
|
Delegate arg1 = DelegateFactory.CreateDelegate(typeof(System.Action<UnityEngine.Object[]>), func, self);
|
|
ToLua.Push(L, arg1);
|
|
}
|
|
return 1;
|
|
}
|
|
catch(Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int System_Action_bool_strings(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
int count = LuaDLL.lua_gettop(L);
|
|
LuaFunction func = ToLua.CheckLuaFunction(L, 1);
|
|
|
|
if (count == 1)
|
|
{
|
|
Delegate arg1 = DelegateFactory.CreateDelegate(typeof(System.Action<bool,string[]>), func);
|
|
ToLua.Push(L, arg1);
|
|
}
|
|
else
|
|
{
|
|
LuaTable self = ToLua.CheckLuaTable(L, 2);
|
|
Delegate arg1 = DelegateFactory.CreateDelegate(typeof(System.Action<bool,string[]>), func, self);
|
|
ToLua.Push(L, arg1);
|
|
}
|
|
return 1;
|
|
}
|
|
catch(Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int System_Action_string(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
int count = LuaDLL.lua_gettop(L);
|
|
LuaFunction func = ToLua.CheckLuaFunction(L, 1);
|
|
|
|
if (count == 1)
|
|
{
|
|
Delegate arg1 = DelegateFactory.CreateDelegate(typeof(System.Action<string>), func);
|
|
ToLua.Push(L, arg1);
|
|
}
|
|
else
|
|
{
|
|
LuaTable self = ToLua.CheckLuaTable(L, 2);
|
|
Delegate arg1 = DelegateFactory.CreateDelegate(typeof(System.Action<string>), func, self);
|
|
ToLua.Push(L, arg1);
|
|
}
|
|
return 1;
|
|
}
|
|
catch(Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int System_Action_UnityEngine_Object(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
int count = LuaDLL.lua_gettop(L);
|
|
LuaFunction func = ToLua.CheckLuaFunction(L, 1);
|
|
|
|
if (count == 1)
|
|
{
|
|
Delegate arg1 = DelegateFactory.CreateDelegate(typeof(System.Action<UnityEngine.Object>), func);
|
|
ToLua.Push(L, arg1);
|
|
}
|
|
else
|
|
{
|
|
LuaTable self = ToLua.CheckLuaTable(L, 2);
|
|
Delegate arg1 = DelegateFactory.CreateDelegate(typeof(System.Action<UnityEngine.Object>), func, self);
|
|
ToLua.Push(L, arg1);
|
|
}
|
|
return 1;
|
|
}
|
|
catch(Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
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 = DelegateFactory.CreateDelegate(typeof(System.Action<string,UnityEngine.LogType>), func);
|
|
ToLua.Push(L, arg1);
|
|
}
|
|
else
|
|
{
|
|
LuaTable self = ToLua.CheckLuaTable(L, 2);
|
|
Delegate arg1 = DelegateFactory.CreateDelegate(typeof(System.Action<string,UnityEngine.LogType>), func, self);
|
|
ToLua.Push(L, arg1);
|
|
}
|
|
return 1;
|
|
}
|
|
catch(Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int System_Action_LuaFramework_HTTPResponse(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
int count = LuaDLL.lua_gettop(L);
|
|
LuaFunction func = ToLua.CheckLuaFunction(L, 1);
|
|
|
|
if (count == 1)
|
|
{
|
|
Delegate arg1 = DelegateFactory.CreateDelegate(typeof(System.Action<LuaFramework.HTTPResponse>), func);
|
|
ToLua.Push(L, arg1);
|
|
}
|
|
else
|
|
{
|
|
LuaTable self = ToLua.CheckLuaTable(L, 2);
|
|
Delegate arg1 = DelegateFactory.CreateDelegate(typeof(System.Action<LuaFramework.HTTPResponse>), func, self);
|
|
ToLua.Push(L, arg1);
|
|
}
|
|
return 1;
|
|
}
|
|
catch(Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
|
|
[MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
|
|
static int TMPro_TMP_InputField_OnValidateInput(IntPtr L)
|
|
{
|
|
try
|
|
{
|
|
int count = LuaDLL.lua_gettop(L);
|
|
LuaFunction func = ToLua.CheckLuaFunction(L, 1);
|
|
|
|
if (count == 1)
|
|
{
|
|
Delegate arg1 = DelegateFactory.CreateDelegate(typeof(TMPro.TMP_InputField.OnValidateInput), func);
|
|
ToLua.Push(L, arg1);
|
|
}
|
|
else
|
|
{
|
|
LuaTable self = ToLua.CheckLuaTable(L, 2);
|
|
Delegate arg1 = DelegateFactory.CreateDelegate(typeof(TMPro.TMP_InputField.OnValidateInput), func, self);
|
|
ToLua.Push(L, arg1);
|
|
}
|
|
return 1;
|
|
}
|
|
catch(Exception e)
|
|
{
|
|
return LuaDLL.toluaL_exception(L, e);
|
|
}
|
|
}
|
|
}
|
|
|