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

        try
        {
            o = ToLua.ToObject(L, 1);
            SceneChangeRgn obj = (SceneChangeRgn)o;
            int            ret = obj.PreQuest;
            LuaDLL.lua_pushinteger(L, ret);
            return(1);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o, "attempt to index PreQuest on a nil value"));
        }
    }
    static int get_pos_y(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            SceneChangeRgn obj = (SceneChangeRgn)o;
            float          ret = obj.pos_y;
            LuaDLL.lua_pushnumber(L, ret);
            return(1);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o, "attempt to index pos_y on a nil value"));
        }
    }
    static int get_strScene(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            SceneChangeRgn obj = (SceneChangeRgn)o;
            string         ret = obj.strScene;
            LuaDLL.lua_pushstring(L, ret);
            return(1);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o, "attempt to index strScene on a nil value"));
        }
    }
    static int set_PreQuest(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            SceneChangeRgn obj  = (SceneChangeRgn)o;
            int            arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
            obj.PreQuest = arg0;
            return(0);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o, "attempt to index PreQuest on a nil value"));
        }
    }
    static int set_pos_y(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            SceneChangeRgn obj  = (SceneChangeRgn)o;
            float          arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
            obj.pos_y = arg0;
            return(0);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o, "attempt to index pos_y on a nil value"));
        }
    }
    static int set_strScene(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            SceneChangeRgn obj  = (SceneChangeRgn)o;
            string         arg0 = ToLua.CheckString(L, 2);
            obj.strScene = arg0;
            return(0);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o, "attempt to index strScene on a nil value"));
        }
    }