2022-07-20 12:54:35 -04:00
|
|
|
CLASS net/minecraft/class_7638 net/minecraft/network/message/AcknowledgmentValidator
|
|
|
|
COMMENT A class that validates the clients' message acknowledgment.
|
|
|
|
COMMENT
|
|
|
|
COMMENT <p>When clients receive or send messages, they send "acknowledgments" to the server,
|
|
|
|
COMMENT containing messages they've last seen or received. If there are too many messages
|
|
|
|
COMMENT waiting for message acknowledgments (more than {@value
|
|
|
|
COMMENT net.minecraft.server.network.ServerPlayNetworkHandler#MAX_PENDING_ACKNOWLEDGMENTS}),
|
|
|
|
COMMENT or if the acknowledgment is incorrect, the client will be disconnected.
|
2022-10-23 11:18:41 -04:00
|
|
|
FIELD field_40680 size I
|
|
|
|
FIELD field_40681 messages Lit/unimi/dsi/fastutil/objects/ObjectList;
|
|
|
|
FIELD field_40682 lastSignature Lnet/minecraft/class_7469;
|
|
|
|
METHOD <init> (I)V
|
|
|
|
ARG 1 size
|
2022-10-19 13:11:34 -04:00
|
|
|
METHOD method_44989 addPending (Lnet/minecraft/class_7469;)V
|
2022-10-23 11:18:41 -04:00
|
|
|
ARG 1 signature
|
|
|
|
METHOD method_46268 getMessageCount ()I
|
|
|
|
METHOD method_46269 removeUntil (I)Z
|
|
|
|
ARG 1 index
|
|
|
|
METHOD method_46270 validate (Lnet/minecraft/class_7635$class_7636;)Ljava/util/Optional;
|
|
|
|
ARG 1 acknowledgment
|