handletype

package
v0.0.0-...-011cc8f Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2019 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DistinguishPacket

func DistinguishPacket(pk *Packet, pl *Player) []byte

Types

type Authentication

type Authentication struct {
}

func (*Authentication) Handle

func (*Authentication) Handle(pk *Packet, pl *Player) []byte

type HandleMachine

type HandleMachine interface {
	Handle(*Packet, *Player) []byte
}

type Keeplive

type Keeplive struct {
}

func (*Keeplive) Handle

func (*Keeplive) Handle(pk *Packet, pl *Player) []byte

type PlayerMessage

type PlayerMessage struct {
}

func (*PlayerMessage) Handle

func (*PlayerMessage) Handle(pk *Packet, pl *Player) []byte

type UpdatePosition

type UpdatePosition struct {
}

func (*UpdatePosition) Handle

func (*UpdatePosition) Handle(pk *Packet, pl *Player) []byte

Jump to

Keyboard shortcuts

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