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