Exemple #1
0
        public void SendPeerMessage()
        {
            SendMessageToChat(userName + ": " + peerMessageBox.text, Message.MessageType.playerMessage);

            rtm.SendPeerMessage(peerUserBox.text, peerMessageBox.text, true);

            peerMessageBox.text = "";
        }
Exemple #2
0
        private void btnSendPeerMsg_Click(object sender, EventArgs e)
        {
            SendMessageToChat(username + " send peer message: " + tbPeerMsg.Text);

            rtm.SendPeerMessage(tbPeer.Text, tbPeerMsg.Text, true);

            tbPeerMsg.Text = "";
        }