Documentation ¶
Index ¶
- Variables
- func GetSupportedLanguages(countryCode uint8) common.LanguageFlag
- func GetSupportedLanguagesForRegion(region uint32) []uint32
- func MakeAddition() error
- func MakeFirst() error
- type Addition
- type AdditionHeader
- type Child
- type CountryField
- type Entry
- type First
- type Languages
- type MarqueeField
- type Root
- type SkillField
Constants ¶
This section is empty.
Variables ¶
View Source
var AdditionJson []byte
Functions ¶
func GetSupportedLanguages ¶
func GetSupportedLanguages(countryCode uint8) common.LanguageFlag
func MakeAddition ¶
func MakeAddition() error
Types ¶
type Addition ¶
type Addition struct { Header AdditionHeader Countries []CountryField Skills []SkillField MarqueeField MarqueeField }
type AdditionHeader ¶
type CountryField ¶
type First ¶
type First struct { Type common.ListTag DiscontinuedFlag uint8 CountryCode uint8 Padding [8]byte Tag common.ListTag TagSize uint16 Unk uint32 CountryGroup uint8 /* 3rd lowest bits are unknown 4th bit: Marquee Text 3rd bit: Re-enable initials 2nd bit: Disable initials 1st bit: Show Mii Artisan 0th bit: Show number of Miis in Posting Plaza */ FirstBitField uint8 /* The below toggle the languages available for the message board service. 7th bit: Unknown 6th bit: Dutch 5th bit: Italian 4th bit: Spanish 3rd bit: French 2nd bit: German 1st bit: English 0th bit: Japanese */ SecondBitField common.LanguageFlag // contains filtered or unexported fields }
type Languages ¶
type Languages struct { Japanese *Entry `json:"0"` English *Entry `json:"1"` German *Entry `json:"2"` French *Entry `json:"3"` Spanish *Entry `json:"4"` Italian *Entry `json:"5"` Dutch *Entry `json:"6"` }
func (*Languages) GetLanguageFromJSON ¶
type MarqueeField ¶
Click to show internal directories.
Click to hide internal directories.