コード例 #1
0
 static int QPYX_SetDigitStr_YXQP(IntPtr L_YXQP)
 {
     try
     {
         ToLua.CheckArgsCount(L_YXQP, 3);
         TextWrap            QPYX_obj_YXQP  = (TextWrap)ToLua.CheckObject <TextWrap>(L_YXQP, 1);
         BetterList <string> QPYX_arg0_YXQP = (BetterList <string>)ToLua.CheckObject <BetterList <string> >(L_YXQP, 2);
         int QPYX_arg1_YXQP = (int)LuaDLL.luaL_checknumber(L_YXQP, 3);
         QPYX_obj_YXQP.SetDigitStr(QPYX_arg0_YXQP, QPYX_arg1_YXQP);
         return(0);
     }
     catch (Exception e_YXQP)                {
         return(LuaDLL.toluaL_exception(L_YXQP, e_YXQP));
     }
 }
コード例 #2
0
 static int SetDigitStr(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 3);
         TextWrap            obj  = (TextWrap)ToLua.CheckObject <TextWrap>(L, 1);
         BetterList <string> arg0 = (BetterList <string>)ToLua.CheckObject <BetterList <string> >(L, 2);
         int arg1 = (int)LuaDLL.luaL_checknumber(L, 3);
         obj.SetDigitStr(arg0, arg1);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }