//this source code was auto-generated by tolua#, do not modify it using System; using LuaInterface; public class Vuplex_WebView_BaseWebViewWrap { public static void Register(LuaState L) { L.BeginClass(typeof(Vuplex.WebView.BaseWebView), typeof(UnityEngine.MonoBehaviour), "BaseWebView"); L.RegFunction("Init", Init); L.RegFunction("Blur", Blur); L.RegFunction("CanGoBack", CanGoBack); L.RegFunction("CanGoForward", CanGoForward); L.RegFunction("CaptureScreenshot", CaptureScreenshot); L.RegFunction("Click", Click); L.RegFunction("ClearAllData", ClearAllData); L.RegFunction("CreateTexture", CreateTexture); L.RegFunction("Copy", Copy); L.RegFunction("Cut", Cut); L.RegFunction("DisableViewUpdates", DisableViewUpdates); L.RegFunction("Dispose", Dispose); L.RegFunction("EnableViewUpdates", EnableViewUpdates); L.RegFunction("ExecuteJavaScript", ExecuteJavaScript); L.RegFunction("Focus", Focus); L.RegFunction("GetRawTextureData", GetRawTextureData); L.RegFunction("GloballySetUserAgent", GloballySetUserAgent); L.RegFunction("GoBack", GoBack); L.RegFunction("GoForward", GoForward); L.RegFunction("HandleKeyboardInput", HandleKeyboardInput); L.RegFunction("LoadHtml", LoadHtml); L.RegFunction("LoadUrl", LoadUrl); L.RegFunction("Paste", Paste); L.RegFunction("PostMessage", PostMessage); L.RegFunction("Reload", Reload); L.RegFunction("Resize", Resize); L.RegFunction("Scroll", Scroll); L.RegFunction("SelectAll", SelectAll); L.RegFunction("SetResolution", SetResolution); L.RegFunction("SetStorageEnabled", SetStorageEnabled); L.RegFunction("ZoomIn", ZoomIn); L.RegFunction("ZoomOut", ZoomOut); L.RegFunction("__eq", op_Equality); L.RegFunction("__tostring", ToLua.op_ToString); L.RegVar("IsDisposed", get_IsDisposed, null); L.RegVar("IsInitialized", get_IsInitialized, null); L.RegVar("PageLoadScripts", get_PageLoadScripts, null); L.RegVar("Resolution", get_Resolution, null); L.RegVar("Size", get_Size, null); L.RegVar("SizeInPixels", get_SizeInPixels, null); L.RegVar("Texture", get_Texture, null); L.RegVar("Url", get_Url, null); L.RegVar("VideoTexture", get_VideoTexture, null); L.RegVar("CloseRequested", get_CloseRequested, set_CloseRequested); L.RegVar("ConsoleMessageLogged", get_ConsoleMessageLogged, set_ConsoleMessageLogged); L.RegVar("FocusedInputFieldChanged", get_FocusedInputFieldChanged, set_FocusedInputFieldChanged); L.RegVar("LoadProgressChanged", get_LoadProgressChanged, set_LoadProgressChanged); L.RegVar("MessageEmitted", get_MessageEmitted, set_MessageEmitted); L.RegVar("PageLoadFailed", get_PageLoadFailed, set_PageLoadFailed); L.RegVar("TitleChanged", get_TitleChanged, set_TitleChanged); L.RegVar("UrlChanged", get_UrlChanged, set_UrlChanged); L.RegVar("VideoRectChanged", get_VideoRectChanged, set_VideoRectChanged); L.EndClass(); } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int Init(IntPtr L) { try { int count = LuaDLL.lua_gettop(L); if (count == 4) { Vuplex.WebView.BaseWebView obj = (Vuplex.WebView.BaseWebView)ToLua.CheckObject(L, 1); UnityEngine.Texture2D arg0 = (UnityEngine.Texture2D)ToLua.CheckObject(L, 2, typeof(UnityEngine.Texture2D)); 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.BaseWebView obj = (Vuplex.WebView.BaseWebView)ToLua.CheckObject(L, 1); UnityEngine.Texture2D arg0 = (UnityEngine.Texture2D)ToLua.CheckObject(L, 2, typeof(UnityEngine.Texture2D)); float arg1 = (float)LuaDLL.luaL_checknumber(L, 3); float arg2 = (float)LuaDLL.luaL_checknumber(L, 4); UnityEngine.Texture2D arg3 = (UnityEngine.Texture2D)ToLua.CheckObject(L, 5, typeof(UnityEngine.Texture2D)); obj.Init(arg0, arg1, arg2, arg3); return 0; } else { return LuaDLL.luaL_throw(L, "invalid arguments to method: Vuplex.WebView.BaseWebView.Init"); } } catch (Exception e) { return LuaDLL.toluaL_exception(L, e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int Blur(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); Vuplex.WebView.BaseWebView obj = (Vuplex.WebView.BaseWebView)ToLua.CheckObject(L, 1); obj.Blur(); return 0; } catch (Exception e) { return LuaDLL.toluaL_exception(L, e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int CanGoBack(IntPtr L) { try { int count = LuaDLL.lua_gettop(L); if (count == 1) { Vuplex.WebView.BaseWebView obj = (Vuplex.WebView.BaseWebView)ToLua.CheckObject(L, 1); System.Threading.Tasks.Task o = obj.CanGoBack(); ToLua.PushObject(L, o); return 1; } else if (count == 2) { Vuplex.WebView.BaseWebView obj = (Vuplex.WebView.BaseWebView)ToLua.CheckObject(L, 1); System.Action arg0 = (System.Action)ToLua.CheckDelegate>(L, 2); obj.CanGoBack(arg0); return 0; } else { return LuaDLL.luaL_throw(L, "invalid arguments to method: Vuplex.WebView.BaseWebView.CanGoBack"); } } catch (Exception e) { return LuaDLL.toluaL_exception(L, e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int CanGoForward(IntPtr L) { try { int count = LuaDLL.lua_gettop(L); if (count == 1) { Vuplex.WebView.BaseWebView obj = (Vuplex.WebView.BaseWebView)ToLua.CheckObject(L, 1); System.Threading.Tasks.Task o = obj.CanGoForward(); ToLua.PushObject(L, o); return 1; } else if (count == 2) { Vuplex.WebView.BaseWebView obj = (Vuplex.WebView.BaseWebView)ToLua.CheckObject(L, 1); System.Action arg0 = (System.Action)ToLua.CheckDelegate>(L, 2); obj.CanGoForward(arg0); return 0; } else { return LuaDLL.luaL_throw(L, "invalid arguments to method: Vuplex.WebView.BaseWebView.CanGoForward"); } } catch (Exception e) { return LuaDLL.toluaL_exception(L, e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int CaptureScreenshot(IntPtr L) { try { int count = LuaDLL.lua_gettop(L); if (count == 1) { Vuplex.WebView.BaseWebView obj = (Vuplex.WebView.BaseWebView)ToLua.CheckObject(L, 1); System.Threading.Tasks.Task o = obj.CaptureScreenshot(); ToLua.PushObject(L, o); return 1; } else if (count == 2) { Vuplex.WebView.BaseWebView obj = (Vuplex.WebView.BaseWebView)ToLua.CheckObject(L, 1); System.Action arg0 = (System.Action)ToLua.CheckDelegate>(L, 2); obj.CaptureScreenshot(arg0); return 0; } else { return LuaDLL.luaL_throw(L, "invalid arguments to method: Vuplex.WebView.BaseWebView.CaptureScreenshot"); } } catch (Exception e) { return LuaDLL.toluaL_exception(L, e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int Click(IntPtr L) { try { int count = LuaDLL.lua_gettop(L); if (count == 2) { Vuplex.WebView.BaseWebView obj = (Vuplex.WebView.BaseWebView)ToLua.CheckObject(L, 1); UnityEngine.Vector2 arg0 = ToLua.ToVector2(L, 2); obj.Click(arg0); return 0; } else if (count == 3) { Vuplex.WebView.BaseWebView obj = (Vuplex.WebView.BaseWebView)ToLua.CheckObject(L, 1); UnityEngine.Vector2 arg0 = ToLua.ToVector2(L, 2); bool arg1 = LuaDLL.luaL_checkboolean(L, 3); obj.Click(arg0, arg1); return 0; } else { return LuaDLL.luaL_throw(L, "invalid arguments to method: Vuplex.WebView.BaseWebView.Click"); } } catch (Exception e) { return LuaDLL.toluaL_exception(L, e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int ClearAllData(IntPtr L) { try { ToLua.CheckArgsCount(L, 0); Vuplex.WebView.BaseWebView.ClearAllData(); return 0; } catch (Exception e) { return LuaDLL.toluaL_exception(L, e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int CreateTexture(IntPtr L) { try { ToLua.CheckArgsCount(L, 3); float arg0 = (float)LuaDLL.luaL_checknumber(L, 1); float arg1 = (float)LuaDLL.luaL_checknumber(L, 2); System.Action arg2 = (System.Action)ToLua.CheckDelegate>(L, 3); Vuplex.WebView.BaseWebView.CreateTexture(arg0, arg1, arg2); return 0; } catch (Exception e) { return LuaDLL.toluaL_exception(L, e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int Copy(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); Vuplex.WebView.BaseWebView obj = (Vuplex.WebView.BaseWebView)ToLua.CheckObject(L, 1); obj.Copy(); return 0; } catch (Exception e) { return LuaDLL.toluaL_exception(L, e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int Cut(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); Vuplex.WebView.BaseWebView obj = (Vuplex.WebView.BaseWebView)ToLua.CheckObject(L, 1); obj.Cut(); return 0; } catch (Exception e) { return LuaDLL.toluaL_exception(L, e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int DisableViewUpdates(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); Vuplex.WebView.BaseWebView obj = (Vuplex.WebView.BaseWebView)ToLua.CheckObject(L, 1); obj.DisableViewUpdates(); return 0; } catch (Exception e) { return LuaDLL.toluaL_exception(L, e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int Dispose(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); Vuplex.WebView.BaseWebView obj = (Vuplex.WebView.BaseWebView)ToLua.CheckObject(L, 1); obj.Dispose(); return 0; } catch (Exception e) { return LuaDLL.toluaL_exception(L, e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int EnableViewUpdates(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); Vuplex.WebView.BaseWebView obj = (Vuplex.WebView.BaseWebView)ToLua.CheckObject(L, 1); obj.EnableViewUpdates(); return 0; } catch (Exception e) { return LuaDLL.toluaL_exception(L, e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int ExecuteJavaScript(IntPtr L) { try { int count = LuaDLL.lua_gettop(L); if (count == 2) { Vuplex.WebView.BaseWebView obj = (Vuplex.WebView.BaseWebView)ToLua.CheckObject(L, 1); string arg0 = ToLua.CheckString(L, 2); System.Threading.Tasks.Task o = obj.ExecuteJavaScript(arg0); ToLua.PushObject(L, o); return 1; } else if (count == 3) { Vuplex.WebView.BaseWebView obj = (Vuplex.WebView.BaseWebView)ToLua.CheckObject(L, 1); string arg0 = ToLua.CheckString(L, 2); System.Action arg1 = (System.Action)ToLua.CheckDelegate>(L, 3); obj.ExecuteJavaScript(arg0, arg1); return 0; } else { return LuaDLL.luaL_throw(L, "invalid arguments to method: Vuplex.WebView.BaseWebView.ExecuteJavaScript"); } } catch (Exception e) { return LuaDLL.toluaL_exception(L, e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int Focus(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); Vuplex.WebView.BaseWebView obj = (Vuplex.WebView.BaseWebView)ToLua.CheckObject(L, 1); obj.Focus(); return 0; } catch (Exception e) { return LuaDLL.toluaL_exception(L, e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int GetRawTextureData(IntPtr L) { try { int count = LuaDLL.lua_gettop(L); if (count == 1) { Vuplex.WebView.BaseWebView obj = (Vuplex.WebView.BaseWebView)ToLua.CheckObject(L, 1); System.Threading.Tasks.Task o = obj.GetRawTextureData(); ToLua.PushObject(L, o); return 1; } else if (count == 2) { Vuplex.WebView.BaseWebView obj = (Vuplex.WebView.BaseWebView)ToLua.CheckObject(L, 1); System.Action arg0 = (System.Action)ToLua.CheckDelegate>(L, 2); obj.GetRawTextureData(arg0); return 0; } else { return LuaDLL.luaL_throw(L, "invalid arguments to method: Vuplex.WebView.BaseWebView.GetRawTextureData"); } } catch (Exception e) { return LuaDLL.toluaL_exception(L, e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int GloballySetUserAgent(IntPtr L) { try { int count = LuaDLL.lua_gettop(L); if (count == 1 && TypeChecker.CheckTypes(L, 1)) { bool arg0 = LuaDLL.lua_toboolean(L, 1); Vuplex.WebView.BaseWebView.GloballySetUserAgent(arg0); return 0; } else if (count == 1 && TypeChecker.CheckTypes(L, 1)) { string arg0 = ToLua.ToString(L, 1); Vuplex.WebView.BaseWebView.GloballySetUserAgent(arg0); return 0; } else { return LuaDLL.luaL_throw(L, "invalid arguments to method: Vuplex.WebView.BaseWebView.GloballySetUserAgent"); } } catch (Exception e) { return LuaDLL.toluaL_exception(L, e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int GoBack(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); Vuplex.WebView.BaseWebView obj = (Vuplex.WebView.BaseWebView)ToLua.CheckObject(L, 1); obj.GoBack(); return 0; } catch (Exception e) { return LuaDLL.toluaL_exception(L, e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int GoForward(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); Vuplex.WebView.BaseWebView obj = (Vuplex.WebView.BaseWebView)ToLua.CheckObject(L, 1); obj.GoForward(); return 0; } catch (Exception e) { return LuaDLL.toluaL_exception(L, e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int HandleKeyboardInput(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); Vuplex.WebView.BaseWebView obj = (Vuplex.WebView.BaseWebView)ToLua.CheckObject(L, 1); string arg0 = ToLua.CheckString(L, 2); obj.HandleKeyboardInput(arg0); return 0; } catch (Exception e) { return LuaDLL.toluaL_exception(L, e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int LoadHtml(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); Vuplex.WebView.BaseWebView obj = (Vuplex.WebView.BaseWebView)ToLua.CheckObject(L, 1); string arg0 = ToLua.CheckString(L, 2); obj.LoadHtml(arg0); return 0; } catch (Exception e) { return LuaDLL.toluaL_exception(L, e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int LoadUrl(IntPtr L) { try { int count = LuaDLL.lua_gettop(L); if (count == 2) { Vuplex.WebView.BaseWebView obj = (Vuplex.WebView.BaseWebView)ToLua.CheckObject(L, 1); string arg0 = ToLua.CheckString(L, 2); obj.LoadUrl(arg0); return 0; } else if (count == 3) { Vuplex.WebView.BaseWebView obj = (Vuplex.WebView.BaseWebView)ToLua.CheckObject(L, 1); string arg0 = ToLua.CheckString(L, 2); System.Collections.Generic.Dictionary arg1 = (System.Collections.Generic.Dictionary)ToLua.CheckObject(L, 3, typeof(System.Collections.Generic.Dictionary)); obj.LoadUrl(arg0, arg1); return 0; } else { return LuaDLL.luaL_throw(L, "invalid arguments to method: Vuplex.WebView.BaseWebView.LoadUrl"); } } catch (Exception e) { return LuaDLL.toluaL_exception(L, e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int Paste(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); Vuplex.WebView.BaseWebView obj = (Vuplex.WebView.BaseWebView)ToLua.CheckObject(L, 1); obj.Paste(); return 0; } catch (Exception e) { return LuaDLL.toluaL_exception(L, e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int PostMessage(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); Vuplex.WebView.BaseWebView obj = (Vuplex.WebView.BaseWebView)ToLua.CheckObject(L, 1); string arg0 = ToLua.CheckString(L, 2); obj.PostMessage(arg0); return 0; } catch (Exception e) { return LuaDLL.toluaL_exception(L, e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int Reload(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); Vuplex.WebView.BaseWebView obj = (Vuplex.WebView.BaseWebView)ToLua.CheckObject(L, 1); obj.Reload(); return 0; } catch (Exception e) { return LuaDLL.toluaL_exception(L, e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int Resize(IntPtr L) { try { ToLua.CheckArgsCount(L, 3); Vuplex.WebView.BaseWebView obj = (Vuplex.WebView.BaseWebView)ToLua.CheckObject(L, 1); float arg0 = (float)LuaDLL.luaL_checknumber(L, 2); float arg1 = (float)LuaDLL.luaL_checknumber(L, 3); obj.Resize(arg0, arg1); return 0; } catch (Exception e) { return LuaDLL.toluaL_exception(L, e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int Scroll(IntPtr L) { try { int count = LuaDLL.lua_gettop(L); if (count == 2) { Vuplex.WebView.BaseWebView obj = (Vuplex.WebView.BaseWebView)ToLua.CheckObject(L, 1); UnityEngine.Vector2 arg0 = ToLua.ToVector2(L, 2); obj.Scroll(arg0); return 0; } else if (count == 3) { Vuplex.WebView.BaseWebView obj = (Vuplex.WebView.BaseWebView)ToLua.CheckObject(L, 1); UnityEngine.Vector2 arg0 = ToLua.ToVector2(L, 2); UnityEngine.Vector2 arg1 = ToLua.ToVector2(L, 3); obj.Scroll(arg0, arg1); return 0; } else { return LuaDLL.luaL_throw(L, "invalid arguments to method: Vuplex.WebView.BaseWebView.Scroll"); } } catch (Exception e) { return LuaDLL.toluaL_exception(L, e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int SelectAll(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); Vuplex.WebView.BaseWebView obj = (Vuplex.WebView.BaseWebView)ToLua.CheckObject(L, 1); obj.SelectAll(); return 0; } catch (Exception e) { return LuaDLL.toluaL_exception(L, e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int SetResolution(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); Vuplex.WebView.BaseWebView obj = (Vuplex.WebView.BaseWebView)ToLua.CheckObject(L, 1); float arg0 = (float)LuaDLL.luaL_checknumber(L, 2); obj.SetResolution(arg0); return 0; } catch (Exception e) { return LuaDLL.toluaL_exception(L, e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int SetStorageEnabled(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); bool arg0 = LuaDLL.luaL_checkboolean(L, 1); Vuplex.WebView.BaseWebView.SetStorageEnabled(arg0); return 0; } catch (Exception e) { return LuaDLL.toluaL_exception(L, e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int ZoomIn(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); Vuplex.WebView.BaseWebView obj = (Vuplex.WebView.BaseWebView)ToLua.CheckObject(L, 1); obj.ZoomIn(); return 0; } catch (Exception e) { return LuaDLL.toluaL_exception(L, e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int ZoomOut(IntPtr L) { try { ToLua.CheckArgsCount(L, 1); Vuplex.WebView.BaseWebView obj = (Vuplex.WebView.BaseWebView)ToLua.CheckObject(L, 1); obj.ZoomOut(); 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_IsDisposed(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); Vuplex.WebView.BaseWebView obj = (Vuplex.WebView.BaseWebView)o; bool ret = obj.IsDisposed; LuaDLL.lua_pushboolean(L, ret); return 1; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index IsDisposed on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int get_IsInitialized(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); Vuplex.WebView.BaseWebView obj = (Vuplex.WebView.BaseWebView)o; bool ret = obj.IsInitialized; LuaDLL.lua_pushboolean(L, ret); return 1; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index IsInitialized on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int get_PageLoadScripts(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); Vuplex.WebView.BaseWebView obj = (Vuplex.WebView.BaseWebView)o; System.Collections.Generic.List ret = obj.PageLoadScripts; ToLua.PushSealed(L, ret); return 1; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index PageLoadScripts on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int get_Resolution(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); Vuplex.WebView.BaseWebView obj = (Vuplex.WebView.BaseWebView)o; float ret = obj.Resolution; LuaDLL.lua_pushnumber(L, ret); return 1; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index Resolution on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int get_Size(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); Vuplex.WebView.BaseWebView obj = (Vuplex.WebView.BaseWebView)o; UnityEngine.Vector2 ret = obj.Size; ToLua.Push(L, ret); return 1; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index Size on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int get_SizeInPixels(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); Vuplex.WebView.BaseWebView obj = (Vuplex.WebView.BaseWebView)o; UnityEngine.Vector2 ret = obj.SizeInPixels; ToLua.Push(L, ret); return 1; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index SizeInPixels on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int get_Texture(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); Vuplex.WebView.BaseWebView obj = (Vuplex.WebView.BaseWebView)o; UnityEngine.Texture2D ret = obj.Texture; ToLua.PushSealed(L, ret); return 1; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index Texture on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int get_Url(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); Vuplex.WebView.BaseWebView obj = (Vuplex.WebView.BaseWebView)o; string ret = obj.Url; LuaDLL.lua_pushstring(L, ret); return 1; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index Url on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int get_VideoTexture(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); Vuplex.WebView.BaseWebView obj = (Vuplex.WebView.BaseWebView)o; UnityEngine.Texture2D ret = obj.VideoTexture; ToLua.PushSealed(L, ret); return 1; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index VideoTexture on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int get_CloseRequested(IntPtr L) { ToLua.Push(L, new EventObject(typeof(System.EventHandler))); return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int get_ConsoleMessageLogged(IntPtr L) { ToLua.Push(L, new EventObject(typeof(System.EventHandler))); return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int get_FocusedInputFieldChanged(IntPtr L) { ToLua.Push(L, new EventObject(typeof(System.EventHandler))); return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int get_LoadProgressChanged(IntPtr L) { ToLua.Push(L, new EventObject(typeof(System.EventHandler))); return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int get_MessageEmitted(IntPtr L) { ToLua.Push(L, new EventObject(typeof(System.EventHandler>))); return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int get_PageLoadFailed(IntPtr L) { ToLua.Push(L, new EventObject(typeof(System.EventHandler))); return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int get_TitleChanged(IntPtr L) { ToLua.Push(L, new EventObject(typeof(System.EventHandler>))); return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int get_UrlChanged(IntPtr L) { ToLua.Push(L, new EventObject(typeof(System.EventHandler))); return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int get_VideoRectChanged(IntPtr L) { ToLua.Push(L, new EventObject(typeof(System.EventHandler>))); return 1; } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int set_CloseRequested(IntPtr L) { try { Vuplex.WebView.BaseWebView obj = (Vuplex.WebView.BaseWebView)ToLua.CheckObject(L, 1, typeof(Vuplex.WebView.BaseWebView)); EventObject arg0 = null; if (LuaDLL.lua_isuserdata(L, 2) != 0) { arg0 = (EventObject)ToLua.ToObject(L, 2); } else { return LuaDLL.luaL_throw(L, "The event 'Vuplex.WebView.BaseWebView.CloseRequested' can only appear on the left hand side of += or -= when used outside of the type 'Vuplex.WebView.BaseWebView'"); } if (arg0.op == EventOp.Add) { System.EventHandler ev = (System.EventHandler)arg0.func; obj.CloseRequested += ev; } else if (arg0.op == EventOp.Sub) { System.EventHandler ev = (System.EventHandler)arg0.func; obj.CloseRequested -= ev; } return 0; } catch (Exception e) { return LuaDLL.toluaL_exception(L, e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int set_ConsoleMessageLogged(IntPtr L) { try { Vuplex.WebView.BaseWebView obj = (Vuplex.WebView.BaseWebView)ToLua.CheckObject(L, 1, typeof(Vuplex.WebView.BaseWebView)); EventObject arg0 = null; if (LuaDLL.lua_isuserdata(L, 2) != 0) { arg0 = (EventObject)ToLua.ToObject(L, 2); } else { return LuaDLL.luaL_throw(L, "The event 'Vuplex.WebView.BaseWebView.ConsoleMessageLogged' can only appear on the left hand side of += or -= when used outside of the type 'Vuplex.WebView.BaseWebView'"); } if (arg0.op == EventOp.Add) { System.EventHandler ev = (System.EventHandler)arg0.func; obj.ConsoleMessageLogged += ev; } else if (arg0.op == EventOp.Sub) { System.EventHandler ev = (System.EventHandler)arg0.func; obj.ConsoleMessageLogged -= ev; } return 0; } catch (Exception e) { return LuaDLL.toluaL_exception(L, e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int set_FocusedInputFieldChanged(IntPtr L) { try { Vuplex.WebView.BaseWebView obj = (Vuplex.WebView.BaseWebView)ToLua.CheckObject(L, 1, typeof(Vuplex.WebView.BaseWebView)); EventObject arg0 = null; if (LuaDLL.lua_isuserdata(L, 2) != 0) { arg0 = (EventObject)ToLua.ToObject(L, 2); } else { return LuaDLL.luaL_throw(L, "The event 'Vuplex.WebView.BaseWebView.FocusedInputFieldChanged' can only appear on the left hand side of += or -= when used outside of the type 'Vuplex.WebView.BaseWebView'"); } if (arg0.op == EventOp.Add) { System.EventHandler ev = (System.EventHandler)arg0.func; obj.FocusedInputFieldChanged += ev; } else if (arg0.op == EventOp.Sub) { System.EventHandler ev = (System.EventHandler)arg0.func; obj.FocusedInputFieldChanged -= ev; } return 0; } catch (Exception e) { return LuaDLL.toluaL_exception(L, e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int set_LoadProgressChanged(IntPtr L) { try { Vuplex.WebView.BaseWebView obj = (Vuplex.WebView.BaseWebView)ToLua.CheckObject(L, 1, typeof(Vuplex.WebView.BaseWebView)); EventObject arg0 = null; if (LuaDLL.lua_isuserdata(L, 2) != 0) { arg0 = (EventObject)ToLua.ToObject(L, 2); } else { return LuaDLL.luaL_throw(L, "The event 'Vuplex.WebView.BaseWebView.LoadProgressChanged' can only appear on the left hand side of += or -= when used outside of the type 'Vuplex.WebView.BaseWebView'"); } if (arg0.op == EventOp.Add) { System.EventHandler ev = (System.EventHandler)arg0.func; obj.LoadProgressChanged += ev; } else if (arg0.op == EventOp.Sub) { System.EventHandler ev = (System.EventHandler)arg0.func; obj.LoadProgressChanged -= ev; } return 0; } catch (Exception e) { return LuaDLL.toluaL_exception(L, e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int set_MessageEmitted(IntPtr L) { try { Vuplex.WebView.BaseWebView obj = (Vuplex.WebView.BaseWebView)ToLua.CheckObject(L, 1, typeof(Vuplex.WebView.BaseWebView)); EventObject arg0 = null; if (LuaDLL.lua_isuserdata(L, 2) != 0) { arg0 = (EventObject)ToLua.ToObject(L, 2); } else { return LuaDLL.luaL_throw(L, "The event 'Vuplex.WebView.BaseWebView.MessageEmitted' can only appear on the left hand side of += or -= when used outside of the type 'Vuplex.WebView.BaseWebView'"); } if (arg0.op == EventOp.Add) { System.EventHandler> ev = (System.EventHandler>)arg0.func; obj.MessageEmitted += ev; } else if (arg0.op == EventOp.Sub) { System.EventHandler> ev = (System.EventHandler>)arg0.func; obj.MessageEmitted -= ev; } return 0; } catch (Exception e) { return LuaDLL.toluaL_exception(L, e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int set_PageLoadFailed(IntPtr L) { try { Vuplex.WebView.BaseWebView obj = (Vuplex.WebView.BaseWebView)ToLua.CheckObject(L, 1, typeof(Vuplex.WebView.BaseWebView)); EventObject arg0 = null; if (LuaDLL.lua_isuserdata(L, 2) != 0) { arg0 = (EventObject)ToLua.ToObject(L, 2); } else { return LuaDLL.luaL_throw(L, "The event 'Vuplex.WebView.BaseWebView.PageLoadFailed' can only appear on the left hand side of += or -= when used outside of the type 'Vuplex.WebView.BaseWebView'"); } if (arg0.op == EventOp.Add) { System.EventHandler ev = (System.EventHandler)arg0.func; obj.PageLoadFailed += ev; } else if (arg0.op == EventOp.Sub) { System.EventHandler ev = (System.EventHandler)arg0.func; obj.PageLoadFailed -= ev; } return 0; } catch (Exception e) { return LuaDLL.toluaL_exception(L, e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int set_TitleChanged(IntPtr L) { try { Vuplex.WebView.BaseWebView obj = (Vuplex.WebView.BaseWebView)ToLua.CheckObject(L, 1, typeof(Vuplex.WebView.BaseWebView)); EventObject arg0 = null; if (LuaDLL.lua_isuserdata(L, 2) != 0) { arg0 = (EventObject)ToLua.ToObject(L, 2); } else { return LuaDLL.luaL_throw(L, "The event 'Vuplex.WebView.BaseWebView.TitleChanged' can only appear on the left hand side of += or -= when used outside of the type 'Vuplex.WebView.BaseWebView'"); } if (arg0.op == EventOp.Add) { System.EventHandler> ev = (System.EventHandler>)arg0.func; obj.TitleChanged += ev; } else if (arg0.op == EventOp.Sub) { System.EventHandler> ev = (System.EventHandler>)arg0.func; obj.TitleChanged -= ev; } return 0; } catch (Exception e) { return LuaDLL.toluaL_exception(L, e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int set_UrlChanged(IntPtr L) { try { Vuplex.WebView.BaseWebView obj = (Vuplex.WebView.BaseWebView)ToLua.CheckObject(L, 1, typeof(Vuplex.WebView.BaseWebView)); EventObject arg0 = null; if (LuaDLL.lua_isuserdata(L, 2) != 0) { arg0 = (EventObject)ToLua.ToObject(L, 2); } else { return LuaDLL.luaL_throw(L, "The event 'Vuplex.WebView.BaseWebView.UrlChanged' can only appear on the left hand side of += or -= when used outside of the type 'Vuplex.WebView.BaseWebView'"); } if (arg0.op == EventOp.Add) { System.EventHandler ev = (System.EventHandler)arg0.func; obj.UrlChanged += ev; } else if (arg0.op == EventOp.Sub) { System.EventHandler ev = (System.EventHandler)arg0.func; obj.UrlChanged -= ev; } return 0; } catch (Exception e) { return LuaDLL.toluaL_exception(L, e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int set_VideoRectChanged(IntPtr L) { try { Vuplex.WebView.BaseWebView obj = (Vuplex.WebView.BaseWebView)ToLua.CheckObject(L, 1, typeof(Vuplex.WebView.BaseWebView)); EventObject arg0 = null; if (LuaDLL.lua_isuserdata(L, 2) != 0) { arg0 = (EventObject)ToLua.ToObject(L, 2); } else { return LuaDLL.luaL_throw(L, "The event 'Vuplex.WebView.BaseWebView.VideoRectChanged' can only appear on the left hand side of += or -= when used outside of the type 'Vuplex.WebView.BaseWebView'"); } if (arg0.op == EventOp.Add) { System.EventHandler> ev = (System.EventHandler>)arg0.func; obj.VideoRectChanged += ev; } else if (arg0.op == EventOp.Sub) { System.EventHandler> ev = (System.EventHandler>)arg0.func; obj.VideoRectChanged -= ev; } return 0; } catch (Exception e) { return LuaDLL.toluaL_exception(L, e); } } }