Esempio n. 1
0
 static int QPYX_SetIntervalScale_YXQP(IntPtr L_YXQP)
 {
     try
     {
         ToLua.CheckArgsCount(L_YXQP, 2);
         TextWrapEx QPYX_obj_YXQP  = (TextWrapEx)ToLua.CheckObject <TextWrapEx>(L_YXQP, 1);
         float      QPYX_arg0_YXQP = (float)LuaDLL.luaL_checknumber(L_YXQP, 2);
         QPYX_obj_YXQP.SetIntervalScale(QPYX_arg0_YXQP);
         return(0);
     }
     catch (Exception e_YXQP)                {
         return(LuaDLL.toluaL_exception(L_YXQP, e_YXQP));
     }
 }
Esempio n. 2
0
 static int SetIntervalScale(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         TextWrapEx obj  = (TextWrapEx)ToLua.CheckObject <TextWrapEx>(L, 1);
         float      arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
         obj.SetIntervalScale(arg0);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }