Record Class ProfileResult
java.lang.Object
java.lang.Record
com.mojang.authlib.yggdrasil.ProfileResult
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Set<ProfileActionType> The field for theactionsrecord component.private final GameProfileThe field for theprofilerecord component. -
Constructor Summary
ConstructorsConstructorDescriptionProfileResult(GameProfile profile) ProfileResult(GameProfile profile, Set<ProfileActionType> actions) Creates an instance of aProfileResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionactions()Returns the value of theactionsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.profile()Returns the value of theprofilerecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
profile
The field for theprofilerecord component. -
actions
The field for theactionsrecord component.
-
-
Constructor Details
-
ProfileResult
-
ProfileResult
Creates an instance of aProfileResultrecord class.- Parameters:
profile- the value for theprofilerecord componentactions- the value for theactionsrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
profile
Returns the value of theprofilerecord component.- Returns:
- the value of the
profilerecord component
-
actions
Returns the value of theactionsrecord component.- Returns:
- the value of the
actionsrecord component
-