public Game(IrcDaemon daemon, UserInfo[] users) { IrcDaemon = daemon; for (int i = 0; i < users.Length; i++) { var user = users[i]; user.Game = this; Users.Add(user, true); } }
public UserInfo(IrcDaemon ircDaemon, Socket socket, string host, bool isAcceptSocket, bool passAccepted) : base(ircDaemon) { IsService = false; Registered = false; PassAccepted = passAccepted; Host = host; Created = DateTime.Now; Capabilities = null; IsAcceptSocket = isAcceptSocket; Socket = socket; Modes = new UserModeList(ircDaemon); }
public UserInfo(IrcDaemon ircDaemon, Socket socket, long profileId, string host, bool isAcceptSocket, bool passAccepted, object state, Func <object, string, int> send) : base(ircDaemon) { _send = send; _state = state; ProfileId = profileId; IsService = false; Registered = false; PassAccepted = passAccepted; Host = host; Created = DateTime.Now; Capabilities = null; IsAcceptSocket = isAcceptSocket; Socket = socket; Modes = new UserModeList(ircDaemon); }
public ServerInfo(IrcDaemon ircDaemon) : base(ircDaemon) { }
public ServerStats(IrcDaemon ircDaemon) { _ircDaemon = ircDaemon; }
protected InfoBase(IrcDaemon ircDaemon) { IrcDaemon = ircDaemon; }