Documentation ¶
Index ¶
- Variables
- func Downgrade(pks []gtpacket.Packet, conn *minecraft.Conn) []gtpacket.Packet
- func Upgrade(pks []gtpacket.Packet, conn *minecraft.Conn) []gtpacket.Packet
- type Protocol
- func (Protocol) ConvertFromLatest(pk gtpacket.Packet, conn *minecraft.Conn) []gtpacket.Packet
- func (Protocol) ConvertToLatest(pk gtpacket.Packet, conn *minecraft.Conn) []gtpacket.Packet
- func (Protocol) Encryption(key [32]byte) gtpacket.Encryption
- func (Protocol) ID() int32
- func (Protocol) NewReader(r minecraft.ByteReader, shieldID int32, enableLimits bool) protocol.IO
- func (Protocol) NewWriter(r minecraft.ByteWriter, shieldID int32) protocol.IO
- func (Protocol) Packets(listener bool) gtpacket.Pool
- func (Protocol) Ver() string
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Mapping mappings.MVMapping
)
Functions ¶
Types ¶
type Protocol ¶
type Protocol struct{}
func (Protocol) ConvertFromLatest ¶
func (Protocol) ConvertToLatest ¶
func (Protocol) Encryption ¶
func (Protocol) Encryption(key [32]byte) gtpacket.Encryption
Click to show internal directories.
Click to hide internal directories.