Uses of Class
de.jcm.discordgamesdk.user.DiscordUser
-
Uses of DiscordUser in de.jcm.discordgamesdk
Modifier and TypeMethodDescriptionUserManager.getCurrentUser()
Fetches information about the current user.ApplicationManager.AuthenticationData.user()
Returns the value of theuser
record component.Modifier and TypeMethodDescriptionvoid
DiscordEventAdapter.onActivityJoinRequest
(DiscordUser user) Fires when a user asked to join the user by using "Ask to join" button.void
DiscordEventHandler.onActivityJoinRequest
(DiscordUser user) Modifier and TypeMethodDescriptionvoid
UserManager.getUser
(long userId, BiConsumer<Result, DiscordUser> callback) Fetches information about a Discord user.ModifierConstructorDescriptionAuthenticationData
(ApplicationManager.DiscordOAuth2Token token, ApplicationManager.Application application, DiscordUser user) Creates an instance of aAuthenticationData
record class. -
Uses of DiscordUser in de.jcm.discordgamesdk.user
Modifier and TypeMethodDescriptionRelationship.getUser()
Gets the user the current user has the relationship with.ModifierConstructorDescriptionRelationship
(RelationshipType type, DiscordUser user, Presence presence)