//this source code was auto-generated by tolua#, do not modify it using System; using LuaInterface; public class Vuplex_WebView_WentingCanvasWebVewPrefabWrap { public static void Register(LuaState L) { L.BeginClass(typeof(Vuplex.WebView.WentingCanvasWebVewPrefab), typeof(Vuplex.WebView.BaseWebViewPrefab)); L.RegFunction("Init", Init); L.RegFunction("ResetSize", ResetSize); L.RegFunction("__eq", op_Equality); L.RegFunction("__tostring", ToLua.op_ToString); L.RegVar("ScrollingSensitivity", get_ScrollingSensitivity, set_ScrollingSensitivity); L.RegVar("RenderImageScale", get_RenderImageScale, set_RenderImageScale); L.EndClass(); } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int Init(IntPtr L) { try { int count = LuaDLL.lua_gettop(L); if (count == 4) { Vuplex.WebView.WentingCanvasWebVewPrefab obj = (Vuplex.WebView.WentingCanvasWebVewPrefab)ToLua.CheckObject(L, 1); float arg0 = (float)LuaDLL.luaL_checknumber(L, 2); float arg1 = (float)LuaDLL.luaL_checknumber(L, 3); float arg2 = (float)LuaDLL.luaL_checknumber(L, 4); obj.Init(arg0, arg1, arg2); return 0; } else if (count == 5) { Vuplex.WebView.WentingCanvasWebVewPrefab obj = (Vuplex.WebView.WentingCanvasWebVewPrefab)ToLua.CheckObject(L, 1); float arg0 = (float)LuaDLL.luaL_checknumber(L, 2); float arg1 = (float)LuaDLL.luaL_checknumber(L, 3); float arg2 = (float)LuaDLL.luaL_checknumber(L, 4); Vuplex.WebView.WebViewOptions arg3 = StackTraits.Check(L, 5); obj.Init(arg0, arg1, arg2, arg3); return 0; } else if (count == 6) { Vuplex.WebView.WentingCanvasWebVewPrefab obj = (Vuplex.WebView.WentingCanvasWebVewPrefab)ToLua.CheckObject(L, 1); float arg0 = (float)LuaDLL.luaL_checknumber(L, 2); float arg1 = (float)LuaDLL.luaL_checknumber(L, 3); float arg2 = (float)LuaDLL.luaL_checknumber(L, 4); Vuplex.WebView.WebViewOptions arg3 = StackTraits.Check(L, 5); Vuplex.WebView.IWebView arg4 = (Vuplex.WebView.IWebView)ToLua.CheckObject(L, 6); obj.Init(arg0, arg1, arg2, arg3, arg4); return 0; } else { return LuaDLL.luaL_throw(L, "invalid arguments to method: Vuplex.WebView.WentingCanvasWebVewPrefab.Init"); } } catch (Exception e) { return LuaDLL.toluaL_exception(L, e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int ResetSize(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); Vuplex.WebView.WentingCanvasWebVewPrefab obj = (Vuplex.WebView.WentingCanvasWebVewPrefab)ToLua.CheckObject(L, 1); obj.ResetSize(); return 0; } catch (Exception e) { return LuaDLL.toluaL_exception(L, e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int op_Equality(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); UnityEngine.Object arg0 = (UnityEngine.Object)ToLua.ToObject(L, 1); UnityEngine.Object arg1 = (UnityEngine.Object)ToLua.ToObject(L, 2); bool o = arg0 == arg1; LuaDLL.lua_pushboolean(L, o); return 1; } catch (Exception e) { return LuaDLL.toluaL_exception(L, e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int get_ScrollingSensitivity(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); Vuplex.WebView.WentingCanvasWebVewPrefab obj = (Vuplex.WebView.WentingCanvasWebVewPrefab)o; float ret = obj.ScrollingSensitivity; LuaDLL.lua_pushnumber(L, ret); return 1; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index ScrollingSensitivity on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int get_RenderImageScale(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); Vuplex.WebView.WentingCanvasWebVewPrefab obj = (Vuplex.WebView.WentingCanvasWebVewPrefab)o; float ret = obj.RenderImageScale; LuaDLL.lua_pushnumber(L, ret); return 1; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index RenderImageScale on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int set_ScrollingSensitivity(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); Vuplex.WebView.WentingCanvasWebVewPrefab obj = (Vuplex.WebView.WentingCanvasWebVewPrefab)o; float arg0 = (float)LuaDLL.luaL_checknumber(L, 2); obj.ScrollingSensitivity = arg0; return 0; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index ScrollingSensitivity on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int set_RenderImageScale(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); Vuplex.WebView.WentingCanvasWebVewPrefab obj = (Vuplex.WebView.WentingCanvasWebVewPrefab)o; float arg0 = (float)LuaDLL.luaL_checknumber(L, 2); obj.RenderImageScale = arg0; return 0; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index RenderImageScale on a nil value"); } } }