login

package
v1.3.4 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const ClientBoundDisconnectPacketID byte = 0x00
View Source
const ServerBoundLoginStartPacketID byte = 0x00

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientBoundDisconnect

type ClientBoundDisconnect struct {
	Reason protocol.Chat
}

func (ClientBoundDisconnect) Marshal

func (pk ClientBoundDisconnect) Marshal() protocol.Packet

type ServerLoginStart

type ServerLoginStart struct {
	Name protocol.String
}

func UnmarshalServerBoundLoginStart

func UnmarshalServerBoundLoginStart(packet protocol.Packet) (ServerLoginStart, error)

Jump to

Keyboard shortcuts

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