The easy to use and full featured Irc Bot everyone is talking about!
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Messages.cs 516B

12345678910111213141516171819202122232425
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace Combot
  7. {
  8. class Messages
  9. {
  10. public event Action<Message> MessageReceivedEvent;
  11. public event Action<Message> MessageSentEvent;
  12. private TCPInterface _tcp;
  13. private static Queue<Message> _messageQueue;
  14. internal Messages(TCPInterface tcp)
  15. {
  16. _tcp = tcp;
  17. _messageQueue = new Queue<Message>();
  18. }
  19. }
  20. }