Beispiel #1
0
 static int QPYX_GetBaseNodeByIndex_YXQP(IntPtr L_YXQP)
 {
     try
     {
         ToLua.CheckArgsCount(L_YXQP, 2);
         LoopScrollView QPYX_obj_YXQP  = (LoopScrollView)ToLua.CheckObject <LoopScrollView>(L_YXQP, 1);
         int            QPYX_arg0_YXQP = (int)LuaDLL.luaL_checknumber(L_YXQP, 2);
         LoopBaseNode   QPYX_o_YXQP    = QPYX_obj_YXQP.GetBaseNodeByIndex(QPYX_arg0_YXQP);
         ToLua.Push(L_YXQP, QPYX_o_YXQP);
         return(1);
     }
     catch (Exception e_YXQP)                {
         return(LuaDLL.toluaL_exception(L_YXQP, e_YXQP));
     }
 }
 static int GetBaseNodeByIndex(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         LoopScrollView obj  = (LoopScrollView)ToLua.CheckObject <LoopScrollView>(L, 1);
         int            arg0 = (int)LuaDLL.luaL_checknumber(L, 2);
         LoopBaseNode   o    = obj.GetBaseNodeByIndex(arg0);
         ToLua.Push(L, o);
         return(1);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }