public T4 Invoke(T1 arg0, T2 arg1, T3 arg2) { LuaAPI.PushLuaFunction(LuaEnv.L, reference); PushToLua(typeof(T1), arg0); PushToLua(typeof(T2), arg1); PushToLua(typeof(T3), arg2); LuaAPI.CallLuaFunction(LuaEnv.L, 3, 1); return(PopFromLua()); }
public System.Int32 Invoke_HotFix_Int32_Int32_Int32(HotFix arg0, System.Int32 arg1, System.Int32 arg2) { LuaAPI.PushLuaFunction(L, reference); LuaCallback.PushObject(L, arg0); LuaCallback.PushNumber(L, arg1); LuaCallback.PushNumber(L, arg2); LuaAPI.CallLuaFunction(L, 3, 1); System.Int32 arg3 = (System.Int32)LuaCallback.ToNumber(L, -1); return(arg3); }