Class BedrockSocialService
java.lang.Object
com.viaversion.viafabricplus.bedrock.friends.BedrockSocialService
Xbox Live friends, player search, and mutual friend requests.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordstatic final record -
Method Summary
Modifier and TypeMethodDescriptionfollowers(net.raphimc.minecraftauth.bedrock.BedrockAuthManager account) friends(net.raphimc.minecraftauth.bedrock.BedrockAuthManager account) static CompletableFuture<Map<String, String>> profileNames(net.raphimc.minecraftauth.bedrock.BedrockAuthManager account, List<String> xuids) Resolve party members who are not on the current user's friends list.recentPlayers(net.raphimc.minecraftauth.bedrock.BedrockAuthManager account) recommendations(net.raphimc.minecraftauth.bedrock.BedrockAuthManager account) requests(net.raphimc.minecraftauth.bedrock.BedrockAuthManager account) static CompletableFuture<Void> updateFavorite(net.raphimc.minecraftauth.bedrock.BedrockAuthManager account, String xuid, boolean add) static CompletableFuture<Void> updateFriend(net.raphimc.minecraftauth.bedrock.BedrockAuthManager account, String xuid, boolean add)
-
Method Details
-
friends
public static CompletableFuture<List<BedrockSocialService.SocialUser>> friends(net.raphimc.minecraftauth.bedrock.BedrockAuthManager account) -
requests
public static CompletableFuture<BedrockSocialService.FriendRequests> requests(net.raphimc.minecraftauth.bedrock.BedrockAuthManager account) -
search
public static CompletableFuture<List<BedrockSocialService.SocialUser>> search(net.raphimc.minecraftauth.bedrock.BedrockAuthManager account, String query) -
recommendations
public static CompletableFuture<List<BedrockSocialService.SocialUser>> recommendations(net.raphimc.minecraftauth.bedrock.BedrockAuthManager account) -
recentPlayers
public static CompletableFuture<List<BedrockSocialService.SocialUser>> recentPlayers(net.raphimc.minecraftauth.bedrock.BedrockAuthManager account) -
followers
public static CompletableFuture<List<BedrockSocialService.SocialUser>> followers(net.raphimc.minecraftauth.bedrock.BedrockAuthManager account) -
updateFavorite
public static CompletableFuture<Void> updateFavorite(net.raphimc.minecraftauth.bedrock.BedrockAuthManager account, String xuid, boolean add) -
profileNames
-
updateFriend
public static CompletableFuture<Void> updateFriend(net.raphimc.minecraftauth.bedrock.BedrockAuthManager account, String xuid, boolean add)
-