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); }
public void Broadcast(string message) { if (_filters.Any(filter => filter.FilterMessage(ref message))) { return; } _innerMessageClient.Broadcast(message); }
public void RoomAnnounceRaw(Message message, IMessageClient client, string announcement) { client.Broadcast(announcement); }