Documentation ¶
Overview ¶
Package xonotic handles interoperation with Xonotic game servers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrInvalidFormat = errors.New("xonotic: invalid server reply")
)
Various errors this library can throw
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is a rcon client for Xonotic.
type Status ¶
type Status struct { GameName string `json:"gamename"` ModName string `json:"modname"` GameVersion string `json:"gameversion"` MaxClients int `json:"maxclients"` Clients int `json:"clients"` Bots int `json:"bots"` Mapname string `json:"mapname"` Hostname string `json:"hostname"` QCStatus string `json:"qcstatus"` }
Click to show internal directories.
Click to hide internal directories.