Example #1
0
 static int QPYX_WriteBufferMsgProtolType2_YXQP(IntPtr L_YXQP)
 {
     try
     {
         ToLua.CheckArgsCount(L_YXQP, 4);
         DNet.Buffer QPYX_obj_YXQP  = (DNet.Buffer)ToLua.CheckObject <DNet.Buffer>(L_YXQP, 1);
         byte[]      QPYX_arg0_YXQP = ToLua.CheckByteBuffer(L_YXQP, 2);
         string      QPYX_arg1_YXQP = ToLua.CheckString(L_YXQP, 3);
         int         QPYX_arg2_YXQP = (int)LuaDLL.luaL_checknumber(L_YXQP, 4);
         QPYX_obj_YXQP.WriteBufferMsgProtolType2(QPYX_arg0_YXQP, QPYX_arg1_YXQP, QPYX_arg2_YXQP);
         return(0);
     }
     catch (Exception e_YXQP)                {
         return(LuaDLL.toluaL_exception(L_YXQP, e_YXQP));
     }
 }
Example #2
0
 static int WriteBufferMsgProtolType2(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 4);
         DNet.Buffer obj  = (DNet.Buffer)ToLua.CheckObject <DNet.Buffer>(L, 1);
         byte[]      arg0 = ToLua.CheckByteBuffer(L, 2);
         string      arg1 = ToLua.CheckString(L, 3);
         int         arg2 = (int)LuaDLL.luaL_checknumber(L, 4);
         obj.WriteBufferMsgProtolType2(arg0, arg1, arg2);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }