Record Class PacketReading.Result.Skipped<T>
java.lang.Object
java.lang.Record
net.minestom.server.network.packet.PacketReading.Result.Skipped<T>
- All Implemented Interfaces:
PacketReading.Result<T>
- Enclosing interface:
PacketReading.Result<T>
public static record PacketReading.Result.Skipped<T>()
extends Record
implements PacketReading.Result<T>
Represents one or more complete packets that were intentionally skipped.
-
Nested Class Summary
Nested classes/interfaces inherited from interface PacketReading.Result
PacketReading.Result.Empty<T>, PacketReading.Result.Failure<T>, PacketReading.Result.Skipped<T>, PacketReading.Result.Success<T> -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Skipped
public Skipped()Creates an instance of aSkippedrecord class.
-
-
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.
-