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

ovr_Achievements_GetProgressByName Function

Retrieve the user's progress on the achievements that match the specified names. ovrMessage_Achievements_GetProgressByName 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 ovrAchievementProgressArrayHandle. Extract the payload from the message handle with ovr_Message_GetAchievementProgressArray().

Signature

ovrRequest ovr_Achievements_GetProgressByName(const char **names, int count)

Parameters

names: const char ** The api_names of the achievements used to retrieve the progress information, which can be retrieved by ovr_AchievementDefinition_GetName().
count: int The number of specified achievements names.

Returns