Exemplo n.º 1
0
    public void SendPacket_AckChat(string msg)
    {
        Packet.CGAckChat sendPacket = new Packet.CGAckChat();
        sendPacket.nickName = "jack";
        sendPacket.chatData = msg;

        Send(sendPacket);
        //string sendJson = JsonMapper.ToJson(sendPacket);

        //m_writer.WriteLine(sendJson);
        //m_writer.Flush();
    }
Exemplo n.º 2
0
    public void SendPacket_AckChat(string msg)
    {
        Packet.CGAckChat sendPacket = new Packet.CGAckChat();
        sendPacket.nickName = "jack";
        sendPacket.chatData = msg;

        Send(sendPacket);
        //string sendJson = JsonMapper.ToJson(sendPacket);

        //m_writer.WriteLine(sendJson);
        //m_writer.Flush();
    }