Ejemplo n.º 1
0
    static int QPYX_set_onValueChanged_YXQP(IntPtr L_YXQP)
    {
        object QPYX_o_YXQP = null;

        try
        {
            QPYX_o_YXQP = ToLua.ToObject(L_YXQP, 1);                        LoopScrollView QPYX_obj_YXQP = (LoopScrollView)QPYX_o_YXQP;
            LoopScrollView.OnContentPosChangeEvent QPYX_arg0_YXQP = (LoopScrollView.OnContentPosChangeEvent)ToLua.CheckObject <LoopScrollView.OnContentPosChangeEvent>(L_YXQP, 2);
            QPYX_obj_YXQP.onValueChanged = QPYX_arg0_YXQP;
            return(0);
        }
        catch (Exception QPYX_e_YXQP)            {
            return(LuaDLL.toluaL_exception(L_YXQP, QPYX_e_YXQP, QPYX_o_YXQP, "attempt to index onValueChanged on a nil value"));
        }
    }
Ejemplo n.º 2
0
    static int QPYX_get_onValueChanged_YXQP(IntPtr L_YXQP)
    {
        object QPYX_o_YXQP = null;

        try
        {
            QPYX_o_YXQP = ToLua.ToObject(L_YXQP, 1);                        LoopScrollView QPYX_obj_YXQP = (LoopScrollView)QPYX_o_YXQP;
            LoopScrollView.OnContentPosChangeEvent QPYX_ret_YXQP = QPYX_obj_YXQP.onValueChanged;
            ToLua.PushObject(L_YXQP, QPYX_ret_YXQP);
            return(1);
        }
        catch (Exception QPYX_e_YXQP)            {
            return(LuaDLL.toluaL_exception(L_YXQP, QPYX_e_YXQP, QPYX_o_YXQP, "attempt to index onValueChanged on a nil value"));
        }
    }
Ejemplo n.º 3
0
    static int set_onValueChanged(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            LoopScrollView obj = (LoopScrollView)o;
            LoopScrollView.OnContentPosChangeEvent arg0 = (LoopScrollView.OnContentPosChangeEvent)ToLua.CheckObject <LoopScrollView.OnContentPosChangeEvent>(L, 2);
            obj.onValueChanged = arg0;
            return(0);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o, "attempt to index onValueChanged on a nil value"));
        }
    }
Ejemplo n.º 4
0
    static int get_onValueChanged(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            LoopScrollView obj = (LoopScrollView)o;
            LoopScrollView.OnContentPosChangeEvent ret = obj.onValueChanged;
            ToLua.PushObject(L, ret);
            return(1);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o, "attempt to index onValueChanged on a nil value"));
        }
    }
 static int QPYX__CreateLoopScrollView_OnContentPosChangeEvent_YXQP(IntPtr L_YXQP)
 {
     try
     {
         int QPYX_count_YXQP = LuaDLL.lua_gettop(L_YXQP);
         if (QPYX_count_YXQP == 0)
         {
             LoopScrollView.OnContentPosChangeEvent QPYX_obj_YXQP = new LoopScrollView.OnContentPosChangeEvent();
             ToLua.PushObject(L_YXQP, QPYX_obj_YXQP);
             return(1);
         }
         else
         {
             return(LuaDLL.luaL_throw(L_YXQP, "invalid arguments to ctor method: LoopScrollView.OnContentPosChangeEvent.New"));
         }
     }
     catch (Exception e_YXQP)                {
         return(LuaDLL.toluaL_exception(L_YXQP, e_YXQP));
     }
 }
Ejemplo n.º 6
0
    static int _CreateLoopScrollView_OnContentPosChangeEvent(IntPtr L)
    {
        try
        {
            int count = LuaDLL.lua_gettop(L);

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