Record Class DumpUtil.PlayerTextData
java.lang.Object
java.lang.Record
com.hypixel.hytale.server.core.util.DumpUtil.PlayerTextData
- Enclosing class:
DumpUtil
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final StringThe field for thecameraManagerrecord component.private final StringThe field for themovementManagerrecord component.private final StringThe field for themovementStatesrecord component.private final UUIDThe field for theuuidrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionPlayerTextData(UUID uuid, String movementStates, String movementManager, String cameraManager) Creates an instance of aPlayerTextDatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecameraManagerrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of themovementManagerrecord component.Returns the value of themovementStatesrecord component.final StringtoString()Returns a string representation of this record class.uuid()Returns the value of theuuidrecord component.
-
Field Details
-
uuid
The field for theuuidrecord component. -
movementStates
The field for themovementStatesrecord component. -
movementManager
The field for themovementManagerrecord component. -
cameraManager
The field for thecameraManagerrecord component.
-
-
Constructor Details
-
PlayerTextData
public PlayerTextData(@Nonnull UUID uuid, @Nullable String movementStates, @Nullable String movementManager, @Nullable String cameraManager) Creates an instance of aPlayerTextDatarecord class.- Parameters:
uuid- the value for theuuidrecord componentmovementStates- the value for themovementStatesrecord componentmovementManager- the value for themovementManagerrecord componentcameraManager- the value for thecameraManagerrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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). -
uuid
Returns the value of theuuidrecord component.- Returns:
- the value of the
uuidrecord component
-
movementStates
Returns the value of themovementStatesrecord component.- Returns:
- the value of the
movementStatesrecord component
-
movementManager
Returns the value of themovementManagerrecord component.- Returns:
- the value of the
movementManagerrecord component
-
cameraManager
Returns the value of thecameraManagerrecord component.- Returns:
- the value of the
cameraManagerrecord component
-