Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SortPlayers ¶ added in v0.1.35
func SortPlayers(players []Client)
Types ¶
type Client ¶
type Client struct {
Name qstring.QuakeString
Team qstring.QuakeString
Skin string
Colors [2]uint8
Frags int
Ping int
Time uint8
CC string
}
func NewFromString ¶
func NewFromStrings ¶
func (Client) IsSpectator ¶ added in v0.1.10
func (Client) MarshalJSON ¶ added in v0.1.21
type ClientExport ¶ added in v0.1.21
type ClientExport struct {
Name qstring.QuakeString
NameColor string
Team qstring.QuakeString
TeamColor string
Skin string
Colors [2]uint8
Frags int
Ping int
Time uint8
CC string
IsBot bool
}
func Export ¶ added in v0.1.21
func Export(client Client) ClientExport
Click to show internal directories.
Click to hide internal directories.