Esempio n. 1
0
 internal JoinEvent(bool outgoing, User sender, Channel channel, string key)
     : base(outgoing)
 {
     _sender = sender;
     _channel = channel;
     _key = key ?? "";
 }
Esempio n. 2
0
 internal InviteEvent(bool outgoing, User sender, User target, string channel)
     : base(outgoing)
 {
     _sender = sender;
     _target = target;
     _channel = channel;
 }
Esempio n. 3
0
 internal CtcpEvent(bool outgoing, User sender, Entity target, CtcpType type, string message)
     : base(outgoing)
 {
     _sender = sender;
     _target = target;
     _ctype = type;
     _message = message;
 }
Esempio n. 4
0
 internal KickEvent(bool outgoing, User sender, Channel channel, User target, string message)
     : base(outgoing)
 {
     _sender = sender;
     _channel = channel;
     _target = target;
     _message = message;
 }
Esempio n. 5
0
 protected internal MessageEvent(bool outgoing, User sender, Entity target, MessageType mtype, string message)
     : base(outgoing)
 {
     _sender = sender;
     _target = target;
     _mtype = mtype;
     _message = message;
 }
Esempio n. 6
0
 internal NickChangeEvent(bool outgoing, User sender, string newnick)
     : base(outgoing)
 {
     _sender = sender;
     _new = newnick;
 }
Esempio n. 7
0
 internal ChannelCtcpEvent(bool outgoing, User sender, Channel target, CtcpType type, string message)
     : base(outgoing, sender, target, type, message)
 {
 }
Esempio n. 8
0
 internal ChannelModeEvent(bool outgoing, User sender, Channel channel, string mode)
     : base(outgoing, channel, mode)
 {
     _sender = sender;
     _channel = channel;
 }
Esempio n. 9
0
 public User[] GetUser()
 {
     User[] u = new User[_users.Count];
     int i = 0;
     foreach (UserData ud in _users) {
         u[i] = (User)ud;
         i++;
     }
     return u;
 }
Esempio n. 10
0
 internal TopicEvent(bool outgoing, User sender, Channel channel, string topic)
     : base(outgoing)
 {
     _sender = sender;
     _channel = channel;
     _topic = topic;
 }
Esempio n. 11
0
 internal PartEvent(bool outgoing, User sender, Channel channel, string message)
     : base(outgoing)
 {
     _sender = sender;
     _channel = channel;
     _message = message ?? "";
 }
Esempio n. 12
0
 internal ChannelMessageEvent(bool outgoing, User sender, Channel target, MessageType mtype, string message)
     : base(outgoing, sender, target, mtype, message)
 {
 }
Esempio n. 13
0
 internal QuitEvent(bool outgoing, User sender, string message)
     : base(outgoing)
 {
     _sender = sender;
     _message = message;
 }