示例#1
0
        public void RoomAnnounce(Message message, IMessageClient client, string announcement)
        {
            IEntity user     = client.GetUser(message.UserId);
            string  response = string.Format("{0} says \" {1} \"", user.Name, announcement);

            client.Broadcast(response);
        }
示例#2
0
        public void Broadcast(string message)
        {
            if (_filters.Any(filter => filter.FilterMessage(ref message)))
            {
                return;
            }

            _innerMessageClient.Broadcast(message);
        }
示例#3
0
 public void RoomAnnounceRaw(Message message, IMessageClient client, string announcement)
 {
     client.Broadcast(announcement);
 }
示例#4
0
 public void RoomAnnounceRaw(Message message, IMessageClient client, string announcement)
 {
     client.Broadcast(announcement);
 }
示例#5
0
 public void RoomAnnounce(Message message, IMessageClient client, string announcement)
 {
     IEntity user = client.GetUser(message.UserId);
     string response = string.Format("{0} says \" {1} \"", user.Name, announcement);
     client.Broadcast(response);
 }