EOS_Achievements_AddNotifyAchievementsUnlocked

EOS API reference page for EOS_Achievements_AddNotifyAchievementsUnlocked

Choose your implementation method:

C

C#

This function is part of the Achievements Interface.

Remarks

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

EOS_Achievements_RemoveNotifyAchievementsUnlocked

Parameters

EOS_Achievements_AddNotifyAchievementsUnlocked

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.

This function is part of the Achievements Interface.

Remarks

DEPRECATED! Use {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

{RemoveNotifyAchievementsUnlocked}

Parameters

Achievements.AchievementsInterface.AddNotifyAchievementsUnlocked

Parameter Type And Name

Usage Information

AddNotifyAchievementsUnlockedOptions options

Structure containing information about the achievement unlocked notification

object clientData

Arbitrary data that is passed back to you in the CompletionDelegate

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.