public interface IPacket<T extends INetHandler>
修飾子とタイプ | メソッドと説明 |
---|---|
void |
processPacket(T handler)
Passes this Packet on to the NetHandler for processing.
|
void |
readPacketData(PacketBuffer buf)
Reads the raw packet data from the data stream.
|
default boolean |
shouldSkipErrors() |
void |
writePacketData(PacketBuffer buf)
Writes the raw packet data to the data stream.
|
void readPacketData(PacketBuffer buf) throws java.io.IOException
java.io.IOException
void writePacketData(PacketBuffer buf) throws java.io.IOException
java.io.IOException
void processPacket(T handler)
default boolean shouldSkipErrors()