component

package
v0.16.8 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2026 License: LGPL-3.0 Imports: 3 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) 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) 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) 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) 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) 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) 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