Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PlayerListItem ¶
type PlayerListItem struct { Action PlayerListItemAction Items []PlayerListItemEntry PlayerKey crypto.IdentifiedKey // 1.19+ }
func (*PlayerListItem) Decode ¶
func (p *PlayerListItem) Decode(c *proto.PacketContext, rd io.Reader) (err error)
func (*PlayerListItem) Encode ¶
func (p *PlayerListItem) Encode(c *proto.PacketContext, wr io.Writer) (err error)
type PlayerListItemAction ¶
type PlayerListItemAction int
const ( AddPlayerListItemAction PlayerListItemAction = iota UpdateGameModePlayerListItemAction UpdateLatencyPlayerListItemAction UpdateDisplayNamePlayerListItemAction RemovePlayerListItemAction )
Click to show internal directories.
Click to hide internal directories.