Documentation ¶
Index ¶
- type Protocol
- func (p Protocol) ConvertFromLatest(pk packet.Packet, conn *minecraft.Conn) (result []packet.Packet)
- func (p Protocol) ConvertToLatest(pk packet.Packet, conn *minecraft.Conn) []packet.Packet
- func (Protocol) Encryption(key [32]byte) packet.Encryption
- func (p 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 (p Protocol) Ver() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Protocol ¶
type Protocol struct {
// contains filtered or unexported fields
}
func (Protocol) ConvertFromLatest ¶
func (Protocol) ConvertToLatest ¶
func (Protocol) Encryption ¶
func (Protocol) Encryption(key [32]byte) packet.Encryption
Click to show internal directories.
Click to hide internal directories.