| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- //this source code was auto-generated by tolua#, do not modify it
- using System;
- using LuaInterface;
- public class DG_Tweening_PathModeWrap
- {
- public static void Register(LuaState L)
- {
- L.BeginEnum(typeof(DG.Tweening.PathMode));
- L.RegVar("Ignore", get_Ignore, null);
- L.RegVar("Full3D", get_Full3D, null);
- L.RegVar("TopDown2D", get_TopDown2D, null);
- L.RegVar("Sidescroller2D", get_Sidescroller2D, null);
- L.RegFunction("IntToEnum", IntToEnum);
- L.EndEnum();
- TypeTraits<DG.Tweening.PathMode>.Check = CheckType;
- StackTraits<DG.Tweening.PathMode>.Push = Push;
- }
- static void Push(IntPtr L, DG.Tweening.PathMode arg)
- {
- ToLua.Push(L, arg);
- }
- static bool CheckType(IntPtr L, int pos)
- {
- return TypeChecker.CheckEnumType(typeof(DG.Tweening.PathMode), L, pos);
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_Ignore(IntPtr L)
- {
- ToLua.Push(L, DG.Tweening.PathMode.Ignore);
- return 1;
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_Full3D(IntPtr L)
- {
- ToLua.Push(L, DG.Tweening.PathMode.Full3D);
- return 1;
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_TopDown2D(IntPtr L)
- {
- ToLua.Push(L, DG.Tweening.PathMode.TopDown2D);
- return 1;
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int get_Sidescroller2D(IntPtr L)
- {
- ToLua.Push(L, DG.Tweening.PathMode.Sidescroller2D);
- return 1;
- }
- [MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
- static int IntToEnum(IntPtr L)
- {
- int arg0 = (int)LuaDLL.lua_tonumber(L, 1);
- DG.Tweening.PathMode o = (DG.Tweening.PathMode)arg0;
- ToLua.Push(L, o);
- return 1;
- }
- }
|