Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TitleDBEntry ¶
type TitleDBEntry struct { StringID string `json:"id"` Name string `json:"name"` ReleaseDate int `json:"releaseDate"` NumPlayers int `json:"numberOfPlayers"` IconURL string `json:"iconUrl"` BannerURL string `json:"bannerUrl"` ScreenshotURLs []string `json:"screenshots"` }
This is the stored set of data from the titledb json files We dont parse and store everything
type TitlesDB ¶
type TitlesDB struct {
// contains filtered or unexported fields
}
func CreateTitlesDB ¶
func (*TitlesDB) QueryGameFromTitleID ¶
func (db *TitlesDB) QueryGameFromTitleID(titleID uint64) (TitleDBEntry, bool)
func (*TitlesDB) UpdateTitlesDB ¶
func (db *TitlesDB) UpdateTitlesDB()
UpdateTitlesDB will sync latest titlesdb, then update the internal memory state
Click to show internal directories.
Click to hide internal directories.