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

ovr_Achievements_GetDefinitionsByName Function

Request the achievement definitions that match the specified names. 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(ovr_AchievementDefinition_GetName()) of the achievements used to retrieve the definition information.
count: int The number of specified achievements names.

Returns