//this source code was auto-generated by tolua#, do not modify it using System; using LuaInterface; public class Vuplex_WebView_ScrolledEventArgsWrap { public static void Register(LuaState L) { L.BeginClass(typeof(Vuplex.WebView.ScrolledEventArgs), typeof(System.EventArgs), "ScrolledEventArgs"); L.RegFunction("New", _CreateVuplex_WebView_ScrolledEventArgs); L.RegFunction("__tostring", ToLua.op_ToString); L.RegVar("ScrollDelta", get_ScrollDelta, null); L.RegVar("Point", get_Point, null); L.EndClass(); } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int _CreateVuplex_WebView_ScrolledEventArgs(IntPtr L) { try { int count = LuaDLL.lua_gettop(L); if (count == 2) { UnityEngine.Vector2 arg0 = ToLua.ToVector2(L, 1); UnityEngine.Vector2 arg1 = ToLua.ToVector2(L, 2); Vuplex.WebView.ScrolledEventArgs obj = new Vuplex.WebView.ScrolledEventArgs(arg0, arg1); ToLua.PushObject(L, obj); return 1; } else { return LuaDLL.luaL_throw(L, "invalid arguments to ctor method: Vuplex.WebView.ScrolledEventArgs.New"); } } catch (Exception e) { return LuaDLL.toluaL_exception(L, e); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int get_ScrollDelta(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); Vuplex.WebView.ScrolledEventArgs obj = (Vuplex.WebView.ScrolledEventArgs)o; UnityEngine.Vector2 ret = obj.ScrollDelta; ToLua.Push(L, ret); return 1; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index ScrollDelta on a nil value"); } } [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))] static int get_Point(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); Vuplex.WebView.ScrolledEventArgs obj = (Vuplex.WebView.ScrolledEventArgs)o; UnityEngine.Vector2 ret = obj.Point; ToLua.Push(L, ret); return 1; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index Point on a nil value"); } } }