| | |
| | | #endif |
| | | } |
| | | |
| | | public void __Gen_Delegate_Imp7() |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | | { |
| | | #endif |
| | | RealStatePtr L = luaEnv.rawL; |
| | | int err_func =LuaAPI.load_error_func(L, errorFuncRef); |
| | | |
| | | |
| | | LuaAPI.lua_getref(L, luaReference); |
| | | |
| | | |
| | | int __gen_error = LuaAPI.lua_pcall(L, 0, 0, err_func); |
| | | if (__gen_error != 0) |
| | | luaEnv.ThrowExceptionFromError(err_func - 1); |
| | | |
| | | |
| | | |
| | | LuaAPI.lua_settop(L, err_func - 1); |
| | | |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | } |
| | | #endif |
| | | } |
| | | |
| | | public void __Gen_Delegate_Imp8(bool p0) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | | { |
| | | #endif |
| | | RealStatePtr L = luaEnv.rawL; |
| | | int err_func =LuaAPI.load_error_func(L, errorFuncRef); |
| | | |
| | | |
| | | LuaAPI.lua_getref(L, luaReference); |
| | | |
| | | LuaAPI.lua_pushboolean(L, p0); |
| | | |
| | | int __gen_error = LuaAPI.lua_pcall(L, 1, 0, err_func); |
| | | if (__gen_error != 0) |
| | | luaEnv.ThrowExceptionFromError(err_func - 1); |
| | | |
| | | |
| | | |
| | | LuaAPI.lua_settop(L, err_func - 1); |
| | | |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | } |
| | | #endif |
| | | } |
| | | |
| | | public int __Gen_Delegate_Imp9(HotfixCalc p0, int p1, out double p2, ref string p3) |
| | | public int __Gen_Delegate_Imp7(HotfixCalc p0, int p1, out double p2, ref string p3) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public double __Gen_Delegate_Imp10(double p0, double p1) |
| | | public void __Gen_Delegate_Imp8() |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | | { |
| | | #endif |
| | | RealStatePtr L = luaEnv.rawL; |
| | | int err_func =LuaAPI.load_error_func(L, errorFuncRef); |
| | | |
| | | |
| | | LuaAPI.lua_getref(L, luaReference); |
| | | |
| | | |
| | | int __gen_error = LuaAPI.lua_pcall(L, 0, 0, err_func); |
| | | if (__gen_error != 0) |
| | | luaEnv.ThrowExceptionFromError(err_func - 1); |
| | | |
| | | |
| | | |
| | | LuaAPI.lua_settop(L, err_func - 1); |
| | | |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | } |
| | | #endif |
| | | } |
| | | |
| | | public double __Gen_Delegate_Imp9(double p0, double p1) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public void __Gen_Delegate_Imp11(string p0) |
| | | public void __Gen_Delegate_Imp10(string p0) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public void __Gen_Delegate_Imp12(double p0) |
| | | public void __Gen_Delegate_Imp11(double p0) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public int __Gen_Delegate_Imp13(int p0, string p1, out CSCallLua.DClass p2) |
| | | public int __Gen_Delegate_Imp12(int p0, string p1, out CSCallLua.DClass p2) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public System.Action __Gen_Delegate_Imp14() |
| | | public System.Action __Gen_Delegate_Imp13() |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public void __Gen_Delegate_Imp15(object p0) |
| | | public void __Gen_Delegate_Imp14(object p0) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public int __Gen_Delegate_Imp16(object p0, int p1, int p2) |
| | | public int __Gen_Delegate_Imp15(object p0, int p1, int p2) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public UnityEngine.Vector3 __Gen_Delegate_Imp17(object p0, UnityEngine.Vector3 p1, UnityEngine.Vector3 p2) |
| | | public UnityEngine.Vector3 __Gen_Delegate_Imp16(object p0, UnityEngine.Vector3 p1, UnityEngine.Vector3 p2) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public int __Gen_Delegate_Imp18(object p0, int p1, out double p2, ref string p3) |
| | | public int __Gen_Delegate_Imp17(object p0, int p1, out double p2, ref string p3) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public int __Gen_Delegate_Imp19(object p0, int p1, out double p2, ref string p3, object p4) |
| | | public int __Gen_Delegate_Imp18(object p0, int p1, out double p2, ref string p3, object p4) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public void __Gen_Delegate_Imp20(object p0, int p1) |
| | | public void __Gen_Delegate_Imp19(object p0, int p1) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public string __Gen_Delegate_Imp21(object p0) |
| | | public string __Gen_Delegate_Imp20(object p0) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public UnityEngine.GameObject __Gen_Delegate_Imp22(StructTest p0, int p1, object p2) |
| | | public UnityEngine.GameObject __Gen_Delegate_Imp21(StructTest p0, int p1, object p2) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public string __Gen_Delegate_Imp23(StructTest p0) |
| | | public string __Gen_Delegate_Imp22(StructTest p0) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public void __Gen_Delegate_Imp24(StructTest p0, object p1) |
| | | public void __Gen_Delegate_Imp23(StructTest p0, object p1) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public int __Gen_Delegate_Imp25(object p0) |
| | | public int __Gen_Delegate_Imp24(object p0) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public void __Gen_Delegate_Imp26(object p0, object p1) |
| | | public void __Gen_Delegate_Imp25(object p0, object p1) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public int __Gen_Delegate_Imp27(object p0, object p1) |
| | | public int __Gen_Delegate_Imp26(object p0, object p1) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public void __Gen_Delegate_Imp28(object p0, object p1, int p2) |
| | | public void __Gen_Delegate_Imp27(object p0, object p1, int p2) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public void __Gen_Delegate_Imp29(int p0, int p1) |
| | | public void __Gen_Delegate_Imp28(int p0, int p1) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | #endif |
| | | } |
| | | |
| | | public void __Gen_Delegate_Imp30(object p0, int p1, int p2) |
| | | public void __Gen_Delegate_Imp29(object p0, int p1, int p2) |
| | | { |
| | | #if THREAD_SAFE || HOTFIX_ENABLE |
| | | lock (luaEnv.luaEnvLock) |
| | |
| | | return new XLuaTest.ArrayAccess(__Gen_Delegate_Imp6); |
| | | } |
| | | |
| | | if (type == typeof(TestOutDelegate)) |
| | | { |
| | | return new TestOutDelegate(__Gen_Delegate_Imp7); |
| | | } |
| | | |
| | | if (type == typeof(System.Action)) |
| | | { |
| | | return new System.Action(__Gen_Delegate_Imp7); |
| | | return new System.Action(__Gen_Delegate_Imp8); |
| | | } |
| | | |
| | | if (type == typeof(UnityEngine.Events.UnityAction)) |
| | | { |
| | | return new UnityEngine.Events.UnityAction(__Gen_Delegate_Imp7); |
| | | } |
| | | |
| | | if (type == typeof(System.Action<bool>)) |
| | | { |
| | | return new System.Action<bool>(__Gen_Delegate_Imp8); |
| | | } |
| | | |
| | | if (type == typeof(TestOutDelegate)) |
| | | { |
| | | return new TestOutDelegate(__Gen_Delegate_Imp9); |
| | | return new UnityEngine.Events.UnityAction(__Gen_Delegate_Imp8); |
| | | } |
| | | |
| | | if (type == typeof(System.Func<double, double, double>)) |
| | | { |
| | | return new System.Func<double, double, double>(__Gen_Delegate_Imp10); |
| | | return new System.Func<double, double, double>(__Gen_Delegate_Imp9); |
| | | } |
| | | |
| | | if (type == typeof(System.Action<string>)) |
| | | { |
| | | return new System.Action<string>(__Gen_Delegate_Imp11); |
| | | return new System.Action<string>(__Gen_Delegate_Imp10); |
| | | } |
| | | |
| | | if (type == typeof(System.Action<double>)) |
| | | { |
| | | return new System.Action<double>(__Gen_Delegate_Imp12); |
| | | return new System.Action<double>(__Gen_Delegate_Imp11); |
| | | } |
| | | |
| | | if (type == typeof(CSCallLua.FDelegate)) |
| | | { |
| | | return new CSCallLua.FDelegate(__Gen_Delegate_Imp13); |
| | | return new CSCallLua.FDelegate(__Gen_Delegate_Imp12); |
| | | } |
| | | |
| | | if (type == typeof(CSCallLua.GetE)) |
| | | { |
| | | return new CSCallLua.GetE(__Gen_Delegate_Imp14); |
| | | return new CSCallLua.GetE(__Gen_Delegate_Imp13); |
| | | } |
| | | |
| | | return null; |