Record Class AnnotationUpdateResponse
java.lang.Object
java.lang.Record
fr.ghostrider584.axiom.network.packet.server.AnnotationUpdateResponse
- All Implemented Interfaces:
net.minestom.server.network.packet.server.SendablePacket, net.minestom.server.network.packet.server.ServerPacket, net.minestom.server.network.packet.server.ServerPacket.Play
public record AnnotationUpdateResponse(List<AnnotationUpdateAction> actions)
extends Record
implements net.minestom.server.network.packet.server.ServerPacket.Play
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minestom.server.network.packet.server.ServerPacket
net.minestom.server.network.packet.server.ServerPacket.ComponentHolding, net.minestom.server.network.packet.server.ServerPacket.Configuration, net.minestom.server.network.packet.server.ServerPacket.Login, net.minestom.server.network.packet.server.ServerPacket.Play, net.minestom.server.network.packet.server.ServerPacket.Status -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final net.minestom.server.network.NetworkBuffer.Type<AnnotationUpdateResponse> -
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of aAnnotationUpdateResponserecord 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.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
TYPE
-
-
Constructor Details
-
AnnotationUpdateResponse
Creates an instance of aAnnotationUpdateResponserecord class.- Parameters:
actions- 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). -
actions
Returns the value of theactionsrecord component.- Returns:
- the value of the
actionsrecord component
-