Beispiel #1
0
        public void AddConnectedUser(User user)
        {
            Debug.Assert(!m_ConnectedUserList.Contains(user));

            m_ConnectedUserList.TryAdd(user);

            LogManager.Debug("Add connected user. UserID = " + user.UserID);
        }
Beispiel #2
0
        public void AddConnectedGameServer(GameServer game_s)
        {
            Debug.Assert(!m_ConnectedGameServerList.Contains(game_s));

            m_ConnectedGameServerList.TryAdd(game_s);

            LogManager.Debug("Add connected game server. Game server ID = " +
                             game_s.GameServerID.ToString());
        }