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

ovr_Achievements_GetDefinitionsByName Function

Retrieve the achievement definitions that match the specified names, including their name, unlock requirements, and any additional details. ovrMessage_Achievements_GetDefinitionsByName 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 ovrAchievementDefinitionArrayHandle. Extract the payload from the message handle with ovr_Message_GetAchievementDefinitionArray().

Signature

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

Parameters

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

Returns