Beispiel #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);
        }
Beispiel #2
0
        public void Broadcast(string message)
        {
            if (_filters.Any(filter => filter.FilterMessage(ref message)))
            {
                return;
            }

            _innerMessageClient.Broadcast(message);
        }
Beispiel #3
0
 public void RoomAnnounceRaw(Message message, IMessageClient client, string announcement)
 {
     client.Broadcast(announcement);
 }
Beispiel #4
0
 public void RoomAnnounceRaw(Message message, IMessageClient client, string announcement)
 {
     client.Broadcast(announcement);
 }
Beispiel #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);
 }