Class BedrockSocialService
java.lang.Object
com.viaversion.viafabricplus.bedrock.features.friends.BedrockSocialService
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordstatic final record -
Constructor Summary
Constructors -
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)
-
Constructor Details
-
BedrockSocialService
public BedrockSocialService()
-
-
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) -
profile
public static CompletableFuture<BedrockSocialService.SocialUser> profile(net.raphimc.minecraftauth.bedrock.BedrockAuthManager account, String xuid) -
profiles
public static CompletableFuture<List<BedrockSocialService.SocialUser>> profiles(net.raphimc.minecraftauth.bedrock.BedrockAuthManager account, List<String> ids) -
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)
-