Exemplo n.º 1
0
        /// <summary>
        /// 发送私聊消息
        /// </summary>
        /// <param name="managerId"></param>
        /// <param name="managerName"></param>
        /// <param name="targetId"></param>
        /// <param name="targetName"></param>
        /// <param name="message"></param>
        public void SendPrivateChannelMessage(Guid managerId, string managerName, string targetId, string targetName, string message)
        {
            SocketMessagePrivateChannelMsg data = new SocketMessagePrivateChannelMsg(
                _zoneName, managerId.ToString(), managerName, _zoneName, targetId, targetName, message, "");

            proxy.SendPrivateChannelMessage(data);
        }