mirror of https://github.com/FabricMC/yarn.git
20 lines
985 B
Plaintext
20 lines
985 B
Plaintext
|
CLASS net/minecraft/class_6373 net/minecraft/network/packet/s2c/play/PlayPingS2CPacket
|
||
|
COMMENT A packet sent by the server; the client will reply with a pong packet on the
|
||
|
COMMENT first tick after it receives this packet, with the same {@link #parameter}.
|
||
|
COMMENT
|
||
|
COMMENT @see net.minecraft.network.packet.c2s.play.PlayPongC2SPacket
|
||
|
COMMENT @see net.minecraft.network.packet.s2c.play.KeepAliveS2CPacket
|
||
|
COMMENT @see net.minecraft.network.packet.s2c.query.QueryPongS2CPacket
|
||
|
FIELD field_33751 parameter I
|
||
|
COMMENT The parameter of this ping packet.
|
||
|
COMMENT
|
||
|
COMMENT <p>If this number represents a tick, this could measure the network delay in
|
||
|
COMMENT ticks. It is possible to be a tick number given the reply packet is sent on
|
||
|
COMMENT the client on the main thread's tick, and the number is sent as a regular int
|
||
|
COMMENT than a varint.
|
||
|
METHOD <init> (I)V
|
||
|
ARG 1 parameter
|
||
|
METHOD <init> (Lnet/minecraft/class_2540;)V
|
||
|
ARG 1 buf
|
||
|
METHOD method_36950 getParameter ()I
|