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

        try
        {
            o = ToLua.ToObject(L, 1);
            DragonBones.FrameData <DragonBones.BoneFrameData> obj = (DragonBones.FrameData <DragonBones.BoneFrameData>)o;
            DragonBones.BoneFrameData 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.BoneFrameData> obj = (DragonBones.FrameData <DragonBones.BoneFrameData>)o;
            DragonBones.BoneFrameData arg0 = (DragonBones.BoneFrameData)ToLua.CheckObject(L, 2, typeof(DragonBones.BoneFrameData));
            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));
        }
    }
Example #3
0
    static int set_tweenScale(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            DragonBones.BoneFrameData obj = (DragonBones.BoneFrameData)o;
            bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
            obj.tweenScale = arg0;
            return(0);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index tweenScale on a nil value" : e.Message));
        }
    }
Example #4
0
    static int get_transform(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            DragonBones.BoneFrameData obj = (DragonBones.BoneFrameData)o;
            DragonBones.Transform     ret = obj.transform;
            ToLua.PushObject(L, ret);
            return(1);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index transform on a nil value" : e.Message));
        }
    }
Example #5
0
    static int get_tweenRotate(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            DragonBones.BoneFrameData obj = (DragonBones.BoneFrameData)o;
            float ret = obj.tweenRotate;
            LuaDLL.lua_pushnumber(L, ret);
            return(1);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index tweenRotate on a nil value" : e.Message));
        }
    }
Example #6
0
    static int _CreateDragonBones_BoneFrameData(IntPtr L)
    {
        try
        {
            int count = LuaDLL.lua_gettop(L);

            if (count == 0)
            {
                DragonBones.BoneFrameData obj = new DragonBones.BoneFrameData();
                ToLua.PushObject(L, obj);
                return(1);
            }
            else
            {
                return(LuaDLL.luaL_throw(L, "invalid arguments to ctor method: DragonBones.BoneFrameData.New"));
            }
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e));
        }
    }