源战役客户端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

2028 lines
57 KiB

//this source code was auto-generated by tolua#, do not modify it
using System;
using System.Collections.Generic;
using LuaInterface;
public static class DelegateFactory
{
public delegate Delegate DelegateValue(LuaFunction func, LuaTable self, bool flag);
public static Dictionary<Type, DelegateValue> dict = new Dictionary<Type, DelegateValue>();
static DelegateFactory()
{
Register();
}
[NoToLuaAttribute]
public static void Register()
{
dict.Clear();
dict.Add(typeof(System.Action), System_Action);
dict.Add(typeof(UnityEngine.Events.UnityAction), UnityEngine_Events_UnityAction);
dict.Add(typeof(UnityEngine.Camera.CameraCallback), UnityEngine_Camera_CameraCallback);
dict.Add(typeof(UnityEngine.Canvas.WillRenderCanvases), UnityEngine_Canvas_WillRenderCanvases);
dict.Add(typeof(UnityEngine.Application.AdvertisingIdentifierCallback), UnityEngine_Application_AdvertisingIdentifierCallback);
dict.Add(typeof(UnityEngine.Application.LowMemoryCallback), UnityEngine_Application_LowMemoryCallback);
dict.Add(typeof(UnityEngine.Application.LogCallback), UnityEngine_Application_LogCallback);
dict.Add(typeof(System.Action<bool>), System_Action_bool);
dict.Add(typeof(System.Func<bool>), System_Func_bool);
dict.Add(typeof(UnityEngine.AudioClip.PCMReaderCallback), UnityEngine_AudioClip_PCMReaderCallback);
dict.Add(typeof(UnityEngine.AudioClip.PCMSetPositionCallback), UnityEngine_AudioClip_PCMSetPositionCallback);
dict.Add(typeof(System.Action<UnityEngine.AsyncOperation>), System_Action_UnityEngine_AsyncOperation);
dict.Add(typeof(UnityEngine.RectTransform.ReapplyDrivenProperties), UnityEngine_RectTransform_ReapplyDrivenProperties);
dict.Add(typeof(UnityEngine.UI.InputField.OnValidateInput), UnityEngine_UI_InputField_OnValidateInput);
dict.Add(typeof(UnityEngine.Font.FontTextureRebuildCallback), UnityEngine_Font_FontTextureRebuildCallback);
dict.Add(typeof(System.Action<UnityEngine.Font>), System_Action_UnityEngine_Font);
dict.Add(typeof(LuaFramework.LuaEventListener.VoidDelegate), LuaFramework_LuaEventListener_VoidDelegate);
dict.Add(typeof(LuaFramework.LuaClickListener.VoidDelegate), LuaFramework_LuaClickListener_VoidDelegate);
dict.Add(typeof(LuaFramework.LuaDragListener.VoidDelegate), LuaFramework_LuaDragListener_VoidDelegate);
dict.Add(typeof(LuaFramework.LuaDragExtendListener.VoidDelegate), LuaFramework_LuaDragExtendListener_VoidDelegate);
dict.Add(typeof(System.Action<UnityEngine.Object[]>), System_Action_UnityEngine_Objects);
dict.Add(typeof(System.Action<bool,string[]>), System_Action_bool_strings);
dict.Add(typeof(System.Action<string>), System_Action_string);
dict.Add(typeof(System.Action<UnityEngine.Object>), System_Action_UnityEngine_Object);
dict.Add(typeof(System.Action<string,UnityEngine.LogType>), System_Action_string_UnityEngine_LogType);
dict.Add(typeof(System.Action<LuaFramework.HTTPResponse>), System_Action_LuaFramework_HTTPResponse);
dict.Add(typeof(UnityEngine.Events.UnityAction<UnityEngine.Vector2>), UnityEngine_Events_UnityAction_UnityEngine_Vector2);
dict.Add(typeof(UnityEngine.Events.UnityAction<bool>), UnityEngine_Events_UnityAction_bool);
dict.Add(typeof(UnityEngine.Events.UnityAction<string>), UnityEngine_Events_UnityAction_string);
dict.Add(typeof(LuaFramework.LuaOverClickListener.VoidDelegate), LuaFramework_LuaOverClickListener_VoidDelegate);
dict.Add(typeof(UnityEngine.Events.UnityAction<UnityEngine.SceneManagement.Scene,UnityEngine.SceneManagement.LoadSceneMode>), UnityEngine_Events_UnityAction_UnityEngine_SceneManagement_Scene_UnityEngine_SceneManagement_LoadSceneMode);
dict.Add(typeof(UnityEngine.Events.UnityAction<UnityEngine.SceneManagement.Scene>), UnityEngine_Events_UnityAction_UnityEngine_SceneManagement_Scene);
dict.Add(typeof(UnityEngine.Events.UnityAction<UnityEngine.SceneManagement.Scene,UnityEngine.SceneManagement.Scene>), UnityEngine_Events_UnityAction_UnityEngine_SceneManagement_Scene_UnityEngine_SceneManagement_Scene);
dict.Add(typeof(UnityEngine.Events.UnityAction<float>), UnityEngine_Events_UnityAction_float);
dict.Add(typeof(Spine.Unity.UpdateBonesDelegate), Spine_Unity_UpdateBonesDelegate);
dict.Add(typeof(Spine.Unity.SkeletonRenderer.SkeletonRendererDelegate), Spine_Unity_SkeletonRenderer_SkeletonRendererDelegate);
dict.Add(typeof(Spine.Unity.MeshGeneratorDelegate), Spine_Unity_MeshGeneratorDelegate);
dict.Add(typeof(Spine.Unity.SkeletonRenderer.InstructionDelegate), Spine_Unity_SkeletonRenderer_InstructionDelegate);
dict.Add(typeof(UnityEngine.Video.VideoPlayer.EventHandler), UnityEngine_Video_VideoPlayer_EventHandler);
dict.Add(typeof(UnityEngine.Video.VideoPlayer.ErrorEventHandler), UnityEngine_Video_VideoPlayer_ErrorEventHandler);
dict.Add(typeof(UnityEngine.Video.VideoPlayer.TimeEventHandler), UnityEngine_Video_VideoPlayer_TimeEventHandler);
dict.Add(typeof(UnityEngine.Video.VideoPlayer.FrameReadyEventHandler), UnityEngine_Video_VideoPlayer_FrameReadyEventHandler);
dict.Add(typeof(TMPro.TMP_InputField.OnValidateInput), TMPro_TMP_InputField_OnValidateInput);
}
[NoToLuaAttribute]
public static Delegate CreateDelegate(Type t, LuaFunction func = null)
{
DelegateValue create = null;
if (!dict.TryGetValue(t, out create))
{
LuaFramework.Util.ThrowLuaException(string.Format("Delegate {0} not register", LuaMisc.GetTypeName(t)));
}
return create(func, null, false);
}
[NoToLuaAttribute]
public static Delegate CreateDelegate(Type t, LuaFunction func, LuaTable self)
{
DelegateValue create = null;
if (!dict.TryGetValue(t, out create))
{
LuaFramework.Util.ThrowLuaException(string.Format("Delegate {0} not register", LuaMisc.GetTypeName(t)));
}
return create(func, self, true);
}
[NoToLuaAttribute]
public static Delegate RemoveDelegate(Delegate obj, LuaFunction func)
{
LuaState state = func.GetLuaState();
Delegate[] ds = obj.GetInvocationList();
for (int i = 0; i < ds.Length; i++)
{
LuaDelegate ld = ds[i].Target as LuaDelegate;
if (ld != null && ld.func == func)
{
obj = Delegate.Remove(obj, ds[i]);
state.DelayDispose(ld.func);
break;
}
}
return obj;
}
[NoToLuaAttribute]
public static Delegate RemoveDelegate(Delegate obj, Delegate dg)
{
LuaDelegate remove = dg.Target as LuaDelegate;
if (remove == null)
{
obj = Delegate.Remove(obj, dg);
return obj;
}
LuaState state = remove.func.GetLuaState();
Delegate[] ds = obj.GetInvocationList();
for (int i = 0; i < ds.Length; i++)
{
LuaDelegate ld = ds[i].Target as LuaDelegate;
if (ld != null && ld == remove)
{
obj = Delegate.Remove(obj, ds[i]);
state.DelayDispose(ld.func);
state.DelayDispose(ld.self);
break;
}
}
return obj;
}
class System_Action_Event : LuaDelegate
{
public System_Action_Event(LuaFunction func) : base(func) { }
public System_Action_Event(LuaFunction func, LuaTable self) : base(func, self) { }
public void Call()
{
func.Call();
}
public void CallWithSelf()
{
func.BeginPCall();
func.Push(self);
func.PCall();
func.EndPCall();
}
}
public static Delegate System_Action(LuaFunction func, LuaTable self, bool flag)
{
if (func == null)
{
System.Action fn = delegate() { };
return fn;
}
if(!flag)
{
System.Action d = (new System_Action_Event(func)).Call;
return d;
}
else
{
System.Action d = (new System_Action_Event(func, self)).CallWithSelf;
return d;
}
}
class UnityEngine_Events_UnityAction_Event : LuaDelegate
{
public UnityEngine_Events_UnityAction_Event(LuaFunction func) : base(func) { }
public UnityEngine_Events_UnityAction_Event(LuaFunction func, LuaTable self) : base(func, self) { }
public void Call()
{
func.Call();
}
public void CallWithSelf()
{
func.BeginPCall();
func.Push(self);
func.PCall();
func.EndPCall();
}
}
public static Delegate UnityEngine_Events_UnityAction(LuaFunction func, LuaTable self, bool flag)
{
if (func == null)
{
UnityEngine.Events.UnityAction fn = delegate() { };
return fn;
}
if(!flag)
{
UnityEngine.Events.UnityAction d = (new UnityEngine_Events_UnityAction_Event(func)).Call;
return d;
}
else
{
UnityEngine.Events.UnityAction d = (new UnityEngine_Events_UnityAction_Event(func, self)).CallWithSelf;
return d;
}
}
class UnityEngine_Camera_CameraCallback_Event : LuaDelegate
{
public UnityEngine_Camera_CameraCallback_Event(LuaFunction func) : base(func) { }
public UnityEngine_Camera_CameraCallback_Event(LuaFunction func, LuaTable self) : base(func, self) { }
public void Call(UnityEngine.Camera param0)
{
func.BeginPCall();
func.Push(param0);
func.PCall();
func.EndPCall();
}
public void CallWithSelf(UnityEngine.Camera param0)
{
func.BeginPCall();
func.Push(self);
func.Push(param0);
func.PCall();
func.EndPCall();
}
}
public static Delegate UnityEngine_Camera_CameraCallback(LuaFunction func, LuaTable self, bool flag)
{
if (func == null)
{
UnityEngine.Camera.CameraCallback fn = delegate(UnityEngine.Camera param0) { };
return fn;
}
if(!flag)
{
UnityEngine.Camera.CameraCallback d = (new UnityEngine_Camera_CameraCallback_Event(func)).Call;
return d;
}
else
{
UnityEngine.Camera.CameraCallback d = (new UnityEngine_Camera_CameraCallback_Event(func, self)).CallWithSelf;
return d;
}
}
class UnityEngine_Canvas_WillRenderCanvases_Event : LuaDelegate
{
public UnityEngine_Canvas_WillRenderCanvases_Event(LuaFunction func) : base(func) { }
public UnityEngine_Canvas_WillRenderCanvases_Event(LuaFunction func, LuaTable self) : base(func, self) { }
public void Call()
{
func.Call();
}
public void CallWithSelf()
{
func.BeginPCall();
func.Push(self);
func.PCall();
func.EndPCall();
}
}
public static Delegate UnityEngine_Canvas_WillRenderCanvases(LuaFunction func, LuaTable self, bool flag)
{
if (func == null)
{
UnityEngine.Canvas.WillRenderCanvases fn = delegate() { };
return fn;
}
if(!flag)
{
UnityEngine.Canvas.WillRenderCanvases d = (new UnityEngine_Canvas_WillRenderCanvases_Event(func)).Call;
return d;
}
else
{
UnityEngine.Canvas.WillRenderCanvases d = (new UnityEngine_Canvas_WillRenderCanvases_Event(func, self)).CallWithSelf;
return d;
}
}
class UnityEngine_Application_AdvertisingIdentifierCallback_Event : LuaDelegate
{
public UnityEngine_Application_AdvertisingIdentifierCallback_Event(LuaFunction func) : base(func) { }
public UnityEngine_Application_AdvertisingIdentifierCallback_Event(LuaFunction func, LuaTable self) : base(func, self) { }
public void Call(string param0, bool param1, string param2)
{
func.BeginPCall();
func.Push(param0);
func.Push(param1);
func.Push(param2);
func.PCall();
func.EndPCall();
}
public void CallWithSelf(string param0, bool param1, string param2)
{
func.BeginPCall();
func.Push(self);
func.Push(param0);
func.Push(param1);
func.Push(param2);
func.PCall();
func.EndPCall();
}
}
public static Delegate UnityEngine_Application_AdvertisingIdentifierCallback(LuaFunction func, LuaTable self, bool flag)
{
if (func == null)
{
UnityEngine.Application.AdvertisingIdentifierCallback fn = delegate(string param0, bool param1, string param2) { };
return fn;
}
if(!flag)
{
UnityEngine.Application.AdvertisingIdentifierCallback d = (new UnityEngine_Application_AdvertisingIdentifierCallback_Event(func)).Call;
return d;
}
else
{
UnityEngine.Application.AdvertisingIdentifierCallback d = (new UnityEngine_Application_AdvertisingIdentifierCallback_Event(func, self)).CallWithSelf;
return d;
}
}
class UnityEngine_Application_LowMemoryCallback_Event : LuaDelegate
{
public UnityEngine_Application_LowMemoryCallback_Event(LuaFunction func) : base(func) { }
public UnityEngine_Application_LowMemoryCallback_Event(LuaFunction func, LuaTable self) : base(func, self) { }
public void Call()
{
func.Call();
}
public void CallWithSelf()
{
func.BeginPCall();
func.Push(self);
func.PCall();
func.EndPCall();
}
}
public static Delegate UnityEngine_Application_LowMemoryCallback(LuaFunction func, LuaTable self, bool flag)
{
if (func == null)
{
UnityEngine.Application.LowMemoryCallback fn = delegate() { };
return fn;
}
if(!flag)
{
UnityEngine.Application.LowMemoryCallback d = (new UnityEngine_Application_LowMemoryCallback_Event(func)).Call;
return d;
}
else
{
UnityEngine.Application.LowMemoryCallback d = (new UnityEngine_Application_LowMemoryCallback_Event(func, self)).CallWithSelf;
return d;
}
}
class UnityEngine_Application_LogCallback_Event : LuaDelegate
{
public UnityEngine_Application_LogCallback_Event(LuaFunction func) : base(func) { }
public UnityEngine_Application_LogCallback_Event(LuaFunction func, LuaTable self) : base(func, self) { }
public void Call(string param0, string param1, UnityEngine.LogType param2)
{
func.BeginPCall();
func.Push(param0);
func.Push(param1);
func.Push(param2);
func.PCall();
func.EndPCall();
}
public void CallWithSelf(string param0, string param1, UnityEngine.LogType param2)
{
func.BeginPCall();
func.Push(self);
func.Push(param0);
func.Push(param1);
func.Push(param2);
func.PCall();
func.EndPCall();
}
}
public static Delegate UnityEngine_Application_LogCallback(LuaFunction func, LuaTable self, bool flag)
{
if (func == null)
{
UnityEngine.Application.LogCallback fn = delegate(string param0, string param1, UnityEngine.LogType param2) { };
return fn;
}
if(!flag)
{
UnityEngine.Application.LogCallback d = (new UnityEngine_Application_LogCallback_Event(func)).Call;
return d;
}
else
{
UnityEngine.Application.LogCallback d = (new UnityEngine_Application_LogCallback_Event(func, self)).CallWithSelf;
return d;
}
}
class System_Action_bool_Event : LuaDelegate
{
public System_Action_bool_Event(LuaFunction func) : base(func) { }
public System_Action_bool_Event(LuaFunction func, LuaTable self) : base(func, self) { }
public void Call(bool param0)
{
func.BeginPCall();
func.Push(param0);
func.PCall();
func.EndPCall();
}
public void CallWithSelf(bool param0)
{
func.BeginPCall();
func.Push(self);
func.Push(param0);
func.PCall();
func.EndPCall();
}
}
public static Delegate System_Action_bool(LuaFunction func, LuaTable self, bool flag)
{
if (func == null)
{
System.Action<bool> fn = delegate(bool param0) { };
return fn;
}
if(!flag)
{
System.Action<bool> d = (new System_Action_bool_Event(func)).Call;
return d;
}
else
{
System.Action<bool> d = (new System_Action_bool_Event(func, self)).CallWithSelf;
return d;
}
}
class System_Func_bool_Event : LuaDelegate
{
public System_Func_bool_Event(LuaFunction func) : base(func) { }
public System_Func_bool_Event(LuaFunction func, LuaTable self) : base(func, self) { }
public bool Call()
{
func.BeginPCall();
func.PCall();
bool ret = func.CheckBoolean();
func.EndPCall();
return ret;
}
public bool CallWithSelf()
{
func.BeginPCall();
func.Push(self);
func.PCall();
bool ret = func.CheckBoolean();
func.EndPCall();
return ret;
}
}
public static Delegate System_Func_bool(LuaFunction func, LuaTable self, bool flag)
{
if (func == null)
{
System.Func<bool> fn = delegate() { return false; };
return fn;
}
if(!flag)
{
System.Func<bool> d = (new System_Func_bool_Event(func)).Call;
return d;
}
else
{
System.Func<bool> d = (new System_Func_bool_Event(func, self)).CallWithSelf;
return d;
}
}
class UnityEngine_AudioClip_PCMReaderCallback_Event : LuaDelegate
{
public UnityEngine_AudioClip_PCMReaderCallback_Event(LuaFunction func) : base(func) { }
public UnityEngine_AudioClip_PCMReaderCallback_Event(LuaFunction func, LuaTable self) : base(func, self) { }
public void Call(float[] param0)
{
func.BeginPCall();
func.Push(param0);
func.PCall();
func.EndPCall();
}
public void CallWithSelf(float[] param0)
{
func.BeginPCall();
func.Push(self);
func.Push(param0);
func.PCall();
func.EndPCall();
}
}
public static Delegate UnityEngine_AudioClip_PCMReaderCallback(LuaFunction func, LuaTable self, bool flag)
{
if (func == null)
{
UnityEngine.AudioClip.PCMReaderCallback fn = delegate(float[] param0) { };
return fn;
}
if(!flag)
{
UnityEngine.AudioClip.PCMReaderCallback d = (new UnityEngine_AudioClip_PCMReaderCallback_Event(func)).Call;
return d;
}
else
{
UnityEngine.AudioClip.PCMReaderCallback d = (new UnityEngine_AudioClip_PCMReaderCallback_Event(func, self)).CallWithSelf;
return d;
}
}
class UnityEngine_AudioClip_PCMSetPositionCallback_Event : LuaDelegate
{
public UnityEngine_AudioClip_PCMSetPositionCallback_Event(LuaFunction func) : base(func) { }
public UnityEngine_AudioClip_PCMSetPositionCallback_Event(LuaFunction func, LuaTable self) : base(func, self) { }
public void Call(int param0)
{
func.BeginPCall();
func.Push(param0);
func.PCall();
func.EndPCall();
}
public void CallWithSelf(int param0)
{
func.BeginPCall();
func.Push(self);
func.Push(param0);
func.PCall();
func.EndPCall();
}
}
public static Delegate UnityEngine_AudioClip_PCMSetPositionCallback(LuaFunction func, LuaTable self, bool flag)
{
if (func == null)
{
UnityEngine.AudioClip.PCMSetPositionCallback fn = delegate(int param0) { };
return fn;
}
if(!flag)
{
UnityEngine.AudioClip.PCMSetPositionCallback d = (new UnityEngine_AudioClip_PCMSetPositionCallback_Event(func)).Call;
return d;
}
else
{
UnityEngine.AudioClip.PCMSetPositionCallback d = (new UnityEngine_AudioClip_PCMSetPositionCallback_Event(func, self)).CallWithSelf;
return d;
}
}
class System_Action_UnityEngine_AsyncOperation_Event : LuaDelegate
{
public System_Action_UnityEngine_AsyncOperation_Event(LuaFunction func) : base(func) { }
public System_Action_UnityEngine_AsyncOperation_Event(LuaFunction func, LuaTable self) : base(func, self) { }
public void Call(UnityEngine.AsyncOperation param0)
{
func.BeginPCall();
func.PushObject(param0);
func.PCall();
func.EndPCall();
}
public void CallWithSelf(UnityEngine.AsyncOperation param0)
{
func.BeginPCall();
func.Push(self);
func.PushObject(param0);
func.PCall();
func.EndPCall();
}
}
public static Delegate System_Action_UnityEngine_AsyncOperation(LuaFunction func, LuaTable self, bool flag)
{
if (func == null)
{
System.Action<UnityEngine.AsyncOperation> fn = delegate(UnityEngine.AsyncOperation param0) { };
return fn;
}
if(!flag)
{
System.Action<UnityEngine.AsyncOperation> d = (new System_Action_UnityEngine_AsyncOperation_Event(func)).Call;
return d;
}
else
{
System.Action<UnityEngine.AsyncOperation> d = (new System_Action_UnityEngine_AsyncOperation_Event(func, self)).CallWithSelf;
return d;
}
}
class UnityEngine_RectTransform_ReapplyDrivenProperties_Event : LuaDelegate
{
public UnityEngine_RectTransform_ReapplyDrivenProperties_Event(LuaFunction func) : base(func) { }
public UnityEngine_RectTransform_ReapplyDrivenProperties_Event(LuaFunction func, LuaTable self) : base(func, self) { }
public void Call(UnityEngine.RectTransform param0)
{
func.BeginPCall();
func.Push(param0);
func.PCall();
func.EndPCall();
}
public void CallWithSelf(UnityEngine.RectTransform param0)
{
func.BeginPCall();
func.Push(self);
func.Push(param0);
func.PCall();
func.EndPCall();
}
}
public static Delegate UnityEngine_RectTransform_ReapplyDrivenProperties(LuaFunction func, LuaTable self, bool flag)
{
if (func == null)
{
UnityEngine.RectTransform.ReapplyDrivenProperties fn = delegate(UnityEngine.RectTransform param0) { };
return fn;
}
if(!flag)
{
UnityEngine.RectTransform.ReapplyDrivenProperties d = (new UnityEngine_RectTransform_ReapplyDrivenProperties_Event(func)).Call;
return d;
}
else
{
UnityEngine.RectTransform.ReapplyDrivenProperties d = (new UnityEngine_RectTransform_ReapplyDrivenProperties_Event(func, self)).CallWithSelf;
return d;
}
}
class UnityEngine_UI_InputField_OnValidateInput_Event : LuaDelegate
{
public UnityEngine_UI_InputField_OnValidateInput_Event(LuaFunction func) : base(func) { }
public UnityEngine_UI_InputField_OnValidateInput_Event(LuaFunction func, LuaTable self) : base(func, self) { }
public char Call(string param0, int param1, char param2)
{
func.BeginPCall();
func.Push(param0);
func.Push(param1);
func.Push(param2);
func.PCall();
char ret = (char)func.CheckNumber();
func.EndPCall();
return ret;
}
public char CallWithSelf(string param0, int param1, char param2)
{
func.BeginPCall();
func.Push(self);
func.Push(param0);
func.Push(param1);
func.Push(param2);
func.PCall();
char ret = (char)func.CheckNumber();
func.EndPCall();
return ret;
}
}
public static Delegate UnityEngine_UI_InputField_OnValidateInput(LuaFunction func, LuaTable self, bool flag)
{
if (func == null)
{
UnityEngine.UI.InputField.OnValidateInput fn = delegate(string param0, int param1, char param2) { return '\0'; };
return fn;
}
if(!flag)
{
UnityEngine.UI.InputField.OnValidateInput d = (new UnityEngine_UI_InputField_OnValidateInput_Event(func)).Call;
return d;
}
else
{
UnityEngine.UI.InputField.OnValidateInput d = (new UnityEngine_UI_InputField_OnValidateInput_Event(func, self)).CallWithSelf;
return d;
}
}
class UnityEngine_Font_FontTextureRebuildCallback_Event : LuaDelegate
{
public UnityEngine_Font_FontTextureRebuildCallback_Event(LuaFunction func) : base(func) { }
public UnityEngine_Font_FontTextureRebuildCallback_Event(LuaFunction func, LuaTable self) : base(func, self) { }
public void Call()
{
func.Call();
}
public void CallWithSelf()
{
func.BeginPCall();
func.Push(self);
func.PCall();
func.EndPCall();
}
}
public static Delegate UnityEngine_Font_FontTextureRebuildCallback(LuaFunction func, LuaTable self, bool flag)
{
if (func == null)
{
UnityEngine.Font.FontTextureRebuildCallback fn = delegate() { };
return fn;
}
if(!flag)
{
UnityEngine.Font.FontTextureRebuildCallback d = (new UnityEngine_Font_FontTextureRebuildCallback_Event(func)).Call;
return d;
}
else
{
UnityEngine.Font.FontTextureRebuildCallback d = (new UnityEngine_Font_FontTextureRebuildCallback_Event(func, self)).CallWithSelf;
return d;
}
}
class System_Action_UnityEngine_Font_Event : LuaDelegate
{
public System_Action_UnityEngine_Font_Event(LuaFunction func) : base(func) { }
public System_Action_UnityEngine_Font_Event(LuaFunction func, LuaTable self) : base(func, self) { }
public void Call(UnityEngine.Font param0)
{
func.BeginPCall();
func.Push(param0);
func.PCall();
func.EndPCall();
}
public void CallWithSelf(UnityEngine.Font param0)
{
func.BeginPCall();
func.Push(self);
func.Push(param0);
func.PCall();
func.EndPCall();
}
}
public static Delegate System_Action_UnityEngine_Font(LuaFunction func, LuaTable self, bool flag)
{
if (func == null)
{
System.Action<UnityEngine.Font> fn = delegate(UnityEngine.Font param0) { };
return fn;
}
if(!flag)
{
System.Action<UnityEngine.Font> d = (new System_Action_UnityEngine_Font_Event(func)).Call;
return d;
}
else
{
System.Action<UnityEngine.Font> d = (new System_Action_UnityEngine_Font_Event(func, self)).CallWithSelf;
return d;
}
}
class LuaFramework_LuaEventListener_VoidDelegate_Event : LuaDelegate
{
public LuaFramework_LuaEventListener_VoidDelegate_Event(LuaFunction func) : base(func) { }
public LuaFramework_LuaEventListener_VoidDelegate_Event(LuaFunction func, LuaTable self) : base(func, self) { }
public void Call(UnityEngine.GameObject param0, float param1, float param2)
{
func.BeginPCall();
func.Push(param0);
func.Push(param1);
func.Push(param2);
func.PCall();
func.EndPCall();
}
public void CallWithSelf(UnityEngine.GameObject param0, float param1, float param2)
{
func.BeginPCall();
func.Push(self);
func.Push(param0);
func.Push(param1);
func.Push(param2);
func.PCall();
func.EndPCall();
}
}
public static Delegate LuaFramework_LuaEventListener_VoidDelegate(LuaFunction func, LuaTable self, bool flag)
{
if (func == null)
{
LuaFramework.LuaEventListener.VoidDelegate fn = delegate(UnityEngine.GameObject param0, float param1, float param2) { };
return fn;
}
if(!flag)
{
LuaFramework.LuaEventListener.VoidDelegate d = (new LuaFramework_LuaEventListener_VoidDelegate_Event(func)).Call;
return d;
}
else
{
LuaFramework.LuaEventListener.VoidDelegate d = (new LuaFramework_LuaEventListener_VoidDelegate_Event(func, self)).CallWithSelf;
return d;
}
}
class LuaFramework_LuaClickListener_VoidDelegate_Event : LuaDelegate
{
public LuaFramework_LuaClickListener_VoidDelegate_Event(LuaFunction func) : base(func) { }
public LuaFramework_LuaClickListener_VoidDelegate_Event(LuaFunction func, LuaTable self) : base(func, self) { }
public void Call(UnityEngine.GameObject param0, float param1, float param2)
{
func.BeginPCall();
func.Push(param0);
func.Push(param1);
func.Push(param2);
func.PCall();
func.EndPCall();
}
public void CallWithSelf(UnityEngine.GameObject param0, float param1, float param2)
{
func.BeginPCall();
func.Push(self);
func.Push(param0);
func.Push(param1);
func.Push(param2);
func.PCall();
func.EndPCall();
}
}
public static Delegate LuaFramework_LuaClickListener_VoidDelegate(LuaFunction func, LuaTable self, bool flag)
{
if (func == null)
{
LuaFramework.LuaClickListener.VoidDelegate fn = delegate(UnityEngine.GameObject param0, float param1, float param2) { };
return fn;
}
if(!flag)
{
LuaFramework.LuaClickListener.VoidDelegate d = (new LuaFramework_LuaClickListener_VoidDelegate_Event(func)).Call;
return d;
}
else
{
LuaFramework.LuaClickListener.VoidDelegate d = (new LuaFramework_LuaClickListener_VoidDelegate_Event(func, self)).CallWithSelf;
return d;
}
}
class LuaFramework_LuaDragListener_VoidDelegate_Event : LuaDelegate
{
public LuaFramework_LuaDragListener_VoidDelegate_Event(LuaFunction func) : base(func) { }
public LuaFramework_LuaDragListener_VoidDelegate_Event(LuaFunction func, LuaTable self) : base(func, self) { }
public void Call(UnityEngine.GameObject param0, float param1, float param2)
{
func.BeginPCall();
func.Push(param0);
func.Push(param1);
func.Push(param2);
func.PCall();
func.EndPCall();
}
public void CallWithSelf(UnityEngine.GameObject param0, float param1, float param2)
{
func.BeginPCall();
func.Push(self);
func.Push(param0);
func.Push(param1);
func.Push(param2);
func.PCall();
func.EndPCall();
}
}
public static Delegate LuaFramework_LuaDragListener_VoidDelegate(LuaFunction func, LuaTable self, bool flag)
{
if (func == null)
{
LuaFramework.LuaDragListener.VoidDelegate fn = delegate(UnityEngine.GameObject param0, float param1, float param2) { };
return fn;
}
if(!flag)
{
LuaFramework.LuaDragListener.VoidDelegate d = (new LuaFramework_LuaDragListener_VoidDelegate_Event(func)).Call;
return d;
}
else
{
LuaFramework.LuaDragListener.VoidDelegate d = (new LuaFramework_LuaDragListener_VoidDelegate_Event(func, self)).CallWithSelf;
return d;
}
}
class LuaFramework_LuaDragExtendListener_VoidDelegate_Event : LuaDelegate
{
public LuaFramework_LuaDragExtendListener_VoidDelegate_Event(LuaFunction func) : base(func) { }
public LuaFramework_LuaDragExtendListener_VoidDelegate_Event(LuaFunction func, LuaTable self) : base(func, self) { }
public void Call(UnityEngine.GameObject param0, float param1, float param2)
{
func.BeginPCall();
func.Push(param0);
func.Push(param1);
func.Push(param2);
func.PCall();
func.EndPCall();
}
public void CallWithSelf(UnityEngine.GameObject param0, float param1, float param2)
{
func.BeginPCall();
func.Push(self);
func.Push(param0);
func.Push(param1);
func.Push(param2);
func.PCall();
func.EndPCall();
}
}
public static Delegate LuaFramework_LuaDragExtendListener_VoidDelegate(LuaFunction func, LuaTable self, bool flag)
{
if (func == null)
{
LuaFramework.LuaDragExtendListener.VoidDelegate fn = delegate(UnityEngine.GameObject param0, float param1, float param2) { };
return fn;
}
if(!flag)
{
LuaFramework.LuaDragExtendListener.VoidDelegate d = (new LuaFramework_LuaDragExtendListener_VoidDelegate_Event(func)).Call;
return d;
}
else
{
LuaFramework.LuaDragExtendListener.VoidDelegate d = (new LuaFramework_LuaDragExtendListener_VoidDelegate_Event(func, self)).CallWithSelf;
return d;
}
}
class System_Action_UnityEngine_Objects_Event : LuaDelegate
{
public System_Action_UnityEngine_Objects_Event(LuaFunction func) : base(func) { }
public System_Action_UnityEngine_Objects_Event(LuaFunction func, LuaTable self) : base(func, self) { }
public void Call(UnityEngine.Object[] param0)
{
func.BeginPCall();
func.Push(param0);
func.PCall();
func.EndPCall();
}
public void CallWithSelf(UnityEngine.Object[] param0)
{
func.BeginPCall();
func.Push(self);
func.Push(param0);
func.PCall();
func.EndPCall();
}
}
public static Delegate System_Action_UnityEngine_Objects(LuaFunction func, LuaTable self, bool flag)
{
if (func == null)
{
System.Action<UnityEngine.Object[]> fn = delegate(UnityEngine.Object[] param0) { };
return fn;
}
if(!flag)
{
System.Action<UnityEngine.Object[]> d = (new System_Action_UnityEngine_Objects_Event(func)).Call;
return d;
}
else
{
System.Action<UnityEngine.Object[]> d = (new System_Action_UnityEngine_Objects_Event(func, self)).CallWithSelf;
return d;
}
}
class System_Action_bool_strings_Event : LuaDelegate
{
public System_Action_bool_strings_Event(LuaFunction func) : base(func) { }
public System_Action_bool_strings_Event(LuaFunction func, LuaTable self) : base(func, self) { }
public void Call(bool param0, string[] param1)
{
func.BeginPCall();
func.Push(param0);
func.Push(param1);
func.PCall();
func.EndPCall();
}
public void CallWithSelf(bool param0, string[] param1)
{
func.BeginPCall();
func.Push(self);
func.Push(param0);
func.Push(param1);
func.PCall();
func.EndPCall();
}
}
public static Delegate System_Action_bool_strings(LuaFunction func, LuaTable self, bool flag)
{
if (func == null)
{
System.Action<bool,string[]> fn = delegate(bool param0, string[] param1) { };
return fn;
}
if(!flag)
{
System.Action<bool,string[]> d = (new System_Action_bool_strings_Event(func)).Call;
return d;
}
else
{
System.Action<bool,string[]> d = (new System_Action_bool_strings_Event(func, self)).CallWithSelf;
return d;
}
}
class System_Action_string_Event : LuaDelegate
{
public System_Action_string_Event(LuaFunction func) : base(func) { }
public System_Action_string_Event(LuaFunction func, LuaTable self) : base(func, self) { }
public void Call(string param0)
{
func.BeginPCall();
func.Push(param0);
func.PCall();
func.EndPCall();
}
public void CallWithSelf(string param0)
{
func.BeginPCall();
func.Push(self);
func.Push(param0);
func.PCall();
func.EndPCall();
}
}
public static Delegate System_Action_string(LuaFunction func, LuaTable self, bool flag)
{
if (func == null)
{
System.Action<string> fn = delegate(string param0) { };
return fn;
}
if(!flag)
{
System.Action<string> d = (new System_Action_string_Event(func)).Call;
return d;
}
else
{
System.Action<string> d = (new System_Action_string_Event(func, self)).CallWithSelf;
return d;
}
}
class System_Action_UnityEngine_Object_Event : LuaDelegate
{
public System_Action_UnityEngine_Object_Event(LuaFunction func) : base(func) { }
public System_Action_UnityEngine_Object_Event(LuaFunction func, LuaTable self) : base(func, self) { }
public void Call(UnityEngine.Object param0)
{
func.BeginPCall();
func.Push(param0);
func.PCall();
func.EndPCall();
}
public void CallWithSelf(UnityEngine.Object param0)
{
func.BeginPCall();
func.Push(self);
func.Push(param0);
func.PCall();
func.EndPCall();
}
}
public static Delegate System_Action_UnityEngine_Object(LuaFunction func, LuaTable self, bool flag)
{
if (func == null)
{
System.Action<UnityEngine.Object> fn = delegate(UnityEngine.Object param0) { };
return fn;
}
if(!flag)
{
System.Action<UnityEngine.Object> d = (new System_Action_UnityEngine_Object_Event(func)).Call;
return d;
}
else
{
System.Action<UnityEngine.Object> d = (new System_Action_UnityEngine_Object_Event(func, self)).CallWithSelf;
return d;
}
}
class System_Action_string_UnityEngine_LogType_Event : LuaDelegate
{
public System_Action_string_UnityEngine_LogType_Event(LuaFunction func) : base(func) { }
public System_Action_string_UnityEngine_LogType_Event(LuaFunction func, LuaTable self) : base(func, self) { }
public void Call(string param0, UnityEngine.LogType param1)
{
func.BeginPCall();
func.Push(param0);
func.Push(param1);
func.PCall();
func.EndPCall();
}
public void CallWithSelf(string param0, UnityEngine.LogType param1)
{
func.BeginPCall();
func.Push(self);
func.Push(param0);
func.Push(param1);
func.PCall();
func.EndPCall();
}
}
public static Delegate System_Action_string_UnityEngine_LogType(LuaFunction func, LuaTable self, bool flag)
{
if (func == null)
{
System.Action<string,UnityEngine.LogType> fn = delegate(string param0, UnityEngine.LogType param1) { };
return fn;
}
if(!flag)
{
System.Action<string,UnityEngine.LogType> d = (new System_Action_string_UnityEngine_LogType_Event(func)).Call;
return d;
}
else
{
System.Action<string,UnityEngine.LogType> d = (new System_Action_string_UnityEngine_LogType_Event(func, self)).CallWithSelf;
return d;
}
}
class System_Action_LuaFramework_HTTPResponse_Event : LuaDelegate
{
public System_Action_LuaFramework_HTTPResponse_Event(LuaFunction func) : base(func) { }
public System_Action_LuaFramework_HTTPResponse_Event(LuaFunction func, LuaTable self) : base(func, self) { }
public void Call(LuaFramework.HTTPResponse param0)
{
func.BeginPCall();
func.PushObject(param0);
func.PCall();
func.EndPCall();
}
public void CallWithSelf(LuaFramework.HTTPResponse param0)
{
func.BeginPCall();
func.Push(self);
func.PushObject(param0);
func.PCall();
func.EndPCall();
}
}
public static Delegate System_Action_LuaFramework_HTTPResponse(LuaFunction func, LuaTable self, bool flag)
{
if (func == null)
{
System.Action<LuaFramework.HTTPResponse> fn = delegate(LuaFramework.HTTPResponse param0) { };
return fn;
}
if(!flag)
{
System.Action<LuaFramework.HTTPResponse> d = (new System_Action_LuaFramework_HTTPResponse_Event(func)).Call;
return d;
}
else
{
System.Action<LuaFramework.HTTPResponse> d = (new System_Action_LuaFramework_HTTPResponse_Event(func, self)).CallWithSelf;
return d;
}
}
class UnityEngine_Events_UnityAction_UnityEngine_Vector2_Event : LuaDelegate
{
public UnityEngine_Events_UnityAction_UnityEngine_Vector2_Event(LuaFunction func) : base(func) { }
public UnityEngine_Events_UnityAction_UnityEngine_Vector2_Event(LuaFunction func, LuaTable self) : base(func, self) { }
public void Call(UnityEngine.Vector2 param0)
{
func.BeginPCall();
func.Push(param0);
func.PCall();
func.EndPCall();
}
public void CallWithSelf(UnityEngine.Vector2 param0)
{
func.BeginPCall();
func.Push(self);
func.Push(param0);
func.PCall();
func.EndPCall();
}
}
public static Delegate UnityEngine_Events_UnityAction_UnityEngine_Vector2(LuaFunction func, LuaTable self, bool flag)
{
if (func == null)
{
UnityEngine.Events.UnityAction<UnityEngine.Vector2> fn = delegate(UnityEngine.Vector2 param0) { };
return fn;
}
if(!flag)
{
UnityEngine.Events.UnityAction<UnityEngine.Vector2> d = (new UnityEngine_Events_UnityAction_UnityEngine_Vector2_Event(func)).Call;
return d;
}
else
{
UnityEngine.Events.UnityAction<UnityEngine.Vector2> d = (new UnityEngine_Events_UnityAction_UnityEngine_Vector2_Event(func, self)).CallWithSelf;
return d;
}
}
class UnityEngine_Events_UnityAction_bool_Event : LuaDelegate
{
public UnityEngine_Events_UnityAction_bool_Event(LuaFunction func) : base(func) { }
public UnityEngine_Events_UnityAction_bool_Event(LuaFunction func, LuaTable self) : base(func, self) { }
public void Call(bool param0)
{
func.BeginPCall();
func.Push(param0);
func.PCall();
func.EndPCall();
}
public void CallWithSelf(bool param0)
{
func.BeginPCall();
func.Push(self);
func.Push(param0);
func.PCall();
func.EndPCall();
}
}
public static Delegate UnityEngine_Events_UnityAction_bool(LuaFunction func, LuaTable self, bool flag)
{
if (func == null)
{
UnityEngine.Events.UnityAction<bool> fn = delegate(bool param0) { };
return fn;
}
if(!flag)
{
UnityEngine.Events.UnityAction<bool> d = (new UnityEngine_Events_UnityAction_bool_Event(func)).Call;
return d;
}
else
{
UnityEngine.Events.UnityAction<bool> d = (new UnityEngine_Events_UnityAction_bool_Event(func, self)).CallWithSelf;
return d;
}
}
class UnityEngine_Events_UnityAction_string_Event : LuaDelegate
{
public UnityEngine_Events_UnityAction_string_Event(LuaFunction func) : base(func) { }
public UnityEngine_Events_UnityAction_string_Event(LuaFunction func, LuaTable self) : base(func, self) { }
public void Call(string param0)
{
func.BeginPCall();
func.Push(param0);
func.PCall();
func.EndPCall();
}
public void CallWithSelf(string param0)
{
func.BeginPCall();
func.Push(self);
func.Push(param0);
func.PCall();
func.EndPCall();
}
}
public static Delegate UnityEngine_Events_UnityAction_string(LuaFunction func, LuaTable self, bool flag)
{
if (func == null)
{
UnityEngine.Events.UnityAction<string> fn = delegate(string param0) { };
return fn;
}
if(!flag)
{
UnityEngine.Events.UnityAction<string> d = (new UnityEngine_Events_UnityAction_string_Event(func)).Call;
return d;
}
else
{
UnityEngine.Events.UnityAction<string> d = (new UnityEngine_Events_UnityAction_string_Event(func, self)).CallWithSelf;
return d;
}
}
class LuaFramework_LuaOverClickListener_VoidDelegate_Event : LuaDelegate
{
public LuaFramework_LuaOverClickListener_VoidDelegate_Event(LuaFunction func) : base(func) { }
public LuaFramework_LuaOverClickListener_VoidDelegate_Event(LuaFunction func, LuaTable self) : base(func, self) { }
public void Call(UnityEngine.GameObject param0)
{
func.BeginPCall();
func.Push(param0);
func.PCall();
func.EndPCall();
}
public void CallWithSelf(UnityEngine.GameObject param0)
{
func.BeginPCall();
func.Push(self);
func.Push(param0);
func.PCall();
func.EndPCall();
}
}
public static Delegate LuaFramework_LuaOverClickListener_VoidDelegate(LuaFunction func, LuaTable self, bool flag)
{
if (func == null)
{
LuaFramework.LuaOverClickListener.VoidDelegate fn = delegate(UnityEngine.GameObject param0) { };
return fn;
}
if(!flag)
{
LuaFramework.LuaOverClickListener.VoidDelegate d = (new LuaFramework_LuaOverClickListener_VoidDelegate_Event(func)).Call;
return d;
}
else
{
LuaFramework.LuaOverClickListener.VoidDelegate d = (new LuaFramework_LuaOverClickListener_VoidDelegate_Event(func, self)).CallWithSelf;
return d;
}
}
class UnityEngine_Events_UnityAction_UnityEngine_SceneManagement_Scene_UnityEngine_SceneManagement_LoadSceneMode_Event : LuaDelegate
{
public UnityEngine_Events_UnityAction_UnityEngine_SceneManagement_Scene_UnityEngine_SceneManagement_LoadSceneMode_Event(LuaFunction func) : base(func) { }
public UnityEngine_Events_UnityAction_UnityEngine_SceneManagement_Scene_UnityEngine_SceneManagement_LoadSceneMode_Event(LuaFunction func, LuaTable self) : base(func, self) { }
public void Call(UnityEngine.SceneManagement.Scene param0, UnityEngine.SceneManagement.LoadSceneMode param1)
{
func.BeginPCall();
func.PushValue(param0);
func.Push(param1);
func.PCall();
func.EndPCall();
}
public void CallWithSelf(UnityEngine.SceneManagement.Scene param0, UnityEngine.SceneManagement.LoadSceneMode param1)
{
func.BeginPCall();
func.Push(self);
func.PushValue(param0);
func.Push(param1);
func.PCall();
func.EndPCall();
}
}
public static Delegate UnityEngine_Events_UnityAction_UnityEngine_SceneManagement_Scene_UnityEngine_SceneManagement_LoadSceneMode(LuaFunction func, LuaTable self, bool flag)
{
if (func == null)
{
UnityEngine.Events.UnityAction<UnityEngine.SceneManagement.Scene,UnityEngine.SceneManagement.LoadSceneMode> fn = delegate(UnityEngine.SceneManagement.Scene param0, UnityEngine.SceneManagement.LoadSceneMode param1) { };
return fn;
}
if(!flag)
{
UnityEngine.Events.UnityAction<UnityEngine.SceneManagement.Scene,UnityEngine.SceneManagement.LoadSceneMode> d = (new UnityEngine_Events_UnityAction_UnityEngine_SceneManagement_Scene_UnityEngine_SceneManagement_LoadSceneMode_Event(func)).Call;
return d;
}
else
{
UnityEngine.Events.UnityAction<UnityEngine.SceneManagement.Scene,UnityEngine.SceneManagement.LoadSceneMode> d = (new UnityEngine_Events_UnityAction_UnityEngine_SceneManagement_Scene_UnityEngine_SceneManagement_LoadSceneMode_Event(func, self)).CallWithSelf;
return d;
}
}
class UnityEngine_Events_UnityAction_UnityEngine_SceneManagement_Scene_Event : LuaDelegate
{
public UnityEngine_Events_UnityAction_UnityEngine_SceneManagement_Scene_Event(LuaFunction func) : base(func) { }
public UnityEngine_Events_UnityAction_UnityEngine_SceneManagement_Scene_Event(LuaFunction func, LuaTable self) : base(func, self) { }
public void Call(UnityEngine.SceneManagement.Scene param0)
{
func.BeginPCall();
func.PushValue(param0);
func.PCall();
func.EndPCall();
}
public void CallWithSelf(UnityEngine.SceneManagement.Scene param0)
{
func.BeginPCall();
func.Push(self);
func.PushValue(param0);
func.PCall();
func.EndPCall();
}
}
public static Delegate UnityEngine_Events_UnityAction_UnityEngine_SceneManagement_Scene(LuaFunction func, LuaTable self, bool flag)
{
if (func == null)
{
UnityEngine.Events.UnityAction<UnityEngine.SceneManagement.Scene> fn = delegate(UnityEngine.SceneManagement.Scene param0) { };
return fn;
}
if(!flag)
{
UnityEngine.Events.UnityAction<UnityEngine.SceneManagement.Scene> d = (new UnityEngine_Events_UnityAction_UnityEngine_SceneManagement_Scene_Event(func)).Call;
return d;
}
else
{
UnityEngine.Events.UnityAction<UnityEngine.SceneManagement.Scene> d = (new UnityEngine_Events_UnityAction_UnityEngine_SceneManagement_Scene_Event(func, self)).CallWithSelf;
return d;
}
}
class UnityEngine_Events_UnityAction_UnityEngine_SceneManagement_Scene_UnityEngine_SceneManagement_Scene_Event : LuaDelegate
{
public UnityEngine_Events_UnityAction_UnityEngine_SceneManagement_Scene_UnityEngine_SceneManagement_Scene_Event(LuaFunction func) : base(func) { }
public UnityEngine_Events_UnityAction_UnityEngine_SceneManagement_Scene_UnityEngine_SceneManagement_Scene_Event(LuaFunction func, LuaTable self) : base(func, self) { }
public void Call(UnityEngine.SceneManagement.Scene param0, UnityEngine.SceneManagement.Scene param1)
{
func.BeginPCall();
func.PushValue(param0);
func.PushValue(param1);
func.PCall();
func.EndPCall();
}
public void CallWithSelf(UnityEngine.SceneManagement.Scene param0, UnityEngine.SceneManagement.Scene param1)
{
func.BeginPCall();
func.Push(self);
func.PushValue(param0);
func.PushValue(param1);
func.PCall();
func.EndPCall();
}
}
public static Delegate UnityEngine_Events_UnityAction_UnityEngine_SceneManagement_Scene_UnityEngine_SceneManagement_Scene(LuaFunction func, LuaTable self, bool flag)
{
if (func == null)
{
UnityEngine.Events.UnityAction<UnityEngine.SceneManagement.Scene,UnityEngine.SceneManagement.Scene> fn = delegate(UnityEngine.SceneManagement.Scene param0, UnityEngine.SceneManagement.Scene param1) { };
return fn;
}
if(!flag)
{
UnityEngine.Events.UnityAction<UnityEngine.SceneManagement.Scene,UnityEngine.SceneManagement.Scene> d = (new UnityEngine_Events_UnityAction_UnityEngine_SceneManagement_Scene_UnityEngine_SceneManagement_Scene_Event(func)).Call;
return d;
}
else
{
UnityEngine.Events.UnityAction<UnityEngine.SceneManagement.Scene,UnityEngine.SceneManagement.Scene> d = (new UnityEngine_Events_UnityAction_UnityEngine_SceneManagement_Scene_UnityEngine_SceneManagement_Scene_Event(func, self)).CallWithSelf;
return d;
}
}
class UnityEngine_Events_UnityAction_float_Event : LuaDelegate
{
public UnityEngine_Events_UnityAction_float_Event(LuaFunction func) : base(func) { }
public UnityEngine_Events_UnityAction_float_Event(LuaFunction func, LuaTable self) : base(func, self) { }
public void Call(float param0)
{
func.BeginPCall();
func.Push(param0);
func.PCall();
func.EndPCall();
}
public void CallWithSelf(float param0)
{
func.BeginPCall();
func.Push(self);
func.Push(param0);
func.PCall();
func.EndPCall();
}
}
public static Delegate UnityEngine_Events_UnityAction_float(LuaFunction func, LuaTable self, bool flag)
{
if (func == null)
{
UnityEngine.Events.UnityAction<float> fn = delegate(float param0) { };
return fn;
}
if(!flag)
{
UnityEngine.Events.UnityAction<float> d = (new UnityEngine_Events_UnityAction_float_Event(func)).Call;
return d;
}
else
{
UnityEngine.Events.UnityAction<float> d = (new UnityEngine_Events_UnityAction_float_Event(func, self)).CallWithSelf;
return d;
}
}
class Spine_Unity_UpdateBonesDelegate_Event : LuaDelegate
{
public Spine_Unity_UpdateBonesDelegate_Event(LuaFunction func) : base(func) { }
public Spine_Unity_UpdateBonesDelegate_Event(LuaFunction func, LuaTable self) : base(func, self) { }
public void Call(Spine.Unity.ISkeletonAnimation param0)
{
func.BeginPCall();
func.PushObject(param0);
func.PCall();
func.EndPCall();
}
public void CallWithSelf(Spine.Unity.ISkeletonAnimation param0)
{
func.BeginPCall();
func.Push(self);
func.PushObject(param0);
func.PCall();
func.EndPCall();
}
}
public static Delegate Spine_Unity_UpdateBonesDelegate(LuaFunction func, LuaTable self, bool flag)
{
if (func == null)
{
Spine.Unity.UpdateBonesDelegate fn = delegate(Spine.Unity.ISkeletonAnimation param0) { };
return fn;
}
if(!flag)
{
Spine.Unity.UpdateBonesDelegate d = (new Spine_Unity_UpdateBonesDelegate_Event(func)).Call;
return d;
}
else
{
Spine.Unity.UpdateBonesDelegate d = (new Spine_Unity_UpdateBonesDelegate_Event(func, self)).CallWithSelf;
return d;
}
}
class Spine_Unity_SkeletonRenderer_SkeletonRendererDelegate_Event : LuaDelegate
{
public Spine_Unity_SkeletonRenderer_SkeletonRendererDelegate_Event(LuaFunction func) : base(func) { }
public Spine_Unity_SkeletonRenderer_SkeletonRendererDelegate_Event(LuaFunction func, LuaTable self) : base(func, self) { }
public void Call(Spine.Unity.SkeletonRenderer param0)
{
func.BeginPCall();
func.Push(param0);
func.PCall();
func.EndPCall();
}
public void CallWithSelf(Spine.Unity.SkeletonRenderer param0)
{
func.BeginPCall();
func.Push(self);
func.Push(param0);
func.PCall();
func.EndPCall();
}
}
public static Delegate Spine_Unity_SkeletonRenderer_SkeletonRendererDelegate(LuaFunction func, LuaTable self, bool flag)
{
if (func == null)
{
Spine.Unity.SkeletonRenderer.SkeletonRendererDelegate fn = delegate(Spine.Unity.SkeletonRenderer param0) { };
return fn;
}
if(!flag)
{
Spine.Unity.SkeletonRenderer.SkeletonRendererDelegate d = (new Spine_Unity_SkeletonRenderer_SkeletonRendererDelegate_Event(func)).Call;
return d;
}
else
{
Spine.Unity.SkeletonRenderer.SkeletonRendererDelegate d = (new Spine_Unity_SkeletonRenderer_SkeletonRendererDelegate_Event(func, self)).CallWithSelf;
return d;
}
}
class Spine_Unity_MeshGeneratorDelegate_Event : LuaDelegate
{
public Spine_Unity_MeshGeneratorDelegate_Event(LuaFunction func) : base(func) { }
public Spine_Unity_MeshGeneratorDelegate_Event(LuaFunction func, LuaTable self) : base(func, self) { }
public void Call(Spine.Unity.MeshGeneratorBuffers param0)
{
func.BeginPCall();
func.PushValue(param0);
func.PCall();
func.EndPCall();
}
public void CallWithSelf(Spine.Unity.MeshGeneratorBuffers param0)
{
func.BeginPCall();
func.Push(self);
func.PushValue(param0);
func.PCall();
func.EndPCall();
}
}
public static Delegate Spine_Unity_MeshGeneratorDelegate(LuaFunction func, LuaTable self, bool flag)
{
if (func == null)
{
Spine.Unity.MeshGeneratorDelegate fn = delegate(Spine.Unity.MeshGeneratorBuffers param0) { };
return fn;
}
if(!flag)
{
Spine.Unity.MeshGeneratorDelegate d = (new Spine_Unity_MeshGeneratorDelegate_Event(func)).Call;
return d;
}
else
{
Spine.Unity.MeshGeneratorDelegate d = (new Spine_Unity_MeshGeneratorDelegate_Event(func, self)).CallWithSelf;
return d;
}
}
class Spine_Unity_SkeletonRenderer_InstructionDelegate_Event : LuaDelegate
{
public Spine_Unity_SkeletonRenderer_InstructionDelegate_Event(LuaFunction func) : base(func) { }
public Spine_Unity_SkeletonRenderer_InstructionDelegate_Event(LuaFunction func, LuaTable self) : base(func, self) { }
public void Call(Spine.Unity.SkeletonRendererInstruction param0)
{
func.BeginPCall();
func.PushObject(param0);
func.PCall();
func.EndPCall();
}
public void CallWithSelf(Spine.Unity.SkeletonRendererInstruction param0)
{
func.BeginPCall();
func.Push(self);
func.PushObject(param0);
func.PCall();
func.EndPCall();
}
}
public static Delegate Spine_Unity_SkeletonRenderer_InstructionDelegate(LuaFunction func, LuaTable self, bool flag)
{
if (func == null)
{
Spine.Unity.SkeletonRenderer.InstructionDelegate fn = delegate(Spine.Unity.SkeletonRendererInstruction param0) { };
return fn;
}
if(!flag)
{
Spine.Unity.SkeletonRenderer.InstructionDelegate d = (new Spine_Unity_SkeletonRenderer_InstructionDelegate_Event(func)).Call;
return d;
}
else
{
Spine.Unity.SkeletonRenderer.InstructionDelegate d = (new Spine_Unity_SkeletonRenderer_InstructionDelegate_Event(func, self)).CallWithSelf;
return d;
}
}
class UnityEngine_Video_VideoPlayer_EventHandler_Event : LuaDelegate
{
public UnityEngine_Video_VideoPlayer_EventHandler_Event(LuaFunction func) : base(func) { }
public UnityEngine_Video_VideoPlayer_EventHandler_Event(LuaFunction func, LuaTable self) : base(func, self) { }
public void Call(UnityEngine.Video.VideoPlayer param0)
{
func.BeginPCall();
func.Push(param0);
func.PCall();
func.EndPCall();
}
public void CallWithSelf(UnityEngine.Video.VideoPlayer param0)
{
func.BeginPCall();
func.Push(self);
func.Push(param0);
func.PCall();
func.EndPCall();
}
}
public static Delegate UnityEngine_Video_VideoPlayer_EventHandler(LuaFunction func, LuaTable self, bool flag)
{
if (func == null)
{
UnityEngine.Video.VideoPlayer.EventHandler fn = delegate(UnityEngine.Video.VideoPlayer param0) { };
return fn;
}
if(!flag)
{
UnityEngine.Video.VideoPlayer.EventHandler d = (new UnityEngine_Video_VideoPlayer_EventHandler_Event(func)).Call;
return d;
}
else
{
UnityEngine.Video.VideoPlayer.EventHandler d = (new UnityEngine_Video_VideoPlayer_EventHandler_Event(func, self)).CallWithSelf;
return d;
}
}
class UnityEngine_Video_VideoPlayer_ErrorEventHandler_Event : LuaDelegate
{
public UnityEngine_Video_VideoPlayer_ErrorEventHandler_Event(LuaFunction func) : base(func) { }
public UnityEngine_Video_VideoPlayer_ErrorEventHandler_Event(LuaFunction func, LuaTable self) : base(func, self) { }
public void Call(UnityEngine.Video.VideoPlayer param0, string param1)
{
func.BeginPCall();
func.Push(param0);
func.Push(param1);
func.PCall();
func.EndPCall();
}
public void CallWithSelf(UnityEngine.Video.VideoPlayer param0, string param1)
{
func.BeginPCall();
func.Push(self);
func.Push(param0);
func.Push(param1);
func.PCall();
func.EndPCall();
}
}
public static Delegate UnityEngine_Video_VideoPlayer_ErrorEventHandler(LuaFunction func, LuaTable self, bool flag)
{
if (func == null)
{
UnityEngine.Video.VideoPlayer.ErrorEventHandler fn = delegate(UnityEngine.Video.VideoPlayer param0, string param1) { };
return fn;
}
if(!flag)
{
UnityEngine.Video.VideoPlayer.ErrorEventHandler d = (new UnityEngine_Video_VideoPlayer_ErrorEventHandler_Event(func)).Call;
return d;
}
else
{
UnityEngine.Video.VideoPlayer.ErrorEventHandler d = (new UnityEngine_Video_VideoPlayer_ErrorEventHandler_Event(func, self)).CallWithSelf;
return d;
}
}
class UnityEngine_Video_VideoPlayer_TimeEventHandler_Event : LuaDelegate
{
public UnityEngine_Video_VideoPlayer_TimeEventHandler_Event(LuaFunction func) : base(func) { }
public UnityEngine_Video_VideoPlayer_TimeEventHandler_Event(LuaFunction func, LuaTable self) : base(func, self) { }
public void Call(UnityEngine.Video.VideoPlayer param0, double param1)
{
func.BeginPCall();
func.Push(param0);
func.Push(param1);
func.PCall();
func.EndPCall();
}
public void CallWithSelf(UnityEngine.Video.VideoPlayer param0, double param1)
{
func.BeginPCall();
func.Push(self);
func.Push(param0);
func.Push(param1);
func.PCall();
func.EndPCall();
}
}
public static Delegate UnityEngine_Video_VideoPlayer_TimeEventHandler(LuaFunction func, LuaTable self, bool flag)
{
if (func == null)
{
UnityEngine.Video.VideoPlayer.TimeEventHandler fn = delegate(UnityEngine.Video.VideoPlayer param0, double param1) { };
return fn;
}
if(!flag)
{
UnityEngine.Video.VideoPlayer.TimeEventHandler d = (new UnityEngine_Video_VideoPlayer_TimeEventHandler_Event(func)).Call;
return d;
}
else
{
UnityEngine.Video.VideoPlayer.TimeEventHandler d = (new UnityEngine_Video_VideoPlayer_TimeEventHandler_Event(func, self)).CallWithSelf;
return d;
}
}
class UnityEngine_Video_VideoPlayer_FrameReadyEventHandler_Event : LuaDelegate
{
public UnityEngine_Video_VideoPlayer_FrameReadyEventHandler_Event(LuaFunction func) : base(func) { }
public UnityEngine_Video_VideoPlayer_FrameReadyEventHandler_Event(LuaFunction func, LuaTable self) : base(func, self) { }
public void Call(UnityEngine.Video.VideoPlayer param0, long param1)
{
func.BeginPCall();
func.Push(param0);
func.Push(param1);
func.PCall();
func.EndPCall();
}
public void CallWithSelf(UnityEngine.Video.VideoPlayer param0, long param1)
{
func.BeginPCall();
func.Push(self);
func.Push(param0);
func.Push(param1);
func.PCall();
func.EndPCall();
}
}
public static Delegate UnityEngine_Video_VideoPlayer_FrameReadyEventHandler(LuaFunction func, LuaTable self, bool flag)
{
if (func == null)
{
UnityEngine.Video.VideoPlayer.FrameReadyEventHandler fn = delegate(UnityEngine.Video.VideoPlayer param0, long param1) { };
return fn;
}
if(!flag)
{
UnityEngine.Video.VideoPlayer.FrameReadyEventHandler d = (new UnityEngine_Video_VideoPlayer_FrameReadyEventHandler_Event(func)).Call;
return d;
}
else
{
UnityEngine.Video.VideoPlayer.FrameReadyEventHandler d = (new UnityEngine_Video_VideoPlayer_FrameReadyEventHandler_Event(func, self)).CallWithSelf;
return d;
}
}
class TMPro_TMP_InputField_OnValidateInput_Event : LuaDelegate
{
public TMPro_TMP_InputField_OnValidateInput_Event(LuaFunction func) : base(func) { }
public TMPro_TMP_InputField_OnValidateInput_Event(LuaFunction func, LuaTable self) : base(func, self) { }
public char Call(string param0, int param1, char param2)
{
func.BeginPCall();
func.Push(param0);
func.Push(param1);
func.Push(param2);
func.PCall();
char ret = (char)func.CheckNumber();
func.EndPCall();
return ret;
}
public char CallWithSelf(string param0, int param1, char param2)
{
func.BeginPCall();
func.Push(self);
func.Push(param0);
func.Push(param1);
func.Push(param2);
func.PCall();
char ret = (char)func.CheckNumber();
func.EndPCall();
return ret;
}
}
public static Delegate TMPro_TMP_InputField_OnValidateInput(LuaFunction func, LuaTable self, bool flag)
{
if (func == null)
{
TMPro.TMP_InputField.OnValidateInput fn = delegate(string param0, int param1, char param2) { return '\0'; };
return fn;
}
if(!flag)
{
TMPro.TMP_InputField.OnValidateInput d = (new TMPro_TMP_InputField_OnValidateInput_Event(func)).Call;
return d;
}
else
{
TMPro.TMP_InputField.OnValidateInput d = (new TMPro_TMP_InputField_OnValidateInput_Event(func, self)).CallWithSelf;
return d;
}
}
}