static int QPYX_SendMessage_YXQP(IntPtr L_YXQP)
 {
     try
     {
         ToLua.CheckArgsCount(L_YXQP, 2);
         DNet.GameWebSocketClient QPYX_obj_YXQP = (DNet.GameWebSocketClient)ToLua.CheckObject <DNet.GameWebSocketClient>(L_YXQP, 1);
         string QPYX_arg0_YXQP = ToLua.CheckString(L_YXQP, 2);
         QPYX_obj_YXQP.SendMessage(QPYX_arg0_YXQP);
         return(0);
     }
     catch (Exception e_YXQP)                {
         return(LuaDLL.toluaL_exception(L_YXQP, e_YXQP));
     }
 }
Beispiel #2
0
 static int SendMessage(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         DNet.GameWebSocketClient obj = (DNet.GameWebSocketClient)ToLua.CheckObject <DNet.GameWebSocketClient>(L, 1);
         string arg0 = ToLua.CheckString(L, 2);
         obj.SendMessage(arg0);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }