Record Class Auth.Velocity
java.lang.Object
java.lang.Record
net.minestom.server.Auth.Velocity
- All Implemented Interfaces:
Auth
- Enclosing interface:
Auth
-
Nested Class Summary
Nested classes/interfaces inherited from interface Auth
Auth.Bungee, Auth.Offline, Auth.Online, Auth.Velocity -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancheckIntegrity(NetworkBuffer buffer) final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.key()Returns the value of thekeyrecord component.static Keyfinal StringtoString()Returns a string representation of this record class.
-
Field Details
-
PLAYER_INFO_CHANNEL
- See Also:
-
-
Constructor Details
-
Velocity
-
Velocity
Creates an instance of aVelocityrecord class.- Parameters:
key- the value for thekeyrecord component
-
-
Method Details
-
checkIntegrity
-
secretKey
-
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). -
key
Returns the value of thekeyrecord component.- Returns:
- the value of the
keyrecord component
-