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

Implement UserAchievementIconFetched_t callback #171

Closed
LuisMayo opened this issue Apr 17, 2024 · 0 comments · Fixed by #174
Closed

Implement UserAchievementIconFetched_t callback #171

LuisMayo opened this issue Apr 17, 2024 · 0 comments · Fixed by #174

Comments

@LuisMayo
Copy link
Contributor

Currently the UserAchievementIconFetched_t callback cannot be handled.

This is a callback that runs when the achievement icon has been retrieved from the server. This callback is necessary because get_achievement_icon may not return the icon if Steam hasn't downloaded it from the server yet. So with this callback we should be able to wait for it until Steam finally has the data.

This is also how get_achievement_icon is supposed to work according to Steamworks Docs.
Implementing the function call without the callback itself (current situation) is just tossing a coin on whether the call will be successful or not.

Again, thanks a lot for this library <3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant