Пример #1
0
 static int QPYX_OnKill_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.OnKill(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 OnKill(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.OnKill(arg0);
         ToLua.PushObject(L, o);
         return(1);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }