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

        try
        {
            o = ToLua.ToObject(L, 1);
            DragonBones.FrameData <DragonBones.AnimationFrameData> obj = (DragonBones.FrameData <DragonBones.AnimationFrameData>)o;
            float arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
            obj.position = arg0;
            return(0);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index position on a nil value" : e.Message));
        }
    }
    static int get_duration(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            DragonBones.FrameData <DragonBones.AnimationFrameData> obj = (DragonBones.FrameData <DragonBones.AnimationFrameData>)o;
            float ret = obj.duration;
            LuaDLL.lua_pushnumber(L, ret);
            return(1);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index duration on a nil value" : e.Message));
        }
    }
    static int get_next(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            DragonBones.FrameData <DragonBones.AnimationFrameData> obj = (DragonBones.FrameData <DragonBones.AnimationFrameData>)o;
            DragonBones.AnimationFrameData ret = obj.next;
            ToLua.PushObject(L, ret);
            return(1);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index next on a nil value" : e.Message));
        }
    }
    static int set_next(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            DragonBones.FrameData <DragonBones.AnimationFrameData> obj = (DragonBones.FrameData <DragonBones.AnimationFrameData>)o;
            DragonBones.AnimationFrameData arg0 = (DragonBones.AnimationFrameData)ToLua.CheckObject(L, 2, typeof(DragonBones.AnimationFrameData));
            obj.next = arg0;
            return(0);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index next on a nil value" : e.Message));
        }
    }