Esempio n. 1
0
    static int QPYX_set_OnItemPress_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.OnBaseNodeEvent <bool> QPYX_arg0_YXQP = (LoopScrollView.OnBaseNodeEvent <bool>)ToLua.CheckDelegate <LoopScrollView.OnBaseNodeEvent <bool> >(L_YXQP, 2);
            QPYX_obj_YXQP.OnItemPress = 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 OnItemPress on a nil value"));
        }
    }
Esempio n. 2
0
    static int QPYX_get_OnItemPress_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.OnBaseNodeEvent <bool> QPYX_ret_YXQP = QPYX_obj_YXQP.OnItemPress;
            ToLua.Push(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 OnItemPress on a nil value"));
        }
    }
Esempio n. 3
0
    static int set_OnItemPress(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            LoopScrollView obj = (LoopScrollView)o;
            LoopScrollView.OnBaseNodeEvent <bool> arg0 = (LoopScrollView.OnBaseNodeEvent <bool>)ToLua.CheckDelegate <LoopScrollView.OnBaseNodeEvent <bool> >(L, 2);
            obj.OnItemPress = arg0;
            return(0);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o, "attempt to index OnItemPress on a nil value"));
        }
    }
Esempio n. 4
0
    static int get_OnItemPress(IntPtr L)
    {
        object o = null;

        try
        {
            o = ToLua.ToObject(L, 1);
            LoopScrollView obj = (LoopScrollView)o;
            LoopScrollView.OnBaseNodeEvent <bool> ret = obj.OnItemPress;
            ToLua.Push(L, ret);
            return(1);
        }
        catch (Exception e)
        {
            return(LuaDLL.toluaL_exception(L, e, o, "attempt to index OnItemPress on a nil value"));
        }
    }