Documentation ¶
Index ¶
- Variables
- func LoadLobbySettings(data []byte) error
- func LoadLobbySettingsFromFile(fileName string) error
- func LobbySettingsToJSON() *simplejson.Json
- type LobbyFormat
- type LobbyLeague
- type LobbyLeagueDescription
- type LobbyLeagueFormat
- type LobbyMap
- type LobbyMapFormat
- type LobbyWhitelist
- type MapType
Constants ¶
This section is empty.
Variables ¶
View Source
var LobbyFormats []LobbyFormat
View Source
var LobbyLeagues []LobbyLeague
View Source
var LobbyMaps []LobbyMap
View Source
var LobbyWhitelists []LobbyWhitelist
Functions ¶
func LoadLobbySettings ¶
func LobbySettingsToJSON ¶
func LobbySettingsToJSON() *simplejson.Json
Types ¶
type LobbyFormat ¶
type LobbyFormat struct { //gorm.Model -- not in a database yet Name string PrettyName string Important bool }
func GetLobbyFormat ¶
func GetLobbyFormat(formatName string) (*LobbyFormat, bool)
type LobbyLeague ¶
type LobbyLeague struct { //gorm.Model -- not in a database yet Name string PrettyName string Descriptions []*LobbyLeagueDescription `gorm:"many2many:lobby_league_descriptions"` Formats []*LobbyLeagueFormat `gorm:"many2many:lobby_league_formats"` }
func GetLobbyLeague ¶
func GetLobbyLeague(leagueName string) (*LobbyLeague, bool)
type LobbyLeagueDescription ¶
type LobbyLeagueFormat ¶
type LobbyLeagueFormat struct { //gorm.Model -- not in a database yet Format *LobbyFormat Used bool }
type LobbyMap ¶
type LobbyMap struct { //gorm.Model -- not in a database yet Name string Formats []*LobbyMapFormat `gorm:"many2many:lobby_map_formats"` }
func GetLobbyMap ¶
type LobbyMapFormat ¶
type LobbyMapFormat struct { //gorm.Model -- not in a database yet Format *LobbyFormat Importance int }
type LobbyWhitelist ¶
type LobbyWhitelist struct { //gorm.Model -- not in a database yet ID int PrettyName string League *LobbyLeague Format *LobbyFormat }
func GetLobbyWhitelist ¶
func GetLobbyWhitelist(whitelistId int) (*LobbyWhitelist, bool)
Click to show internal directories.
Click to hide internal directories.