Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetMinScore ¶
func GetMinScore() int
func UpdateAchievements ¶
func UpdateAchievements(data *AchievementData)
func UpdateLeaderboard ¶
Types ¶
type AchievementData ¶
type AchievementData struct { Username string TotalScore int HighScore int Spikes int Resources int Creatures int Bitmap uint32 // Bitmap corresponding to locked/unlocked achievements }
func GetAchievements ¶
func GetAchievements(username string) *AchievementData
type Leaderboard ¶
func GetAllRows ¶
func GetAllRows() *Leaderboard
Click to show internal directories.
Click to hide internal directories.