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 *component.Gravestone) Gravestone
func (Gravestone) MarshalWire ¶ added in v0.15.0
func (c Gravestone) MarshalWire() ([]byte, error)
func (Gravestone) Name ¶
func (Gravestone) Name() string
func (Gravestone) ToProto ¶ added in v0.15.0
func (c Gravestone) ToProto() *component.Gravestone
func (Gravestone) UnmarshalWire ¶ added in v0.15.0
func (c Gravestone) UnmarshalWire(data []byte) (Gravestone, error)
type Health ¶
type Health struct {
HP int `json:"hp"`
}
func (Health) MarshalWire ¶ added in v0.15.0
Click to show internal directories.
Click to hide internal directories.