Documentation ¶
Index ¶
- type Protocol
- func (Protocol) ConvertFromLatest(pk packet.Packet, conn *minecraft.Conn) []packet.Packet
- func (Protocol) ConvertToLatest(pk packet.Packet, _ *minecraft.Conn) []packet.Packet
- func (Protocol) Encryption(key [32]byte) packet.Encryption
- func (Protocol) ID() int32
- func (Protocol) NewReader(r minecraft.ByteReader, shieldID int32, enableLimits bool) protocol.IO
- func (Protocol) NewWriter(w minecraft.ByteWriter, shieldID int32) protocol.IO
- func (Protocol) Packets(bool) packet.Pool
- func (Protocol) Ver() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Protocol ¶
type Protocol struct{}
Protocol represents the v1.12.0 Protocol implementation.
func (Protocol) ConvertFromLatest ¶
ConvertFromLatest ...
func (Protocol) ConvertToLatest ¶
ConvertToLatest ...
func (Protocol) Encryption ¶
func (Protocol) Encryption(key [32]byte) packet.Encryption
Encryption ...
Click to show internal directories.
Click to hide internal directories.