Examples of EFriendRelationship


Examples of uk.co.thomasc.steamkit.base.generated.steamlanguage.EFriendRelationship

      public void call(PersonaStateCallback callback) {
        if (callback.getFriendID() == steamUser.getSteamId()) {
          return;
        }

        final EFriendRelationship relationship = steamFriends.getFriendRelationship(callback.getFriendID());
        if (relationship == EFriendRelationship.Friend) {
          queueHandler.acceptedRequest(callback.getFriendID());
        } else if (relationship == EFriendRelationship.PendingInvitee) {
          Util.printConsole("Friend Request Pending: " + callback.getFriendID() + "(" + steamFriends.getFriendPersonaName(callback.getFriendID()) + ")", Bot.this, ConsoleColor.DarkCyan, true);
          if (Main.bots.contains(callback.getFriendID()) || BotInfo.getAdmins().contains(callback.getFriendID())) {
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.