Achievements 
Vars | |
| all_achivements | Associated list of key -> achievement datum |
|---|---|
Procs | |
| handle_achievements_response | Handle the API response and grant achievements to the player |
| notify_achievement_unlocked | Notify a client that they've unlocked an achievement |
| on_client_login | Signal handler for when a client logs in |
| query_achievements_for_player | Queries the achievements API for a specific player |
| report_achievement_completed | Report that a player has completed an achievement to the backend |
Var Details
all_achivements 
Associated list of key -> achievement datum
Proc Details
handle_achievements_response
Handle the API response and grant achievements to the player
notify_achievement_unlocked
Notify a client that they've unlocked an achievement
on_client_login
Signal handler for when a client logs in
query_achievements_for_player
Queries the achievements API for a specific player
report_achievement_completed
Report that a player has completed an achievement to the backend