Documentation
¶
Overview ¶
Package region defines the game regions the desktop supports: USA, Europe and Japan. Each has a lower case code used by the library, the artwork and the settings. Every other region is not supported and is ignored wherever regions are shown or chosen.
Index ¶
Constants ¶
const ( US = "us" // USA EU = "eu" // Europe JP = "jp" // Japan )
The supported regions
Variables ¶
var All = []string{US, EU, JP}
All lists the supported regions in the order they are shown and preferred
Functions ¶
func Abbreviations ¶
Abbreviations returns region codes upper case and comma separated, such as "US, EU", or "" when there are none
func Code ¶
Code returns the supported region of a metadata region name, such as EU for "Germany", or "" when the region is not supported.
func Codes ¶
Codes returns the supported regions that a list of metadata region names belongs to, each once, in the order the names first reach them. USA, Germany and France give US, EU.
func DisplayName ¶
DisplayName returns the user-facing name of a supported region, such as "Europe" for EU, or "" for any other code.
Types ¶
This section is empty.