config

package
v0.36.4 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActiveFeatures

type ActiveFeatures struct {
	ActiveFeatures []key.Key
}

func (*ActiveFeatures) Decode

func (p *ActiveFeatures) Decode(c *proto.PacketContext, rd io.Reader) (err error)

func (*ActiveFeatures) Encode

func (p *ActiveFeatures) Encode(c *proto.PacketContext, wr io.Writer) error

type FinishedUpdate

type FinishedUpdate struct{}

func (*FinishedUpdate) Decode

func (p *FinishedUpdate) Decode(c *proto.PacketContext, rd io.Reader) (err error)

func (*FinishedUpdate) Encode

func (p *FinishedUpdate) Encode(c *proto.PacketContext, wr io.Writer) error

type RegistrySync

type RegistrySync struct {
	Data []byte
}

func (*RegistrySync) Decode

func (p *RegistrySync) Decode(c *proto.PacketContext, rd io.Reader) (err error)

func (*RegistrySync) Encode

func (p *RegistrySync) Encode(c *proto.PacketContext, wr io.Writer) error

type StartUpdate

type StartUpdate struct{}

func (*StartUpdate) Decode

func (p *StartUpdate) Decode(c *proto.PacketContext, rd io.Reader) (err error)

func (*StartUpdate) Encode

func (p *StartUpdate) Encode(c *proto.PacketContext, wr io.Writer) error

type TagsUpdate

type TagsUpdate struct {
	Tags map[string]map[string][]int
}

func (*TagsUpdate) Decode

func (p *TagsUpdate) Decode(c *proto.PacketContext, rd io.Reader) (err error)

func (*TagsUpdate) Encode

func (p *TagsUpdate) Encode(c *proto.PacketContext, wr io.Writer) error

Jump to

Keyboard shortcuts

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