1524 lines
45 KiB
C#
1524 lines
45 KiB
C#
#if USE_UNI_LUA
|
|
using LuaAPI = UniLua.Lua;
|
|
using RealStatePtr = UniLua.ILuaState;
|
|
using LuaCSFunction = UniLua.CSharpFunctionDelegate;
|
|
#else
|
|
using LuaAPI = XLua.LuaDLL.Lua;
|
|
using RealStatePtr = System.IntPtr;
|
|
using LuaCSFunction = XLuaBase.lua_CSFunction;
|
|
#endif
|
|
|
|
using System;
|
|
|
|
|
|
namespace XLua
|
|
{
|
|
public partial class DelegateBridge : DelegateBridgeBase
|
|
{
|
|
|
|
public void __Gen_Delegate_Imp0()
|
|
{
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
lock (luaEnv.luaEnvLock)
|
|
{
|
|
#endif
|
|
RealStatePtr L = luaEnv.rawL;
|
|
int errFunc = LuaAPI.pcall_prepare(L, errorFuncRef, luaReference);
|
|
|
|
|
|
PCall(L, 0, 0, errFunc);
|
|
|
|
|
|
|
|
LuaAPI.lua_settop(L, errFunc - 1);
|
|
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
}
|
|
#endif
|
|
}
|
|
|
|
public void __Gen_Delegate_Imp1(UnityEngine.Vector2 p0)
|
|
{
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
lock (luaEnv.luaEnvLock)
|
|
{
|
|
#endif
|
|
RealStatePtr L = luaEnv.rawL;
|
|
int errFunc = LuaAPI.pcall_prepare(L, errorFuncRef, luaReference);
|
|
ObjectTranslator translator = luaEnv.translator;
|
|
translator.PushUnityEngineVector2(L, p0);
|
|
|
|
PCall(L, 1, 0, errFunc);
|
|
|
|
|
|
|
|
LuaAPI.lua_settop(L, errFunc - 1);
|
|
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
}
|
|
#endif
|
|
}
|
|
|
|
public void __Gen_Delegate_Imp2(int p0)
|
|
{
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
lock (luaEnv.luaEnvLock)
|
|
{
|
|
#endif
|
|
RealStatePtr L = luaEnv.rawL;
|
|
int errFunc = LuaAPI.pcall_prepare(L, errorFuncRef, luaReference);
|
|
|
|
LuaAPI.xlua_pushinteger(L, p0);
|
|
|
|
PCall(L, 1, 0, errFunc);
|
|
|
|
|
|
|
|
LuaAPI.lua_settop(L, errFunc - 1);
|
|
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
}
|
|
#endif
|
|
}
|
|
|
|
public void __Gen_Delegate_Imp3(int p0, UnityEngine.GameObject p1)
|
|
{
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
lock (luaEnv.luaEnvLock)
|
|
{
|
|
#endif
|
|
RealStatePtr L = luaEnv.rawL;
|
|
int errFunc = LuaAPI.pcall_prepare(L, errorFuncRef, luaReference);
|
|
ObjectTranslator translator = luaEnv.translator;
|
|
LuaAPI.xlua_pushinteger(L, p0);
|
|
translator.Push(L, p1);
|
|
|
|
PCall(L, 2, 0, errFunc);
|
|
|
|
|
|
|
|
LuaAPI.lua_settop(L, errFunc - 1);
|
|
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
}
|
|
#endif
|
|
}
|
|
|
|
public void __Gen_Delegate_Imp4(int p0, bool p1)
|
|
{
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
lock (luaEnv.luaEnvLock)
|
|
{
|
|
#endif
|
|
RealStatePtr L = luaEnv.rawL;
|
|
int errFunc = LuaAPI.pcall_prepare(L, errorFuncRef, luaReference);
|
|
|
|
LuaAPI.xlua_pushinteger(L, p0);
|
|
LuaAPI.lua_pushboolean(L, p1);
|
|
|
|
PCall(L, 2, 0, errFunc);
|
|
|
|
|
|
|
|
LuaAPI.lua_settop(L, errFunc - 1);
|
|
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
}
|
|
#endif
|
|
}
|
|
|
|
public void __Gen_Delegate_Imp5(int p0, int p1)
|
|
{
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
lock (luaEnv.luaEnvLock)
|
|
{
|
|
#endif
|
|
RealStatePtr L = luaEnv.rawL;
|
|
int errFunc = LuaAPI.pcall_prepare(L, errorFuncRef, luaReference);
|
|
|
|
LuaAPI.xlua_pushinteger(L, p0);
|
|
LuaAPI.xlua_pushinteger(L, p1);
|
|
|
|
PCall(L, 2, 0, errFunc);
|
|
|
|
|
|
|
|
LuaAPI.lua_settop(L, errFunc - 1);
|
|
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
}
|
|
#endif
|
|
}
|
|
|
|
public void __Gen_Delegate_Imp6(string[] p0)
|
|
{
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
lock (luaEnv.luaEnvLock)
|
|
{
|
|
#endif
|
|
RealStatePtr L = luaEnv.rawL;
|
|
int errFunc = LuaAPI.pcall_prepare(L, errorFuncRef, luaReference);
|
|
ObjectTranslator translator = luaEnv.translator;
|
|
translator.Push(L, p0);
|
|
|
|
PCall(L, 1, 0, errFunc);
|
|
|
|
|
|
|
|
LuaAPI.lua_settop(L, errFunc - 1);
|
|
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
}
|
|
#endif
|
|
}
|
|
|
|
public void __Gen_Delegate_Imp7(UnityEngine.Transform p0)
|
|
{
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
lock (luaEnv.luaEnvLock)
|
|
{
|
|
#endif
|
|
RealStatePtr L = luaEnv.rawL;
|
|
int errFunc = LuaAPI.pcall_prepare(L, errorFuncRef, luaReference);
|
|
ObjectTranslator translator = luaEnv.translator;
|
|
translator.Push(L, p0);
|
|
|
|
PCall(L, 1, 0, errFunc);
|
|
|
|
|
|
|
|
LuaAPI.lua_settop(L, errFunc - 1);
|
|
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
}
|
|
#endif
|
|
}
|
|
|
|
public void __Gen_Delegate_Imp8(bool p0, string p1)
|
|
{
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
lock (luaEnv.luaEnvLock)
|
|
{
|
|
#endif
|
|
RealStatePtr L = luaEnv.rawL;
|
|
int errFunc = LuaAPI.pcall_prepare(L, errorFuncRef, luaReference);
|
|
|
|
LuaAPI.lua_pushboolean(L, p0);
|
|
LuaAPI.lua_pushstring(L, p1);
|
|
|
|
PCall(L, 2, 0, errFunc);
|
|
|
|
|
|
|
|
LuaAPI.lua_settop(L, errFunc - 1);
|
|
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
}
|
|
#endif
|
|
}
|
|
|
|
public void __Gen_Delegate_Imp9(UnityEngine.Object p0)
|
|
{
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
lock (luaEnv.luaEnvLock)
|
|
{
|
|
#endif
|
|
RealStatePtr L = luaEnv.rawL;
|
|
int errFunc = LuaAPI.pcall_prepare(L, errorFuncRef, luaReference);
|
|
ObjectTranslator translator = luaEnv.translator;
|
|
translator.Push(L, p0);
|
|
|
|
PCall(L, 1, 0, errFunc);
|
|
|
|
|
|
|
|
LuaAPI.lua_settop(L, errFunc - 1);
|
|
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
}
|
|
#endif
|
|
}
|
|
|
|
public void __Gen_Delegate_Imp10(UnityEngine.EventSystems.PointerEventData p0)
|
|
{
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
lock (luaEnv.luaEnvLock)
|
|
{
|
|
#endif
|
|
RealStatePtr L = luaEnv.rawL;
|
|
int errFunc = LuaAPI.pcall_prepare(L, errorFuncRef, luaReference);
|
|
ObjectTranslator translator = luaEnv.translator;
|
|
translator.Push(L, p0);
|
|
|
|
PCall(L, 1, 0, errFunc);
|
|
|
|
|
|
|
|
LuaAPI.lua_settop(L, errFunc - 1);
|
|
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
}
|
|
#endif
|
|
}
|
|
|
|
public void __Gen_Delegate_Imp11(UnityEngine.GameObject p0)
|
|
{
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
lock (luaEnv.luaEnvLock)
|
|
{
|
|
#endif
|
|
RealStatePtr L = luaEnv.rawL;
|
|
int errFunc = LuaAPI.pcall_prepare(L, errorFuncRef, luaReference);
|
|
ObjectTranslator translator = luaEnv.translator;
|
|
translator.Push(L, p0);
|
|
|
|
PCall(L, 1, 0, errFunc);
|
|
|
|
|
|
|
|
LuaAPI.lua_settop(L, errFunc - 1);
|
|
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
}
|
|
#endif
|
|
}
|
|
|
|
public void __Gen_Delegate_Imp12(UnityEngine.EventSystems.BaseEventData p0)
|
|
{
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
lock (luaEnv.luaEnvLock)
|
|
{
|
|
#endif
|
|
RealStatePtr L = luaEnv.rawL;
|
|
int errFunc = LuaAPI.pcall_prepare(L, errorFuncRef, luaReference);
|
|
ObjectTranslator translator = luaEnv.translator;
|
|
translator.Push(L, p0);
|
|
|
|
PCall(L, 1, 0, errFunc);
|
|
|
|
|
|
|
|
LuaAPI.lua_settop(L, errFunc - 1);
|
|
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
}
|
|
#endif
|
|
}
|
|
|
|
public void __Gen_Delegate_Imp13(UnityEngine.Vector3 p0)
|
|
{
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
lock (luaEnv.luaEnvLock)
|
|
{
|
|
#endif
|
|
RealStatePtr L = luaEnv.rawL;
|
|
int errFunc = LuaAPI.pcall_prepare(L, errorFuncRef, luaReference);
|
|
ObjectTranslator translator = luaEnv.translator;
|
|
translator.PushUnityEngineVector3(L, p0);
|
|
|
|
PCall(L, 1, 0, errFunc);
|
|
|
|
|
|
|
|
LuaAPI.lua_settop(L, errFunc - 1);
|
|
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
}
|
|
#endif
|
|
}
|
|
|
|
public void __Gen_Delegate_Imp14(bool p0)
|
|
{
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
lock (luaEnv.luaEnvLock)
|
|
{
|
|
#endif
|
|
RealStatePtr L = luaEnv.rawL;
|
|
int errFunc = LuaAPI.pcall_prepare(L, errorFuncRef, luaReference);
|
|
|
|
LuaAPI.lua_pushboolean(L, p0);
|
|
|
|
PCall(L, 1, 0, errFunc);
|
|
|
|
|
|
|
|
LuaAPI.lua_settop(L, errFunc - 1);
|
|
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
}
|
|
#endif
|
|
}
|
|
|
|
public void __Gen_Delegate_Imp15(float p0)
|
|
{
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
lock (luaEnv.luaEnvLock)
|
|
{
|
|
#endif
|
|
RealStatePtr L = luaEnv.rawL;
|
|
int errFunc = LuaAPI.pcall_prepare(L, errorFuncRef, luaReference);
|
|
|
|
LuaAPI.lua_pushnumber(L, p0);
|
|
|
|
PCall(L, 1, 0, errFunc);
|
|
|
|
|
|
|
|
LuaAPI.lua_settop(L, errFunc - 1);
|
|
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
}
|
|
#endif
|
|
}
|
|
|
|
public char __Gen_Delegate_Imp16(string p0, int p1, char p2)
|
|
{
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
lock (luaEnv.luaEnvLock)
|
|
{
|
|
#endif
|
|
RealStatePtr L = luaEnv.rawL;
|
|
int errFunc = LuaAPI.pcall_prepare(L, errorFuncRef, luaReference);
|
|
|
|
LuaAPI.lua_pushstring(L, p0);
|
|
LuaAPI.xlua_pushinteger(L, p1);
|
|
LuaAPI.xlua_pushinteger(L, p2);
|
|
|
|
PCall(L, 3, 1, errFunc);
|
|
|
|
|
|
char __gen_ret = (char)LuaAPI.xlua_tointeger(L, errFunc + 1);
|
|
LuaAPI.lua_settop(L, errFunc - 1);
|
|
return __gen_ret;
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
}
|
|
#endif
|
|
}
|
|
|
|
public void __Gen_Delegate_Imp17(string p0, int p1, char p2)
|
|
{
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
lock (luaEnv.luaEnvLock)
|
|
{
|
|
#endif
|
|
RealStatePtr L = luaEnv.rawL;
|
|
int errFunc = LuaAPI.pcall_prepare(L, errorFuncRef, luaReference);
|
|
|
|
LuaAPI.lua_pushstring(L, p0);
|
|
LuaAPI.xlua_pushinteger(L, p1);
|
|
LuaAPI.xlua_pushinteger(L, p2);
|
|
|
|
PCall(L, 3, 0, errFunc);
|
|
|
|
|
|
|
|
LuaAPI.lua_settop(L, errFunc - 1);
|
|
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
}
|
|
#endif
|
|
}
|
|
|
|
public void __Gen_Delegate_Imp18(string p0, string p1, string p2, System.Action p3, System.Action p4)
|
|
{
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
lock (luaEnv.luaEnvLock)
|
|
{
|
|
#endif
|
|
RealStatePtr L = luaEnv.rawL;
|
|
int errFunc = LuaAPI.pcall_prepare(L, errorFuncRef, luaReference);
|
|
ObjectTranslator translator = luaEnv.translator;
|
|
LuaAPI.lua_pushstring(L, p0);
|
|
LuaAPI.lua_pushstring(L, p1);
|
|
LuaAPI.lua_pushstring(L, p2);
|
|
translator.Push(L, p3);
|
|
translator.Push(L, p4);
|
|
|
|
PCall(L, 5, 0, errFunc);
|
|
|
|
|
|
|
|
LuaAPI.lua_settop(L, errFunc - 1);
|
|
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
}
|
|
#endif
|
|
}
|
|
|
|
public void __Gen_Delegate_Imp19(string p0, string p1, string p2, object p3, System.Action p4)
|
|
{
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
lock (luaEnv.luaEnvLock)
|
|
{
|
|
#endif
|
|
RealStatePtr L = luaEnv.rawL;
|
|
int errFunc = LuaAPI.pcall_prepare(L, errorFuncRef, luaReference);
|
|
ObjectTranslator translator = luaEnv.translator;
|
|
LuaAPI.lua_pushstring(L, p0);
|
|
LuaAPI.lua_pushstring(L, p1);
|
|
LuaAPI.lua_pushstring(L, p2);
|
|
translator.PushAny(L, p3);
|
|
translator.Push(L, p4);
|
|
|
|
PCall(L, 5, 0, errFunc);
|
|
|
|
|
|
|
|
LuaAPI.lua_settop(L, errFunc - 1);
|
|
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
}
|
|
#endif
|
|
}
|
|
|
|
public void __Gen_Delegate_Imp20(System.Net.Sockets.SocketError p0)
|
|
{
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
lock (luaEnv.luaEnvLock)
|
|
{
|
|
#endif
|
|
RealStatePtr L = luaEnv.rawL;
|
|
int errFunc = LuaAPI.pcall_prepare(L, errorFuncRef, luaReference);
|
|
ObjectTranslator translator = luaEnv.translator;
|
|
translator.PushSystemNetSocketsSocketError(L, p0);
|
|
|
|
PCall(L, 1, 0, errFunc);
|
|
|
|
|
|
|
|
LuaAPI.lua_settop(L, errFunc - 1);
|
|
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
}
|
|
#endif
|
|
}
|
|
|
|
public void __Gen_Delegate_Imp21(XGame.XWebSocket p0, string p1)
|
|
{
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
lock (luaEnv.luaEnvLock)
|
|
{
|
|
#endif
|
|
RealStatePtr L = luaEnv.rawL;
|
|
int errFunc = LuaAPI.pcall_prepare(L, errorFuncRef, luaReference);
|
|
ObjectTranslator translator = luaEnv.translator;
|
|
translator.Push(L, p0);
|
|
LuaAPI.lua_pushstring(L, p1);
|
|
|
|
PCall(L, 2, 0, errFunc);
|
|
|
|
|
|
|
|
LuaAPI.lua_settop(L, errFunc - 1);
|
|
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
}
|
|
#endif
|
|
}
|
|
|
|
public void __Gen_Delegate_Imp22(byte[] p0)
|
|
{
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
lock (luaEnv.luaEnvLock)
|
|
{
|
|
#endif
|
|
RealStatePtr L = luaEnv.rawL;
|
|
int errFunc = LuaAPI.pcall_prepare(L, errorFuncRef, luaReference);
|
|
|
|
LuaAPI.lua_pushstring(L, p0);
|
|
|
|
PCall(L, 1, 0, errFunc);
|
|
|
|
|
|
|
|
LuaAPI.lua_settop(L, errFunc - 1);
|
|
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
}
|
|
#endif
|
|
}
|
|
|
|
public void __Gen_Delegate_Imp23(float p0, float p1, float p2, bool p3)
|
|
{
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
lock (luaEnv.luaEnvLock)
|
|
{
|
|
#endif
|
|
RealStatePtr L = luaEnv.rawL;
|
|
int errFunc = LuaAPI.pcall_prepare(L, errorFuncRef, luaReference);
|
|
|
|
LuaAPI.lua_pushnumber(L, p0);
|
|
LuaAPI.lua_pushnumber(L, p1);
|
|
LuaAPI.lua_pushnumber(L, p2);
|
|
LuaAPI.lua_pushboolean(L, p3);
|
|
|
|
PCall(L, 4, 0, errFunc);
|
|
|
|
|
|
|
|
LuaAPI.lua_settop(L, errFunc - 1);
|
|
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
}
|
|
#endif
|
|
}
|
|
|
|
public void __Gen_Delegate_Imp24(uint p0)
|
|
{
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
lock (luaEnv.luaEnvLock)
|
|
{
|
|
#endif
|
|
RealStatePtr L = luaEnv.rawL;
|
|
int errFunc = LuaAPI.pcall_prepare(L, errorFuncRef, luaReference);
|
|
|
|
LuaAPI.xlua_pushuint(L, p0);
|
|
|
|
PCall(L, 1, 0, errFunc);
|
|
|
|
|
|
|
|
LuaAPI.lua_settop(L, errFunc - 1);
|
|
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
}
|
|
#endif
|
|
}
|
|
|
|
public void __Gen_Delegate_Imp25(string p0, byte[] p1)
|
|
{
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
lock (luaEnv.luaEnvLock)
|
|
{
|
|
#endif
|
|
RealStatePtr L = luaEnv.rawL;
|
|
int errFunc = LuaAPI.pcall_prepare(L, errorFuncRef, luaReference);
|
|
|
|
LuaAPI.lua_pushstring(L, p0);
|
|
LuaAPI.lua_pushstring(L, p1);
|
|
|
|
PCall(L, 2, 0, errFunc);
|
|
|
|
|
|
|
|
LuaAPI.lua_settop(L, errFunc - 1);
|
|
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
}
|
|
#endif
|
|
}
|
|
|
|
public System.Collections.Generic.List<string> __Gen_Delegate_Imp26(int p0)
|
|
{
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
lock (luaEnv.luaEnvLock)
|
|
{
|
|
#endif
|
|
RealStatePtr L = luaEnv.rawL;
|
|
int errFunc = LuaAPI.pcall_prepare(L, errorFuncRef, luaReference);
|
|
ObjectTranslator translator = luaEnv.translator;
|
|
LuaAPI.xlua_pushinteger(L, p0);
|
|
|
|
PCall(L, 1, 1, errFunc);
|
|
|
|
|
|
System.Collections.Generic.List<string> __gen_ret = (System.Collections.Generic.List<string>)translator.GetObject(L, errFunc + 1, typeof(System.Collections.Generic.List<string>));
|
|
LuaAPI.lua_settop(L, errFunc - 1);
|
|
return __gen_ret;
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
}
|
|
#endif
|
|
}
|
|
|
|
public XLua.LuaTable __Gen_Delegate_Imp27()
|
|
{
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
lock (luaEnv.luaEnvLock)
|
|
{
|
|
#endif
|
|
RealStatePtr L = luaEnv.rawL;
|
|
int errFunc = LuaAPI.pcall_prepare(L, errorFuncRef, luaReference);
|
|
ObjectTranslator translator = luaEnv.translator;
|
|
|
|
PCall(L, 0, 1, errFunc);
|
|
|
|
|
|
XLua.LuaTable __gen_ret = (XLua.LuaTable)translator.GetObject(L, errFunc + 1, typeof(XLua.LuaTable));
|
|
LuaAPI.lua_settop(L, errFunc - 1);
|
|
return __gen_ret;
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
}
|
|
#endif
|
|
}
|
|
|
|
public int __Gen_Delegate_Imp28(int p0, int p1, int p2)
|
|
{
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
lock (luaEnv.luaEnvLock)
|
|
{
|
|
#endif
|
|
RealStatePtr L = luaEnv.rawL;
|
|
int errFunc = LuaAPI.pcall_prepare(L, errorFuncRef, luaReference);
|
|
|
|
LuaAPI.xlua_pushinteger(L, p0);
|
|
LuaAPI.xlua_pushinteger(L, p1);
|
|
LuaAPI.xlua_pushinteger(L, p2);
|
|
|
|
PCall(L, 3, 1, errFunc);
|
|
|
|
|
|
int __gen_ret = LuaAPI.xlua_tointeger(L, errFunc + 1);
|
|
LuaAPI.lua_settop(L, errFunc - 1);
|
|
return __gen_ret;
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
}
|
|
#endif
|
|
}
|
|
|
|
public bool __Gen_Delegate_Imp29(int p0, int p1, int p2)
|
|
{
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
lock (luaEnv.luaEnvLock)
|
|
{
|
|
#endif
|
|
RealStatePtr L = luaEnv.rawL;
|
|
int errFunc = LuaAPI.pcall_prepare(L, errorFuncRef, luaReference);
|
|
|
|
LuaAPI.xlua_pushinteger(L, p0);
|
|
LuaAPI.xlua_pushinteger(L, p1);
|
|
LuaAPI.xlua_pushinteger(L, p2);
|
|
|
|
PCall(L, 3, 1, errFunc);
|
|
|
|
|
|
bool __gen_ret = LuaAPI.lua_toboolean(L, errFunc + 1);
|
|
LuaAPI.lua_settop(L, errFunc - 1);
|
|
return __gen_ret;
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
}
|
|
#endif
|
|
}
|
|
|
|
public XLua.LuaTable __Gen_Delegate_Imp30(int p0, int p1)
|
|
{
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
lock (luaEnv.luaEnvLock)
|
|
{
|
|
#endif
|
|
RealStatePtr L = luaEnv.rawL;
|
|
int errFunc = LuaAPI.pcall_prepare(L, errorFuncRef, luaReference);
|
|
ObjectTranslator translator = luaEnv.translator;
|
|
LuaAPI.xlua_pushinteger(L, p0);
|
|
LuaAPI.xlua_pushinteger(L, p1);
|
|
|
|
PCall(L, 2, 1, errFunc);
|
|
|
|
|
|
XLua.LuaTable __gen_ret = (XLua.LuaTable)translator.GetObject(L, errFunc + 1, typeof(XLua.LuaTable));
|
|
LuaAPI.lua_settop(L, errFunc - 1);
|
|
return __gen_ret;
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
}
|
|
#endif
|
|
}
|
|
|
|
public XLua.LuaTable __Gen_Delegate_Imp31(bool p0, int p1)
|
|
{
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
lock (luaEnv.luaEnvLock)
|
|
{
|
|
#endif
|
|
RealStatePtr L = luaEnv.rawL;
|
|
int errFunc = LuaAPI.pcall_prepare(L, errorFuncRef, luaReference);
|
|
ObjectTranslator translator = luaEnv.translator;
|
|
LuaAPI.lua_pushboolean(L, p0);
|
|
LuaAPI.xlua_pushinteger(L, p1);
|
|
|
|
PCall(L, 2, 1, errFunc);
|
|
|
|
|
|
XLua.LuaTable __gen_ret = (XLua.LuaTable)translator.GetObject(L, errFunc + 1, typeof(XLua.LuaTable));
|
|
LuaAPI.lua_settop(L, errFunc - 1);
|
|
return __gen_ret;
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
}
|
|
#endif
|
|
}
|
|
|
|
public XLua.LuaTable __Gen_Delegate_Imp32(bool p0, bool p1, int p2)
|
|
{
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
lock (luaEnv.luaEnvLock)
|
|
{
|
|
#endif
|
|
RealStatePtr L = luaEnv.rawL;
|
|
int errFunc = LuaAPI.pcall_prepare(L, errorFuncRef, luaReference);
|
|
ObjectTranslator translator = luaEnv.translator;
|
|
LuaAPI.lua_pushboolean(L, p0);
|
|
LuaAPI.lua_pushboolean(L, p1);
|
|
LuaAPI.xlua_pushinteger(L, p2);
|
|
|
|
PCall(L, 3, 1, errFunc);
|
|
|
|
|
|
XLua.LuaTable __gen_ret = (XLua.LuaTable)translator.GetObject(L, errFunc + 1, typeof(XLua.LuaTable));
|
|
LuaAPI.lua_settop(L, errFunc - 1);
|
|
return __gen_ret;
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
}
|
|
#endif
|
|
}
|
|
|
|
public bool __Gen_Delegate_Imp33(int p0, int p1)
|
|
{
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
lock (luaEnv.luaEnvLock)
|
|
{
|
|
#endif
|
|
RealStatePtr L = luaEnv.rawL;
|
|
int errFunc = LuaAPI.pcall_prepare(L, errorFuncRef, luaReference);
|
|
|
|
LuaAPI.xlua_pushinteger(L, p0);
|
|
LuaAPI.xlua_pushinteger(L, p1);
|
|
|
|
PCall(L, 2, 1, errFunc);
|
|
|
|
|
|
bool __gen_ret = LuaAPI.lua_toboolean(L, errFunc + 1);
|
|
LuaAPI.lua_settop(L, errFunc - 1);
|
|
return __gen_ret;
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
}
|
|
#endif
|
|
}
|
|
|
|
public void __Gen_Delegate_Imp34(int p0, System.Action p1)
|
|
{
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
lock (luaEnv.luaEnvLock)
|
|
{
|
|
#endif
|
|
RealStatePtr L = luaEnv.rawL;
|
|
int errFunc = LuaAPI.pcall_prepare(L, errorFuncRef, luaReference);
|
|
ObjectTranslator translator = luaEnv.translator;
|
|
LuaAPI.xlua_pushinteger(L, p0);
|
|
translator.Push(L, p1);
|
|
|
|
PCall(L, 2, 0, errFunc);
|
|
|
|
|
|
|
|
LuaAPI.lua_settop(L, errFunc - 1);
|
|
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
}
|
|
#endif
|
|
}
|
|
|
|
public void __Gen_Delegate_Imp35(int p0, System.Action p1, System.Action p2, int p3)
|
|
{
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
lock (luaEnv.luaEnvLock)
|
|
{
|
|
#endif
|
|
RealStatePtr L = luaEnv.rawL;
|
|
int errFunc = LuaAPI.pcall_prepare(L, errorFuncRef, luaReference);
|
|
ObjectTranslator translator = luaEnv.translator;
|
|
LuaAPI.xlua_pushinteger(L, p0);
|
|
translator.Push(L, p1);
|
|
translator.Push(L, p2);
|
|
LuaAPI.xlua_pushinteger(L, p3);
|
|
|
|
PCall(L, 4, 0, errFunc);
|
|
|
|
|
|
|
|
LuaAPI.lua_settop(L, errFunc - 1);
|
|
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
}
|
|
#endif
|
|
}
|
|
|
|
public void __Gen_Delegate_Imp36(int p0, int p1, System.Action<bool> p2)
|
|
{
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
lock (luaEnv.luaEnvLock)
|
|
{
|
|
#endif
|
|
RealStatePtr L = luaEnv.rawL;
|
|
int errFunc = LuaAPI.pcall_prepare(L, errorFuncRef, luaReference);
|
|
ObjectTranslator translator = luaEnv.translator;
|
|
LuaAPI.xlua_pushinteger(L, p0);
|
|
LuaAPI.xlua_pushinteger(L, p1);
|
|
translator.Push(L, p2);
|
|
|
|
PCall(L, 3, 0, errFunc);
|
|
|
|
|
|
|
|
LuaAPI.lua_settop(L, errFunc - 1);
|
|
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
}
|
|
#endif
|
|
}
|
|
|
|
public string __Gen_Delegate_Imp37(int p0)
|
|
{
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
lock (luaEnv.luaEnvLock)
|
|
{
|
|
#endif
|
|
RealStatePtr L = luaEnv.rawL;
|
|
int errFunc = LuaAPI.pcall_prepare(L, errorFuncRef, luaReference);
|
|
|
|
LuaAPI.xlua_pushinteger(L, p0);
|
|
|
|
PCall(L, 1, 1, errFunc);
|
|
|
|
|
|
string __gen_ret = LuaAPI.lua_tostring(L, errFunc + 1);
|
|
LuaAPI.lua_settop(L, errFunc - 1);
|
|
return __gen_ret;
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
}
|
|
#endif
|
|
}
|
|
|
|
public bool __Gen_Delegate_Imp38(int p0)
|
|
{
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
lock (luaEnv.luaEnvLock)
|
|
{
|
|
#endif
|
|
RealStatePtr L = luaEnv.rawL;
|
|
int errFunc = LuaAPI.pcall_prepare(L, errorFuncRef, luaReference);
|
|
|
|
LuaAPI.xlua_pushinteger(L, p0);
|
|
|
|
PCall(L, 1, 1, errFunc);
|
|
|
|
|
|
bool __gen_ret = LuaAPI.lua_toboolean(L, errFunc + 1);
|
|
LuaAPI.lua_settop(L, errFunc - 1);
|
|
return __gen_ret;
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
}
|
|
#endif
|
|
}
|
|
|
|
public bool __Gen_Delegate_Imp39()
|
|
{
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
lock (luaEnv.luaEnvLock)
|
|
{
|
|
#endif
|
|
RealStatePtr L = luaEnv.rawL;
|
|
int errFunc = LuaAPI.pcall_prepare(L, errorFuncRef, luaReference);
|
|
|
|
|
|
PCall(L, 0, 1, errFunc);
|
|
|
|
|
|
bool __gen_ret = LuaAPI.lua_toboolean(L, errFunc + 1);
|
|
LuaAPI.lua_settop(L, errFunc - 1);
|
|
return __gen_ret;
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
}
|
|
#endif
|
|
}
|
|
|
|
public void __Gen_Delegate_Imp40(int p0, UnityEngine.EventSystems.PointerEventData p1)
|
|
{
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
lock (luaEnv.luaEnvLock)
|
|
{
|
|
#endif
|
|
RealStatePtr L = luaEnv.rawL;
|
|
int errFunc = LuaAPI.pcall_prepare(L, errorFuncRef, luaReference);
|
|
ObjectTranslator translator = luaEnv.translator;
|
|
LuaAPI.xlua_pushinteger(L, p0);
|
|
translator.Push(L, p1);
|
|
|
|
PCall(L, 2, 0, errFunc);
|
|
|
|
|
|
|
|
LuaAPI.lua_settop(L, errFunc - 1);
|
|
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
}
|
|
#endif
|
|
}
|
|
|
|
public XLua.LuaTable __Gen_Delegate_Imp41(int p0)
|
|
{
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
lock (luaEnv.luaEnvLock)
|
|
{
|
|
#endif
|
|
RealStatePtr L = luaEnv.rawL;
|
|
int errFunc = LuaAPI.pcall_prepare(L, errorFuncRef, luaReference);
|
|
ObjectTranslator translator = luaEnv.translator;
|
|
LuaAPI.xlua_pushinteger(L, p0);
|
|
|
|
PCall(L, 1, 1, errFunc);
|
|
|
|
|
|
XLua.LuaTable __gen_ret = (XLua.LuaTable)translator.GetObject(L, errFunc + 1, typeof(XLua.LuaTable));
|
|
LuaAPI.lua_settop(L, errFunc - 1);
|
|
return __gen_ret;
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
}
|
|
#endif
|
|
}
|
|
|
|
public void __Gen_Delegate_Imp42(int p0, System.Action<int> p1)
|
|
{
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
lock (luaEnv.luaEnvLock)
|
|
{
|
|
#endif
|
|
RealStatePtr L = luaEnv.rawL;
|
|
int errFunc = LuaAPI.pcall_prepare(L, errorFuncRef, luaReference);
|
|
ObjectTranslator translator = luaEnv.translator;
|
|
LuaAPI.xlua_pushinteger(L, p0);
|
|
translator.Push(L, p1);
|
|
|
|
PCall(L, 2, 0, errFunc);
|
|
|
|
|
|
|
|
LuaAPI.lua_settop(L, errFunc - 1);
|
|
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
}
|
|
#endif
|
|
}
|
|
|
|
public void __Gen_Delegate_Imp43(string p0)
|
|
{
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
lock (luaEnv.luaEnvLock)
|
|
{
|
|
#endif
|
|
RealStatePtr L = luaEnv.rawL;
|
|
int errFunc = LuaAPI.pcall_prepare(L, errorFuncRef, luaReference);
|
|
|
|
LuaAPI.lua_pushstring(L, p0);
|
|
|
|
PCall(L, 1, 0, errFunc);
|
|
|
|
|
|
|
|
LuaAPI.lua_settop(L, errFunc - 1);
|
|
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
}
|
|
#endif
|
|
}
|
|
|
|
public void __Gen_Delegate_Imp44(string p0, string p1)
|
|
{
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
lock (luaEnv.luaEnvLock)
|
|
{
|
|
#endif
|
|
RealStatePtr L = luaEnv.rawL;
|
|
int errFunc = LuaAPI.pcall_prepare(L, errorFuncRef, luaReference);
|
|
|
|
LuaAPI.lua_pushstring(L, p0);
|
|
LuaAPI.lua_pushstring(L, p1);
|
|
|
|
PCall(L, 2, 0, errFunc);
|
|
|
|
|
|
|
|
LuaAPI.lua_settop(L, errFunc - 1);
|
|
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
}
|
|
#endif
|
|
}
|
|
|
|
public bool __Gen_Delegate_Imp45(UnityEngine.GameObject p0, int p1)
|
|
{
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
lock (luaEnv.luaEnvLock)
|
|
{
|
|
#endif
|
|
RealStatePtr L = luaEnv.rawL;
|
|
int errFunc = LuaAPI.pcall_prepare(L, errorFuncRef, luaReference);
|
|
ObjectTranslator translator = luaEnv.translator;
|
|
translator.Push(L, p0);
|
|
LuaAPI.xlua_pushinteger(L, p1);
|
|
|
|
PCall(L, 2, 1, errFunc);
|
|
|
|
|
|
bool __gen_ret = LuaAPI.lua_toboolean(L, errFunc + 1);
|
|
LuaAPI.lua_settop(L, errFunc - 1);
|
|
return __gen_ret;
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
}
|
|
#endif
|
|
}
|
|
|
|
public void __Gen_Delegate_Imp46(long p0, string p1)
|
|
{
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
lock (luaEnv.luaEnvLock)
|
|
{
|
|
#endif
|
|
RealStatePtr L = luaEnv.rawL;
|
|
int errFunc = LuaAPI.pcall_prepare(L, errorFuncRef, luaReference);
|
|
|
|
LuaAPI.lua_pushint64(L, p0);
|
|
LuaAPI.lua_pushstring(L, p1);
|
|
|
|
PCall(L, 2, 0, errFunc);
|
|
|
|
|
|
|
|
LuaAPI.lua_settop(L, errFunc - 1);
|
|
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
}
|
|
#endif
|
|
}
|
|
|
|
public void __Gen_Delegate_Imp47(UnityEngine.RectTransform p0, int p1)
|
|
{
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
lock (luaEnv.luaEnvLock)
|
|
{
|
|
#endif
|
|
RealStatePtr L = luaEnv.rawL;
|
|
int errFunc = LuaAPI.pcall_prepare(L, errorFuncRef, luaReference);
|
|
ObjectTranslator translator = luaEnv.translator;
|
|
translator.Push(L, p0);
|
|
LuaAPI.xlua_pushinteger(L, p1);
|
|
|
|
PCall(L, 2, 0, errFunc);
|
|
|
|
|
|
|
|
LuaAPI.lua_settop(L, errFunc - 1);
|
|
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
}
|
|
#endif
|
|
}
|
|
|
|
public void __Gen_Delegate_Imp48(int p0, UnityEngine.RectTransform p1)
|
|
{
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
lock (luaEnv.luaEnvLock)
|
|
{
|
|
#endif
|
|
RealStatePtr L = luaEnv.rawL;
|
|
int errFunc = LuaAPI.pcall_prepare(L, errorFuncRef, luaReference);
|
|
ObjectTranslator translator = luaEnv.translator;
|
|
LuaAPI.xlua_pushinteger(L, p0);
|
|
translator.Push(L, p1);
|
|
|
|
PCall(L, 2, 0, errFunc);
|
|
|
|
|
|
|
|
LuaAPI.lua_settop(L, errFunc - 1);
|
|
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
}
|
|
#endif
|
|
}
|
|
|
|
public UnityEngine.Vector2 __Gen_Delegate_Imp49()
|
|
{
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
lock (luaEnv.luaEnvLock)
|
|
{
|
|
#endif
|
|
RealStatePtr L = luaEnv.rawL;
|
|
int errFunc = LuaAPI.pcall_prepare(L, errorFuncRef, luaReference);
|
|
ObjectTranslator translator = luaEnv.translator;
|
|
|
|
PCall(L, 0, 1, errFunc);
|
|
|
|
|
|
UnityEngine.Vector2 __gen_ret;translator.Get(L, errFunc + 1, out __gen_ret);
|
|
LuaAPI.lua_settop(L, errFunc - 1);
|
|
return __gen_ret;
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
}
|
|
#endif
|
|
}
|
|
|
|
public UnityEngine.Vector3 __Gen_Delegate_Imp50()
|
|
{
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
lock (luaEnv.luaEnvLock)
|
|
{
|
|
#endif
|
|
RealStatePtr L = luaEnv.rawL;
|
|
int errFunc = LuaAPI.pcall_prepare(L, errorFuncRef, luaReference);
|
|
ObjectTranslator translator = luaEnv.translator;
|
|
|
|
PCall(L, 0, 1, errFunc);
|
|
|
|
|
|
UnityEngine.Vector3 __gen_ret;translator.Get(L, errFunc + 1, out __gen_ret);
|
|
LuaAPI.lua_settop(L, errFunc - 1);
|
|
return __gen_ret;
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
}
|
|
#endif
|
|
}
|
|
|
|
public float __Gen_Delegate_Imp51()
|
|
{
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
lock (luaEnv.luaEnvLock)
|
|
{
|
|
#endif
|
|
RealStatePtr L = luaEnv.rawL;
|
|
int errFunc = LuaAPI.pcall_prepare(L, errorFuncRef, luaReference);
|
|
|
|
|
|
PCall(L, 0, 1, errFunc);
|
|
|
|
|
|
float __gen_ret = (float)LuaAPI.lua_tonumber(L, errFunc + 1);
|
|
LuaAPI.lua_settop(L, errFunc - 1);
|
|
return __gen_ret;
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
}
|
|
#endif
|
|
}
|
|
|
|
public int __Gen_Delegate_Imp52()
|
|
{
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
lock (luaEnv.luaEnvLock)
|
|
{
|
|
#endif
|
|
RealStatePtr L = luaEnv.rawL;
|
|
int errFunc = LuaAPI.pcall_prepare(L, errorFuncRef, luaReference);
|
|
|
|
|
|
PCall(L, 0, 1, errFunc);
|
|
|
|
|
|
int __gen_ret = LuaAPI.xlua_tointeger(L, errFunc + 1);
|
|
LuaAPI.lua_settop(L, errFunc - 1);
|
|
return __gen_ret;
|
|
#if THREAD_SAFE || HOTFIX_ENABLE
|
|
}
|
|
#endif
|
|
}
|
|
|
|
|
|
static DelegateBridge()
|
|
{
|
|
Gen_Flag = true;
|
|
}
|
|
|
|
public override Delegate GetDelegateByType(Type type)
|
|
{
|
|
|
|
if (type == typeof(UnityEngine.Events.UnityAction))
|
|
{
|
|
return new UnityEngine.Events.UnityAction(__Gen_Delegate_Imp0);
|
|
}
|
|
|
|
if (type == typeof(UnityEngine.Events.UnityAction<UnityEngine.Vector2>))
|
|
{
|
|
return new UnityEngine.Events.UnityAction<UnityEngine.Vector2>(__Gen_Delegate_Imp1);
|
|
}
|
|
|
|
if (type == typeof(UnityEngine.Events.UnityAction<int>))
|
|
{
|
|
return new UnityEngine.Events.UnityAction<int>(__Gen_Delegate_Imp2);
|
|
}
|
|
|
|
if (type == typeof(System.Action<int>))
|
|
{
|
|
return new System.Action<int>(__Gen_Delegate_Imp2);
|
|
}
|
|
|
|
if (type == typeof(DG.Tweening.Core.DOSetter<int>))
|
|
{
|
|
return new DG.Tweening.Core.DOSetter<int>(__Gen_Delegate_Imp2);
|
|
}
|
|
|
|
if (type == typeof(UnityEngine.Events.UnityAction<int, UnityEngine.GameObject>))
|
|
{
|
|
return new UnityEngine.Events.UnityAction<int, UnityEngine.GameObject>(__Gen_Delegate_Imp3);
|
|
}
|
|
|
|
if (type == typeof(UnityEngine.Events.UnityAction<int, bool>))
|
|
{
|
|
return new UnityEngine.Events.UnityAction<int, bool>(__Gen_Delegate_Imp4);
|
|
}
|
|
|
|
if (type == typeof(UnityEngine.Events.UnityAction<int, int>))
|
|
{
|
|
return new UnityEngine.Events.UnityAction<int, int>(__Gen_Delegate_Imp5);
|
|
}
|
|
|
|
if (type == typeof(System.Action<string[]>))
|
|
{
|
|
return new System.Action<string[]>(__Gen_Delegate_Imp6);
|
|
}
|
|
|
|
if (type == typeof(System.Action<UnityEngine.Transform>))
|
|
{
|
|
return new System.Action<UnityEngine.Transform>(__Gen_Delegate_Imp7);
|
|
}
|
|
|
|
if (type == typeof(System.Action<bool, string>))
|
|
{
|
|
return new System.Action<bool, string>(__Gen_Delegate_Imp8);
|
|
}
|
|
|
|
if (type == typeof(System.Action<UnityEngine.Object>))
|
|
{
|
|
return new System.Action<UnityEngine.Object>(__Gen_Delegate_Imp9);
|
|
}
|
|
|
|
if (type == typeof(System.Action<UnityEngine.EventSystems.PointerEventData>))
|
|
{
|
|
return new System.Action<UnityEngine.EventSystems.PointerEventData>(__Gen_Delegate_Imp10);
|
|
}
|
|
|
|
if (type == typeof(System.Action<UnityEngine.GameObject>))
|
|
{
|
|
return new System.Action<UnityEngine.GameObject>(__Gen_Delegate_Imp11);
|
|
}
|
|
|
|
if (type == typeof(System.Action<UnityEngine.EventSystems.BaseEventData>))
|
|
{
|
|
return new System.Action<UnityEngine.EventSystems.BaseEventData>(__Gen_Delegate_Imp12);
|
|
}
|
|
|
|
if (type == typeof(System.Action<UnityEngine.Vector3>))
|
|
{
|
|
return new System.Action<UnityEngine.Vector3>(__Gen_Delegate_Imp13);
|
|
}
|
|
|
|
if (type == typeof(UnityEngine.Events.UnityAction<bool>))
|
|
{
|
|
return new UnityEngine.Events.UnityAction<bool>(__Gen_Delegate_Imp14);
|
|
}
|
|
|
|
if (type == typeof(System.Action<bool>))
|
|
{
|
|
return new System.Action<bool>(__Gen_Delegate_Imp14);
|
|
}
|
|
|
|
if (type == typeof(UnityEngine.Events.UnityAction<float>))
|
|
{
|
|
return new UnityEngine.Events.UnityAction<float>(__Gen_Delegate_Imp15);
|
|
}
|
|
|
|
if (type == typeof(System.Action<float>))
|
|
{
|
|
return new System.Action<float>(__Gen_Delegate_Imp15);
|
|
}
|
|
|
|
if (type == typeof(DG.Tweening.Core.DOSetter<float>))
|
|
{
|
|
return new DG.Tweening.Core.DOSetter<float>(__Gen_Delegate_Imp15);
|
|
}
|
|
|
|
if (type == typeof(UnityEngine.UI.InputField.OnValidateInput))
|
|
{
|
|
return new UnityEngine.UI.InputField.OnValidateInput(__Gen_Delegate_Imp16);
|
|
}
|
|
|
|
if (type == typeof(System.Action<string, int, char>))
|
|
{
|
|
return new System.Action<string, int, char>(__Gen_Delegate_Imp17);
|
|
}
|
|
|
|
if (type == typeof(System.Action<string, string, string, System.Action, System.Action>))
|
|
{
|
|
return new System.Action<string, string, string, System.Action, System.Action>(__Gen_Delegate_Imp18);
|
|
}
|
|
|
|
if (type == typeof(System.Action<string, string, string, object, System.Action>))
|
|
{
|
|
return new System.Action<string, string, string, object, System.Action>(__Gen_Delegate_Imp19);
|
|
}
|
|
|
|
if (type == typeof(System.Action<System.Net.Sockets.SocketError>))
|
|
{
|
|
return new System.Action<System.Net.Sockets.SocketError>(__Gen_Delegate_Imp20);
|
|
}
|
|
|
|
if (type == typeof(System.Action<XGame.XWebSocket, string>))
|
|
{
|
|
return new System.Action<XGame.XWebSocket, string>(__Gen_Delegate_Imp21);
|
|
}
|
|
|
|
if (type == typeof(System.Action<byte[]>))
|
|
{
|
|
return new System.Action<byte[]>(__Gen_Delegate_Imp22);
|
|
}
|
|
|
|
if (type == typeof(System.Action<float, float, float, bool>))
|
|
{
|
|
return new System.Action<float, float, float, bool>(__Gen_Delegate_Imp23);
|
|
}
|
|
|
|
if (type == typeof(System.Action<uint>))
|
|
{
|
|
return new System.Action<uint>(__Gen_Delegate_Imp24);
|
|
}
|
|
|
|
if (type == typeof(System.Action<string, byte[]>))
|
|
{
|
|
return new System.Action<string, byte[]>(__Gen_Delegate_Imp25);
|
|
}
|
|
|
|
if (type == typeof(System.Func<int, System.Collections.Generic.List<string>>))
|
|
{
|
|
return new System.Func<int, System.Collections.Generic.List<string>>(__Gen_Delegate_Imp26);
|
|
}
|
|
|
|
if (type == typeof(System.Func<XLua.LuaTable>))
|
|
{
|
|
return new System.Func<XLua.LuaTable>(__Gen_Delegate_Imp27);
|
|
}
|
|
|
|
if (type == typeof(System.Func<int, int, int, int>))
|
|
{
|
|
return new System.Func<int, int, int, int>(__Gen_Delegate_Imp28);
|
|
}
|
|
|
|
if (type == typeof(System.Func<int, int, int, bool>))
|
|
{
|
|
return new System.Func<int, int, int, bool>(__Gen_Delegate_Imp29);
|
|
}
|
|
|
|
if (type == typeof(System.Func<int, int, XLua.LuaTable>))
|
|
{
|
|
return new System.Func<int, int, XLua.LuaTable>(__Gen_Delegate_Imp30);
|
|
}
|
|
|
|
if (type == typeof(System.Func<bool, int, XLua.LuaTable>))
|
|
{
|
|
return new System.Func<bool, int, XLua.LuaTable>(__Gen_Delegate_Imp31);
|
|
}
|
|
|
|
if (type == typeof(System.Func<bool, bool, int, XLua.LuaTable>))
|
|
{
|
|
return new System.Func<bool, bool, int, XLua.LuaTable>(__Gen_Delegate_Imp32);
|
|
}
|
|
|
|
if (type == typeof(System.Func<int, int, bool>))
|
|
{
|
|
return new System.Func<int, int, bool>(__Gen_Delegate_Imp33);
|
|
}
|
|
|
|
if (type == typeof(System.Action<int, System.Action>))
|
|
{
|
|
return new System.Action<int, System.Action>(__Gen_Delegate_Imp34);
|
|
}
|
|
|
|
if (type == typeof(System.Action<int, System.Action, System.Action, int>))
|
|
{
|
|
return new System.Action<int, System.Action, System.Action, int>(__Gen_Delegate_Imp35);
|
|
}
|
|
|
|
if (type == typeof(System.Action<int, int, System.Action<bool>>))
|
|
{
|
|
return new System.Action<int, int, System.Action<bool>>(__Gen_Delegate_Imp36);
|
|
}
|
|
|
|
if (type == typeof(System.Func<int, string>))
|
|
{
|
|
return new System.Func<int, string>(__Gen_Delegate_Imp37);
|
|
}
|
|
|
|
if (type == typeof(System.Func<int, bool>))
|
|
{
|
|
return new System.Func<int, bool>(__Gen_Delegate_Imp38);
|
|
}
|
|
|
|
if (type == typeof(System.Func<bool>))
|
|
{
|
|
return new System.Func<bool>(__Gen_Delegate_Imp39);
|
|
}
|
|
|
|
if (type == typeof(System.Action<int, UnityEngine.EventSystems.PointerEventData>))
|
|
{
|
|
return new System.Action<int, UnityEngine.EventSystems.PointerEventData>(__Gen_Delegate_Imp40);
|
|
}
|
|
|
|
if (type == typeof(System.Func<int, XLua.LuaTable>))
|
|
{
|
|
return new System.Func<int, XLua.LuaTable>(__Gen_Delegate_Imp41);
|
|
}
|
|
|
|
if (type == typeof(System.Action<int, System.Action<int>>))
|
|
{
|
|
return new System.Action<int, System.Action<int>>(__Gen_Delegate_Imp42);
|
|
}
|
|
|
|
if (type == typeof(System.Action<string>))
|
|
{
|
|
return new System.Action<string>(__Gen_Delegate_Imp43);
|
|
}
|
|
|
|
if (type == typeof(System.Action<string, string>))
|
|
{
|
|
return new System.Action<string, string>(__Gen_Delegate_Imp44);
|
|
}
|
|
|
|
if (type == typeof(System.Func<UnityEngine.GameObject, int, bool>))
|
|
{
|
|
return new System.Func<UnityEngine.GameObject, int, bool>(__Gen_Delegate_Imp45);
|
|
}
|
|
|
|
if (type == typeof(System.Action<long, string>))
|
|
{
|
|
return new System.Action<long, string>(__Gen_Delegate_Imp46);
|
|
}
|
|
|
|
if (type == typeof(System.Action<UnityEngine.RectTransform, int>))
|
|
{
|
|
return new System.Action<UnityEngine.RectTransform, int>(__Gen_Delegate_Imp47);
|
|
}
|
|
|
|
if (type == typeof(System.Action<int, UnityEngine.RectTransform>))
|
|
{
|
|
return new System.Action<int, UnityEngine.RectTransform>(__Gen_Delegate_Imp48);
|
|
}
|
|
|
|
if (type == typeof(DG.Tweening.Core.DOGetter<UnityEngine.Vector2>))
|
|
{
|
|
return new DG.Tweening.Core.DOGetter<UnityEngine.Vector2>(__Gen_Delegate_Imp49);
|
|
}
|
|
|
|
if (type == typeof(DG.Tweening.Core.DOGetter<UnityEngine.Vector3>))
|
|
{
|
|
return new DG.Tweening.Core.DOGetter<UnityEngine.Vector3>(__Gen_Delegate_Imp50);
|
|
}
|
|
|
|
if (type == typeof(DG.Tweening.Core.DOGetter<float>))
|
|
{
|
|
return new DG.Tweening.Core.DOGetter<float>(__Gen_Delegate_Imp51);
|
|
}
|
|
|
|
if (type == typeof(DG.Tweening.Core.DOGetter<int>))
|
|
{
|
|
return new DG.Tweening.Core.DOGetter<int>(__Gen_Delegate_Imp52);
|
|
}
|
|
|
|
return null;
|
|
}
|
|
}
|
|
|
|
} |