This pull request implements the following new functions, along with their respective JSDoc documentation entries:
Achievement Progress
steam_indicate_achievement_progress
steam_get_achievement_progress_limits_int
steam_get_achievement_progress_limits_float
Global Stats
steam_get_number_of_current_players
Friend Rich Presence
steam_request_friend_rich_presence
steam_get_friend_rich_presence
steam_get_friend_rich_presence_key_count
steam_get_friend_rich_presence_key_by_index
As requested in issues #74 #75 #76 by @januaryonline
I couldn't properly test the progress stuff because Spacewar's "Win 100 games" achievement isn't actually linked to the NumWins stat, in fact, none of them are! So you must use a custom App ID to test those.
At least the global players count is retrieved just fine, oh well.
The rich presence getters can be useful to obtain the "connect" string off of a friend in a lobby, or custom keys that games can store for extended lobby info.
This pull request implements the following new functions, along with their respective JSDoc documentation entries:
Achievement Progress
Global Stats
Friend Rich Presence
As requested in issues #74 #75 #76 by @januaryonline
I couldn't properly test the progress stuff because Spacewar's "Win 100 games" achievement isn't actually linked to the NumWins stat, in fact, none of them are! So you must use a custom App ID to test those.
At least the global players count is retrieved just fine, oh well.
The rich presence getters can be useful to obtain the "connect" string off of a friend in a lobby, or custom keys that games can store for extended lobby info.