EOS API reference page for EOS_Achievements_AddNotifyAchievementsUnlocked

This function is part of the Achievements Interface.


DEPRECATED! Use EOS_Achievements_AddNotifyAchievementsUnlockedV2 instead. Register to receive achievement unlocked notifications.

must call EOS_Achievements_RemoveNotifyAchievementsUnlocked to remove the notification

Return Value

handle representing the registered callback

See Also



Parameter Type And Name

Usage Information

EOS_HAchievements Handle

const EOS_Achievements_AddNotifyAchievementsUnlockedOptions* Options

Structure containing information about the achievement unlocked notification

void* ClientData

Arbitrary data that is passed back to you in the CompletionDelegate

const EOS_Achievements_OnAchievementsUnlockedCallback NotificationFn

A callback that is fired when an achievement unlocked notification for a user has been received

This function enables your callback (the NotificationFn parameter) to respond to events that happen on the back-end service. Remember to remove your callback function when it is no longer needed.