API reference
API reference
Select your platform
No SDKs available
No versions available

ovr_Achievements_Unlock Function

Unlock the achievement with the given name. This can be of any achievement type.
A message with 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 *

Returns