| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- //this source code was auto-generated by tolua#, do not modify it
- using System;
- using LuaInterface;
- #if USE_WEB_VIEW_V
- public class Vuplex_WebView_DragModeWrap
- {
- public static void Register(LuaState L)
- {
- L.BeginEnum(typeof(Vuplex.WebView.DragMode));
- L.RegVar("DragToScroll", get_DragToScroll, null);
- L.RegVar("DragWithinPage", get_DragWithinPage, null);
- L.RegVar("Disabled", get_Disabled, null);
- L.RegFunction("IntToEnum", IntToEnum);
- L.EndEnum();
- TypeTraits<Vuplex.WebView.DragMode>.Check = CheckType;
- StackTraits<Vuplex.WebView.DragMode>.Push = Push;
- }
- static void Push(IntPtr L, Vuplex.WebView.DragMode arg)
- {
- ToLua.Push(L, arg);
- }
- static bool CheckType(IntPtr L, int pos)
- {
- return TypeChecker.CheckEnumType(typeof(Vuplex.WebView.DragMode), L, pos);
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_DragToScroll(IntPtr L)
- {
- ToLua.Push(L, Vuplex.WebView.DragMode.DragToScroll);
- return 1;
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_DragWithinPage(IntPtr L)
- {
- ToLua.Push(L, Vuplex.WebView.DragMode.DragWithinPage);
- return 1;
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_Disabled(IntPtr L)
- {
- ToLua.Push(L, Vuplex.WebView.DragMode.Disabled);
- return 1;
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int IntToEnum(IntPtr L)
- {
- int arg0 = (int)LuaDLL.lua_tonumber(L, 1);
- Vuplex.WebView.DragMode o = (Vuplex.WebView.DragMode)arg0;
- ToLua.Push(L, o);
- return 1;
- }
- }
- #endif
|