block_general

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	StateKeyTypeString uint8 = iota
	StateKeyTypeInt32
	StateKeyTypeByte
)
View Source
const (
	UseNeteaseBlockStates    = true
	UseNetworkBlockRuntimeID = true
)

Variables

This section is empty.

Functions

This section is empty.

Types

type IndexBlockProperty

type IndexBlockProperty struct {
	KeyIndex uint32
	Value    []byte
}

func (*IndexBlockProperty) Marshal

func (i *IndexBlockProperty) Marshal(io protocol.IO)

type IndexBlockState

type IndexBlockState struct {
	BlockNameIndex  uint32
	BlockProperties []IndexBlockProperty
	VersionIndex    uint32
}

func (*IndexBlockState) Marshal

func (i *IndexBlockState) Marshal(io protocol.IO)

type StateKey

type StateKey struct {
	KeyNameIndex uint32
	KeyType      uint8
}

func (*StateKey) Marshal

func (s *StateKey) Marshal(io protocol.IO)

Jump to

Keyboard shortcuts

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