mv662

package
v0.0.0-...-b1a0a32 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 4, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Mapping mappings.MVMapping
)

Functions

func Downgrade

func Downgrade(pks []gtpacket.Packet, conn *minecraft.Conn) []gtpacket.Packet

func Upgrade

func Upgrade(pks []gtpacket.Packet, conn *minecraft.Conn) []gtpacket.Packet

Types

type Protocol

type Protocol struct{}

func (Protocol) ConvertFromLatest

func (Protocol) ConvertFromLatest(pk gtpacket.Packet, conn *minecraft.Conn) []gtpacket.Packet

func (Protocol) ConvertToLatest

func (Protocol) ConvertToLatest(pk gtpacket.Packet, conn *minecraft.Conn) []gtpacket.Packet

func (Protocol) Encryption

func (Protocol) Encryption(key [32]byte) gtpacket.Encryption

func (Protocol) ID

func (Protocol) ID() int32

func (Protocol) NewReader

func (Protocol) NewReader(r minecraft.ByteReader, shieldID int32, enableLimits bool) protocol.IO

func (Protocol) NewWriter

func (Protocol) NewWriter(r minecraft.ByteWriter, shieldID int32) protocol.IO

func (Protocol) Packets

func (Protocol) Packets(listener bool) gtpacket.Pool

func (Protocol) Ver

func (Protocol) Ver() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL