Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Team ¶
type Team struct {
Name qstring.QuakeString `json:"name"`
Players []qclient.Client `json:"players"`
}
func FromPlayers ¶
func (Team) MarshalJSON ¶
type TeamExport ¶
type TeamExport struct {
Name qstring.QuakeString `json:"name"`
NameColor string `json:"name_color"`
Frags int `json:"frags"`
Ping int `json:"ping"`
Colors [2]uint8 `json:"colors"`
Players []qclient.Client `json:"players"`
}
func Export ¶
func Export(t Team) TeamExport
Click to show internal directories.
Click to hide internal directories.