configuration

package
v1.0.38 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientInformation

type ClientInformation struct {
	Locale              string
	ViewDistance        byte
	ChatMode            primitive.VarInt // TODO: enum
	ChatColors          bool
	DisplayedSkinParts  byte             // TODO: enum
	MainHand            primitive.VarInt // TODO: enum
	EnableTextFiltering bool
	AllowServerListings bool
}

func (*ClientInformation) PacketType added in v1.0.36

func (*ClientInformation) PacketType() string

type Finish

type Finish struct{}

func (*Finish) PacketType added in v1.0.36

func (*Finish) PacketType() string

type KeepAlive

type KeepAlive struct {
	ID int64
}

func (*KeepAlive) PacketType added in v1.0.36

func (*KeepAlive) PacketType() string

type PluginMessage

type PluginMessage struct {
	Channel primitive.Identifier
	Data    []byte
}

func (*PluginMessage) PacketType added in v1.0.36

func (*PluginMessage) PacketType() string

type Pong

type Pong struct {
	ID int64
}

func (*Pong) PacketType added in v1.0.36

func (*Pong) PacketType() string

type ResourcePackResponse

type ResourcePackResponse struct {
	Result primitive.VarInt // TODO: enum
}

func (*ResourcePackResponse) PacketType added in v1.0.36

func (*ResourcePackResponse) PacketType() string

Jump to

Keyboard shortcuts

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