Record Class BedrockCharacterProfiles.AccountWardrobe
java.lang.Object
java.lang.Record
com.viaversion.viafabricplus.bedrock.appearance.BedrockCharacterProfiles.AccountWardrobe
- Enclosing class:
BedrockCharacterProfiles
public static record BedrockCharacterProfiles.AccountWardrobe(List<BedrockCharacterProfiles.Slot> slots, List<BedrockCharacterProfiles.Entitlement> entitlements)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionAccountWardrobe(List<BedrockCharacterProfiles.Slot> slots, List<BedrockCharacterProfiles.Entitlement> entitlements) Creates an instance of aAccountWardroberecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theentitlementsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.slots()Returns the value of theslotsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
AccountWardrobe
public AccountWardrobe(List<BedrockCharacterProfiles.Slot> slots, List<BedrockCharacterProfiles.Entitlement> entitlements) Creates an instance of aAccountWardroberecord class.- Parameters:
slots- the value for theslotsrecord componententitlements- the value for theentitlementsrecord 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). -
slots
Returns the value of theslotsrecord component.- Returns:
- the value of the
slotsrecord component
-
entitlements
Returns the value of theentitlementsrecord component.- Returns:
- the value of the
entitlementsrecord component
-