component

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2026 License: LGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Gravestone

type Gravestone struct {
	Nickname string `json:"nickname"`
}

func (Gravestone) AppendWire added in v0.16.9

func (c Gravestone) AppendWire(b []byte) []byte

func (Gravestone) FromProto added in v0.15.0

func (c Gravestone) FromProto(p *pbcomponent.Gravestone) Gravestone

func (Gravestone) MarshalWire added in v0.15.0

func (c Gravestone) MarshalWire() []byte

func (Gravestone) Name

func (Gravestone) Name() string

func (Gravestone) ProtoDescriptor added in v0.16.4

func (c Gravestone) ProtoDescriptor() protoreflect.MessageDescriptor

func (Gravestone) SizeWire added in v0.16.9

func (c Gravestone) SizeWire() int

func (Gravestone) ToProto added in v0.15.0

func (c Gravestone) ToProto() *pbcomponent.Gravestone

func (Gravestone) UnmarshalWire added in v0.15.0

func (c Gravestone) UnmarshalWire(data []byte) (any, error)

type Health

type Health struct {
	HP int `json:"hp"`
}

func (Health) AppendWire added in v0.16.9

func (c Health) AppendWire(b []byte) []byte

func (Health) FromProto added in v0.15.0

func (c Health) FromProto(p *pbcomponent.Health) Health

func (Health) MarshalWire added in v0.15.0

func (c Health) MarshalWire() []byte

func (Health) Name

func (Health) Name() string

func (Health) ProtoDescriptor added in v0.16.4

func (c Health) ProtoDescriptor() protoreflect.MessageDescriptor

func (Health) SizeWire added in v0.16.9

func (c Health) SizeWire() int

func (Health) ToProto added in v0.15.0

func (c Health) ToProto() *pbcomponent.Health

func (Health) UnmarshalWire added in v0.15.0

func (c Health) UnmarshalWire(data []byte) (any, error)

type PlayerTag

type PlayerTag struct {
	Nickname string `json:"nickname"`
}

func (PlayerTag) AppendWire added in v0.16.9

func (c PlayerTag) AppendWire(b []byte) []byte

func (PlayerTag) FromProto added in v0.15.0

func (c PlayerTag) FromProto(p *pbcomponent.PlayerTag) PlayerTag

func (PlayerTag) MarshalWire added in v0.15.0

func (c PlayerTag) MarshalWire() []byte

func (PlayerTag) Name

func (PlayerTag) Name() string

func (PlayerTag) ProtoDescriptor added in v0.16.4

func (c PlayerTag) ProtoDescriptor() protoreflect.MessageDescriptor

func (PlayerTag) SizeWire added in v0.16.9

func (c PlayerTag) SizeWire() int

func (PlayerTag) ToProto added in v0.15.0

func (c PlayerTag) ToProto() *pbcomponent.PlayerTag

func (PlayerTag) UnmarshalWire added in v0.15.0

func (c PlayerTag) UnmarshalWire(data []byte) (any, error)

Jump to

Keyboard shortcuts

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