Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SteamUserStats()->ResetAllStats() #27

Closed
morgondag opened this issue Jul 15, 2015 · 1 comment
Closed

SteamUserStats()->ResetAllStats() #27

morgondag opened this issue Jul 15, 2015 · 1 comment

Comments

@morgondag
Copy link

Just wondering if you have implemented reset achievements?
like SteamUserStats()->ResetAllStats()

Or if its available some how though greenworks?
Its a convenient way in development to reset and test achievements triggers.

@hokein
Copy link
Member

hokein commented Jul 17, 2015

I have impemented some APIs to manipulate Steam achievements, will be available in next release.
You can use those API to reset all your achievements via

var achievements = greenworks.getAchievementNames();
for (var i = 0; i < achievements.length; ++i) {
   greenworks.clearAchievement(achievements[i], success_callback, error_callback);
}

I will merged this issue into #23 .

@hokein hokein closed this as completed Jul 17, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants