static int QPYX_ResetInterval_YXQP(IntPtr L_YXQP)
 {
     try
     {
         ToLua.CheckArgsCount(L_YXQP, 2);
         TimeEvent QPYX_obj_YXQP  = (TimeEvent)ToLua.CheckObject <TimeEvent>(L_YXQP, 1);
         float     QPYX_arg0_YXQP = (float)LuaDLL.luaL_checknumber(L_YXQP, 2);
         TimeEvent QPYX_o_YXQP    = QPYX_obj_YXQP.ResetInterval(QPYX_arg0_YXQP);
         ToLua.PushObject(L_YXQP, QPYX_o_YXQP);
         return(1);
     }
     catch (Exception e_YXQP)                {
         return(LuaDLL.toluaL_exception(L_YXQP, e_YXQP));
     }
 }
Beispiel #2
0
 static int ResetInterval(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         TimeEvent obj  = (TimeEvent)ToLua.CheckObject <TimeEvent>(L, 1);
         float     arg0 = (float)LuaDLL.luaL_checknumber(L, 2);
         TimeEvent o    = obj.ResetInterval(arg0);
         ToLua.PushObject(L, o);
         return(1);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }