ovr_Achievements_Unlock ( const char * name ) |
ovrRequest ovr_Achievements_AddCount ( const char * name, unsigned long long count ) |
---|
Add 'count' to the achievement with the given name. This must be a COUNT achievement. The largest number that is supported by this method is the max value of a signed 64-bit integer. If the number is larger than that, it is clamped to that max value before being passed to the servers. A message with type ovrMessage_Achievements_AddCount 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(). |
ovrRequest ovr_Achievements_AddFields ( const char * name, const char * fields ) |
---|
Unlock fields of a BITFIELD achievement. Parameters
A message with type ovrMessage_Achievements_AddFields will be generated in response.name The name of the achievement to unlock fieldsA string containing either '0' or '1' characters. Every '1' will unlock the field in the corresponding position. 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(). |
ovrRequest ovr_Achievements_GetAllDefinitions ( ) |
---|
Request all achievement definitions for the app. A message with type ovrMessage_Achievements_GetAllDefinitions 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(). |
ovrRequest ovr_Achievements_GetAllProgress ( ) |
---|
Request the progress for the user on all achievements in the app. A message with type ovrMessage_Achievements_GetAllProgress 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(). |
ovrRequest ovr_Achievements_GetDefinitionsByName ( const char ** names, int count ) |
---|
Request the achievement definitions that match the specified names. A message with type 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(). |
ovrRequest ovr_Achievements_GetNextAchievementDefinitionArrayPage ( ovrAchievementDefinitionArrayHandle handle ) |
---|
Get the next page of entries A message with type ovrMessage_Achievements_GetNextAchievementDefinitionArrayPage 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(). |
ovrRequest ovr_Achievements_GetNextAchievementProgressArrayPage ( ovrAchievementProgressArrayHandle handle ) |
---|
Get the next page of entries A message with type ovrMessage_Achievements_GetNextAchievementProgressArrayPage 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(). |
ovrRequest ovr_Achievements_GetProgressByName ( const char ** names, int count ) |
---|
Request the user's progress on the specified achievements. A message with type 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(). |
ovrRequest ovr_Achievements_Unlock ( const char * name ) |
---|
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(). |