microsoft / gdk-unity-package

The Unity package for PC GDK developers.
Other
51 stars 18 forks source link

XblAchievementsManager API missing? Event-based achievements #107

Open TheSLAP opened 1 year ago

TheSLAP commented 1 year ago

I cannot find XblAchievementsManager API in the SDK at all. Is this something that will be added in the future?

In the meantime, is there a means to register to event-based achievement unlocks? Currently, I am just periodically checking all of the achievements to see if they have completed but surely there must be a way to subscribe to the telemetry callback when an event-based achievement is unlocked?

tculotta commented 1 year ago

We're not currently planning to bring XblAchievementsManager over to this plugin, but that may be something we consider in the future. But thank you for bringing this to our attention as there is a subscription option we would be able to add to this plugin in the future, XblAchievementsProgressChangeHandler. For now in Unity, you can continue to poll achievement progress as you are as long as you work within the service's rate limiting.

ghost commented 1 year ago

Any info about add XblAchievementsManager to the plugin?