类 LegacyProtocolUtils
java.lang.Object
net.minecraft.server.network.LegacyProtocolUtils
-
字段概要
字段修饰符和类型字段说明static final int
static final String
static final int
static final int
static final int
static final int
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static String
readLegacyString
(io.netty.buffer.ByteBuf p_295603_) static void
writeLegacyString
(io.netty.buffer.ByteBuf p_295942_, String p_294348_)
-
字段详细资料
-
CUSTOM_PAYLOAD_PACKET_ID
public static final int CUSTOM_PAYLOAD_PACKET_ID- 另请参阅:
-
CUSTOM_PAYLOAD_PACKET_PING_CHANNEL
- 另请参阅:
-
GET_INFO_PACKET_ID
public static final int GET_INFO_PACKET_ID- 另请参阅:
-
GET_INFO_PACKET_VERSION_1
public static final int GET_INFO_PACKET_VERSION_1- 另请参阅:
-
DISCONNECT_PACKET_ID
public static final int DISCONNECT_PACKET_ID- 另请参阅:
-
FAKE_PROTOCOL_VERSION
public static final int FAKE_PROTOCOL_VERSION- 另请参阅:
-
-
构造器详细资料
-
LegacyProtocolUtils
public LegacyProtocolUtils()
-
-
方法详细资料
-
writeLegacyString
-
readLegacyString
-