-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathserverList.go
26 lines (24 loc) · 1.04 KB
/
serverList.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
package types
type Server struct {
Advanced bool `json:"advanced"`
AntiCheatOn bool `json:"anti_cheat_on"`
BonusFrequency uint16 `json:"bonus_frequency"`
Country string `json:"country"`
CurrentMap string `json:"current_map"`
GameStyle string `json:"game_style"`
IP string `json:"ip"`
Info string `json:"info"`
MaxPlayers uint8 `json:"max_players"`
Name string `json:"name"`
NumBots uint8 `json:"num_bots"`
OS string `json:"os"`
Players []string `json:"players"`
Port uint16 `json:"port"`
Private bool `json:"private"`
Realistic bool `json:"realistic"`
Respawn uint32 `json:"respawn"`
Survival bool `json:"survival"`
Version string `json:"version"`
WM bool `json:"wm"`
UpdatedAt int64 `json:"-"`
}