Examples of SteamID


Examples of uk.co.thomasc.steamkit.types.steamid.SteamID

          if (steamFriends.getFriendRelationship(bot) != EFriendRelationship.Friend) {
            steamFriends.addFriend(bot);
          }
        }
        for (final long bot : BotInfo.getAdmins()) {
          final SteamID admin = new SteamID(bot);
          if (steamFriends.getFriendRelationship(admin) != EFriendRelationship.Friend) {
            steamFriends.addFriend(admin);
          }
        }
        Main.bots.add(steamClient.getSteamId());
View Full Code Here

Examples of uk.co.thomasc.steamkit.types.steamid.SteamID

        try {
          final ResultSet reader = Main.sql.selectQuery("SELECT Id, steamid FROM queue WHERE (botid = -1 || botid = " + bot.getBotId() + ") && queued = -1 ORDER BY Id LIMIT 1");
          if (reader.next()) {
            final int id = reader.getInt("Id");
            if (Main.sql.update("UPDATE queue SET queued = '" + bot.getBotId() + "' WHERE Id = '" + id + "' and queued = -1") > 0) {
              final SteamID other = new SteamID(reader.getLong("steamid"));
              //do {
              if (bot.steamFriends.getFriendRelationship(other) == EFriendRelationship.Friend) {
                tradeQueue.add(new DbRow(id, other));
              } else {
                bot.steamFriends.addFriend(other);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.