public SteamUser GetUser(long steamId)
        {
            TimeSpan timePlayed = IsCsgoInstalled(steamId);
            if (timePlayed > TimeSpan.Zero)
            {
                string name = GetName(steamId);
                BanType banType = GetBanType(steamId);

                var steamUser2 = new SteamUser(steamId)
                {
                    TimePlayed = timePlayed,
                    BanType = banType,
                    Name = name
                };

                return steamUser2;
            }

            return null;
        }
 public void Push(SteamUser user)
 {
     _queue.Enqueue(user);
 }
Exemple #3
0
 public void Push(SteamUser user)
 {
     _queue.Enqueue(user);
 }