예제 #1
0
 static int QPYX_OnComplete_YXQP(IntPtr L_YXQP)
 {
     try
     {
         ToLua.CheckArgsCount(L_YXQP, 2);
         TimeEvent QPYX_obj_YXQP = (TimeEvent)ToLua.CheckObject <TimeEvent>(L_YXQP, 1);
         System.Action <TimeEvent> QPYX_arg0_YXQP = (System.Action <TimeEvent>)ToLua.CheckDelegate <System.Action <TimeEvent> >(L_YXQP, 2);
         TimeEvent QPYX_o_YXQP = QPYX_obj_YXQP.OnComplete(QPYX_arg0_YXQP);
         ToLua.PushObject(L_YXQP, QPYX_o_YXQP);
         return(1);
     }
     catch (Exception e_YXQP)                {
         return(LuaDLL.toluaL_exception(L_YXQP, e_YXQP));
     }
 }
예제 #2
0
 static int OnComplete(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         TimeEvent obj = (TimeEvent)ToLua.CheckObject <TimeEvent>(L, 1);
         System.Action <TimeEvent> arg0 = (System.Action <TimeEvent>)ToLua.CheckDelegate <System.Action <TimeEvent> >(L, 2);
         TimeEvent o = obj.OnComplete(arg0);
         ToLua.PushObject(L, o);
         return(1);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }