static int get_waypointRotation(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            SWS.splineMove obj = (SWS.splineMove)o;
            SWS.splineMove.RotationType ret = obj.waypointRotation;
            ToLua.Push(L, ret);
            return(1);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o, "attempt to index waypointRotation on a nil value"));
        }
    }
    static int set_waypointRotation(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            SWS.splineMove obj = (SWS.splineMove)o;
            SWS.splineMove.RotationType arg0 = (SWS.splineMove.RotationType)ToLua.CheckObject(L, 2, typeof(SWS.splineMove.RotationType));
            obj.waypointRotation = arg0;
            return(0);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o, "attempt to index waypointRotation on a nil value"));
        }
    }