API reference

ovr_Achievements_Unlock Function

Unlock the achievement with the given name. This can be of any achievement type. ovrMessage_Achievements_Unlock will be generated in response.
First call ovr_Message_IsError() to check if an error occurred.
If no error occurred, the message will contain a payload of type ovrAchievementUpdateHandle. Extract the payload from the message handle with ovr_Message_GetAchievementUpdate().

Signature

ovrRequest ovr_Achievements_Unlock(const char *name)

Parameters

name: const char * The api_name of the achievement that will be unlocked.

Returns