Example #1
0
 static int ProcessEvent(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         LuaAndCMsgCenter      obj  = (LuaAndCMsgCenter)ToLua.CheckObject(L, 1, typeof(LuaAndCMsgCenter));
         U3DEventFrame.MsgBase arg0 = (U3DEventFrame.MsgBase)ToLua.CheckObject(L, 2, typeof(U3DEventFrame.MsgBase));
         obj.ProcessEvent(arg0);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
 static int ProcessEvent(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         LuaAndCMsgCenter obj  = (LuaAndCMsgCenter)ToLua.CheckObject <LuaAndCMsgCenter>(L, 1);
         MsgBase          arg0 = (MsgBase)ToLua.CheckObject <MsgBase>(L, 2);
         obj.ProcessEvent(arg0);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }