示例#1
0
        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);
            }
        }
示例#2
0
        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);
        }
示例#3
0
        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);
        }
示例#4
0
 public ServerInfo(IrcDaemon ircDaemon)
     : base(ircDaemon)
 {
 }
示例#5
0
 public ServerStats(IrcDaemon ircDaemon)
 {
     _ircDaemon = ircDaemon;
 }
示例#6
0
 protected InfoBase(IrcDaemon ircDaemon)
 {
     IrcDaemon = ircDaemon;
 }